--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Wed Sep 18 04:02:13 2013 +0300
@@ -5,14 +5,6 @@
-- planet and above the planets that he'll later
-- visit.
--- TODO
--- Save and Load All Check Points
--- Save hero health
--- Decide and implement if hero will use gas bombs...
--- ofc add custom stats page
--- PROBLEM : What if one makes a bad choice and wants to replay it map, how to reset?
--- POSSIBLE SOLUTIONS: In game function keys, frontend button...
-
HedgewarsScriptLoad("/Scripts/Locale.lua")
HedgewarsScriptLoad("/Scripts/Animate.lua")
HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
@@ -280,7 +272,6 @@
return false
end
--- TODO somehow make it to count fall damage
function onMoonLanding(gear)
if GetHealth(hero.gear) and GetX(gear) > 1010 and GetX(gear) < 1220 and GetY(gear) < 1300 and GetY(gear) > 750 and StoppedGear(gear) then
return true
@@ -338,7 +329,7 @@
return false
end
--------------- OUTCOMES ------------------
+-------------- ACTIONS ------------------
function heroBeforeTreePosition(gear)
AnimSay(gear,loc("Now I have to climb these trees"), SAY_SAY, 4000)
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua Wed Sep 18 04:02:13 2013 +0300
@@ -5,9 +5,6 @@
-- crates. It is told that one crate contains the
-- lost part.
--- TODO
--- maybe use same name in missionName and frontend mission name..
--- GENERAL NOTE: change hats :D
-- Idea: game will be successfully end when the 2 lower crates are collected
-- it would be more defficult (and sadistic) if one should collect *all* the crates
@@ -348,7 +345,7 @@
return false
end
--------------- OUTCOMES ------------------
+-------------- ACTIONS ------------------
function heroDeath(gear)
SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert02.lua Wed Sep 18 04:02:13 2013 +0300
@@ -136,7 +136,7 @@
return false
end
--------------- OUTCOMES ------------------
+-------------- ACTIONS ------------------
function heroDeath(gear)
SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit01.lua Wed Sep 18 04:02:13 2013 +0300
@@ -4,10 +4,6 @@
-- to search for the missing part. However, a war
-- has broke out and hero has to take part or leave.
--- TODO:
--- * remove unwanted delay after first dialog
--- * check strings
--- * rethink the difficulty level
-- NOTES:
-- There is an ugly hack out there! I use 2 Captain Limes
-- One in human level and one in bot level
@@ -319,7 +315,7 @@
return false
end
--------------- OUTCOMES ------------------ I should really s/OUTCOMES/ACTIONS/
+-------------- ACTIONS ------------------
function heroDeath(gear)
gameLost()
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua Wed Sep 18 04:02:13 2013 +0300
@@ -5,10 +5,6 @@
-- knows where the device is hidden. Hero will be
-- able to use only the ice gun for this mission.
--- TODO
--- TEST TEST AND MORE TEST
--- fix the stats
-
HedgewarsScriptLoad("/Scripts/Locale.lua")
HedgewarsScriptLoad("/Scripts/Animate.lua")
HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
@@ -395,7 +391,7 @@
return false
end
--------------- OUTCOMES ------------------
+-------------- ACTIONS ------------------
function antiFlyArea(gear)
heroAtAntiFlyArea = true
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice02.lua Wed Sep 18 04:02:13 2013 +0300
@@ -166,7 +166,7 @@
return false
end
--------------- OUTCOMES ------------------
+-------------- ACTIONS ------------------
function heroDeath(gear)
heroLost()
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua Wed Sep 18 03:53:47 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua Wed Sep 18 04:02:13 2013 +0300
@@ -7,14 +7,6 @@
-- So hero has to get whatever available equipement
-- there is and rescue them.
--- TODO
--- Fix some glitches when gaining control on animations, on skip I get control of the talking hog
--- Round time after check point 2
--- Check if enemy weapons are good
--- Stats
--- check points
--- add a dialog at the end and second event if all minions are dead
-
HedgewarsScriptLoad("/Scripts/Locale.lua")
HedgewarsScriptLoad("/Scripts/Animate.lua")
HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
@@ -315,7 +307,7 @@
return false
end
--------------- OUTCOMES ------------------
+-------------- ACTIONS ------------------
function weaponsPlatform(gear)
saveCheckpoint("2")