Skip to content

Commit

Permalink
Scenarios: adjust identifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
capt-t authored and daid committed Nov 23, 2020
1 parent 3ef5fa8 commit b9d2c93
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scripts/scenario_01_quick_basic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Variation[GM Start]: The scenario is not started until the GM gives the start sign. This gives some time for a new crew to get a feeling for the controls before the actual scenario starts.

--- Scenario
-- @script scenario_07_quick_basic
-- @script scenario_01_quick_basic

-- Import:
-- vectorFromAngle(angle, length)
Expand Down
2 changes: 1 addition & 1 deletion scripts/scenario_02_surrounded.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- Type: Basic

--- Scenario
-- @script scenario_05_surrounded
-- @script scenario_02_surrounded

function setCirclePos(obj, angle, distance)
obj:setPosition(math.sin(angle / 180 * math.pi) * distance, -math.cos(angle / 180 * math.pi) * distance)
Expand Down
2 changes: 1 addition & 1 deletion scripts/scenario_03_waves.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Variation[Easy]: Makes each wave easier by decreasing the number of ships in each wave. (Takes longer for the players to be overwhelmed; good for new players.)

--- Scenario
-- @script scenario_01_waves
-- @script scenario_03_waves

require("utils.lua")
-- For this scenario, utils.lua provides:
Expand Down
2 changes: 1 addition & 1 deletion scripts/scenario_05_beacon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
-- Type: Mission

--- Scenario
-- @script scenario_02_beacon
-- @script scenario_05_beacon

--- Init is run when the scenario is started. Create your initial world.
function init()
Expand Down
2 changes: 1 addition & 1 deletion scripts/scenario_06_edgeofspace.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Author: Visjammer

--- Scenario
-- @script scenario_03_edgeofspace
-- @script scenario_06_edgeofspace

--- Init is run when the scenario is started. Create your initial world.
function init()
Expand Down
2 changes: 1 addition & 1 deletion scripts/scenario_07_gftp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
-- Author: Fouindor

--- Scenario
-- @script scenario_04_gftp
-- @script scenario_07_gftp

function init()
-- Spawn Marco Polo, its defenders and a Ktilitian strike team
Expand Down
2 changes: 1 addition & 1 deletion scripts/scenario_99_battlefield.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-- Variation[Huge]: Huge battle, normally it's about 30 vs 30 ships. This increases this to 500 vs 500 ships.

--- Scenario
-- @script scenario_06_battlefield
-- @script scenario_99_battlefield

function setCirclePos(obj, x, y, angle, distance)
obj:setPosition(x + math.sin(angle / 180 * math.pi) * distance, y + -math.cos(angle / 180 * math.pi) * distance)
Expand Down

0 comments on commit b9d2c93

Please sign in to comment.