share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua
branchspacecampaign
changeset 9639 6b2ae2eaf1b2
parent 9616 df14425d9e4c
child 9640 a6a903a6c2b3
equal deleted inserted replaced
9638:9db28f0a3f8a 9639:6b2ae2eaf1b2
     4 -- Here he'll get fuels to continue traveling.
     4 -- Here he'll get fuels to continue traveling.
     5 -- However, the PAoTH allies of the hero have
     5 -- However, the PAoTH allies of the hero have
     6 -- been taken hostages by professor Hogevil.
     6 -- been taken hostages by professor Hogevil.
     7 -- So hero has to get whatever available equipement
     7 -- So hero has to get whatever available equipement
     8 -- there is and rescue them.
     8 -- there is and rescue them.
     9 
       
    10 -- TODO
       
    11 -- Fix some glitches when gaining control on animations, on skip I get control of the talking hog
       
    12 -- Round time after check point 2
       
    13 -- Check if enemy weapons are good
       
    14 -- Stats
       
    15 -- check points
       
    16 -- add a dialog at the end and second event if all minions are dead
       
    17 
     9 
    18 HedgewarsScriptLoad("/Scripts/Locale.lua")
    10 HedgewarsScriptLoad("/Scripts/Locale.lua")
    19 HedgewarsScriptLoad("/Scripts/Animate.lua")
    11 HedgewarsScriptLoad("/Scripts/Animate.lua")
    20 HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
    12 HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
    21 
    13 
   313 		return true
   305 		return true
   314 	end
   306 	end
   315 	return false
   307 	return false
   316 end
   308 end
   317 
   309 
   318 -------------- OUTCOMES ------------------
   310 -------------- ACTIONS ------------------
   319 
   311 
   320 function weaponsPlatform(gear)
   312 function weaponsPlatform(gear)
   321 	saveCheckpoint("2")
   313 	saveCheckpoint("2")
   322 	SaveCampaignVar("HeroHealth",GetHealth(hero.gear))
   314 	SaveCampaignVar("HeroHealth",GetHealth(hero.gear))
   323 	TurnTimeLeft = 0
   315 	TurnTimeLeft = 0