share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
branchspacecampaign
changeset 9639 6b2ae2eaf1b2
parent 9629 1655c50d9c51
child 9642 8a691e0f117a
equal deleted inserted replaced
9638:9db28f0a3f8a 9639:6b2ae2eaf1b2
     2 --
     2 --
     3 -- In this cold planet hero seeks for a part of the
     3 -- In this cold planet hero seeks for a part of the
     4 -- antigravity device. He has to capture Thanta who
     4 -- antigravity device. He has to capture Thanta who
     5 -- knows where the device is hidden. Hero will be
     5 -- knows where the device is hidden. Hero will be
     6 -- able to use only the ice gun for this mission.
     6 -- able to use only the ice gun for this mission.
     7 
       
     8 -- TODO
       
     9 -- TEST TEST AND MORE TEST
       
    10 -- fix the stats
       
    11 
     7 
    12 HedgewarsScriptLoad("/Scripts/Locale.lua")
     8 HedgewarsScriptLoad("/Scripts/Locale.lua")
    13 HedgewarsScriptLoad("/Scripts/Animate.lua")
     9 HedgewarsScriptLoad("/Scripts/Animate.lua")
    14 HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
    10 HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
    15 
    11 
   393 		return true
   389 		return true
   394 	end
   390 	end
   395 	return false
   391 	return false
   396 end
   392 end
   397 
   393 
   398 -------------- OUTCOMES ------------------
   394 -------------- ACTIONS ------------------
   399 
   395 
   400 function antiFlyArea(gear)
   396 function antiFlyArea(gear)
   401 	heroAtAntiFlyArea = true
   397 	heroAtAntiFlyArea = true
   402 	if TurnTimeLeft < -1 then
   398 	if TurnTimeLeft < -1 then
   403 		heroVisitedAntiFlyArea = true
   399 		heroVisitedAntiFlyArea = true