share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua
branchspacecampaign
changeset 9484 a63307092bc6
parent 9467 483a73697535
child 9572 278cff2a965f
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua	Wed Aug 07 04:06:52 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua	Wed Aug 07 23:27:40 2013 +0300
@@ -333,6 +333,13 @@
 function fruitPlanetLanding(gear)
 	if checkPointReached < 5 then
 		AddAnim(dialog06)
+	else		
+		AnimCaption(hero.gear,loc("Welcome to the fruit planet!"))
+		SaveCampaignVar("Planet", "fruitPlanet")
+		SaveCampaignVar("UnlockedMissions", "2")
+		SaveCampaignVar("Mission1", "3")
+		SaveCampaignVar("Mission2", "1")
+		EndGame()
 	end
 end