share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
branchspacecampaign
changeset 9605 66cd14e5bdad
parent 9601 6af4ca27421a
child 9611 ef374528a9fb
equal deleted inserted replaced
9604:edc1785487c3 9605:66cd14e5bdad
   382 	if checkPointReached < 5 then
   382 	if checkPointReached < 5 then
   383 		AddAnim(dialog06)
   383 		AddAnim(dialog06)
   384 	else		
   384 	else		
   385 		AnimCaption(hero.gear,loc("Welcome to the Desert Planet!"))
   385 		AnimCaption(hero.gear,loc("Welcome to the Desert Planet!"))
   386 		SaveCampaignVar("Planet", "desertPlanet")
   386 		SaveCampaignVar("Planet", "desertPlanet")
   387 		SaveCampaignVar("UnlockedMissions", "3")
   387 		SaveCampaignVar("UnlockedMissions", "4")
   388 		SaveCampaignVar("Mission1", "4")
   388 		SaveCampaignVar("Mission1", "4")
   389 		SaveCampaignVar("Mission2", "7")
   389 		SaveCampaignVar("Mission2", "7")
   390 		SaveCampaignVar("Mission3", "1")
   390 		SaveCampaignVar("Mission3", "12")
       
   391 		SaveCampaignVar("Mission4", "1")
   391 		sendStats(loc("the Desert Planet"))
   392 		sendStats(loc("the Desert Planet"))
   392 	end
   393 	end
   393 end
   394 end
   394 
   395 
   395 function icePlanetLanding(gear)
   396 function icePlanetLanding(gear)