share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
branchspacecampaign
changeset 9639 6b2ae2eaf1b2
parent 9632 9dd1c36d8b54
child 9642 8a691e0f117a
equal deleted inserted replaced
9638:9db28f0a3f8a 9639:6b2ae2eaf1b2
     3 -- In the desert planet Hero will have to explore
     3 -- In the desert planet Hero will have to explore
     4 -- the dunes below the surface and find the hidden
     4 -- the dunes below the surface and find the hidden
     5 -- crates. It is told that one crate contains the
     5 -- crates. It is told that one crate contains the
     6 -- lost part.
     6 -- lost part.
     7 
     7 
     8 -- TODO
       
     9 -- maybe use same name in missionName and frontend mission name..
       
    10 -- GENERAL NOTE: change hats :D
       
    11 -- Idea: game will be successfully end when the 2 lower crates are collected
     8 -- Idea: game will be successfully end when the 2 lower crates are collected
    12 -- it would be more defficult (and sadistic) if one should collect *all* the crates
     9 -- it would be more defficult (and sadistic) if one should collect *all* the crates
    13 
    10 
    14 HedgewarsScriptLoad("/Scripts/Locale.lua")
    11 HedgewarsScriptLoad("/Scripts/Locale.lua")
    15 HedgewarsScriptLoad("/Scripts/Animate.lua")
    12 HedgewarsScriptLoad("/Scripts/Animate.lua")
   346 		return true
   343 		return true
   347 	end
   344 	end
   348 	return false
   345 	return false
   349 end
   346 end
   350 
   347 
   351 -------------- OUTCOMES ------------------
   348 -------------- ACTIONS ------------------
   352 
   349 
   353 function heroDeath(gear)
   350 function heroDeath(gear)
   354 	SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1
   351 	SendStat('siGameResult', loc("Hog Solo lost, try again!")) --1
   355 	SendStat('siCustomAchievement', loc("To win the game you have to find the right crate")) --11
   352 	SendStat('siCustomAchievement', loc("To win the game you have to find the right crate")) --11
   356 	SendStat('siCustomAchievement', loc("You can avoid some battles")) --11
   353 	SendStat('siCustomAchievement', loc("You can avoid some battles")) --11