share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua
branchspacecampaign
changeset 9578 16139270448f
parent 9574 da3d39667881
child 9582 bf314b2258b3
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua	Mon Aug 26 02:08:11 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/fruit02.lua	Mon Aug 26 06:13:36 2013 +0300
@@ -5,6 +5,7 @@
 
 HedgewarsScriptLoad("/Scripts/Locale.lua")
 HedgewarsScriptLoad("/Scripts/Animate.lua")
+HedgewarsScriptLoad("/Missions/Campaign/A_Space_Adventure/global_functions.lua")
 
 ----------------- VARIABLES --------------------
 -- globals
@@ -420,6 +421,7 @@
 
 function captainLimeDeath(gear)
 	-- hero win in scenario of escape in 1st part
+	saveCompletedStatus(3)
 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
 	SendStat('siCustomAchievement', loc("You retrieved the lost part")) --11
 	SendStat('siCustomAchievement', loc("You defended yourself against Captain Lime")) --11
@@ -430,6 +432,7 @@
 
 function redTeamDeath(gear)
 	-- hero win in battle scenario
+	saveCompletedStatus(3)
 	SendStat('siGameResult', loc("Congratulations, you won!")) --1
 	SendStat('siCustomAchievement', loc("You retrieved the lost part")) --11
 	SendStat('siCustomAchievement', loc("You defended yourself against Strawberry Assasins")) --11