--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/campaign.ini Mon Jul 01 23:23:22 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/campaign.ini Thu Jul 04 01:36:49 2013 +0300
@@ -6,7 +6,7 @@
Script=cosmos.lua
[Mission 2]
-Name=Moon:The First Stop
+Name=The First Stop
Script=moon01.lua
[Mission 3]
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Mon Jul 01 23:23:22 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/cosmos.lua Thu Jul 04 01:36:49 2013 +0300
@@ -293,7 +293,9 @@
WriteLnToConsole("MOON LANDING, HOORAY!")
AnimCaption(hero.gear,loc("Welcome to the moon!"))
SaveCampaignVar("CosmosCheckPoint", "4")
- SaveCampaignVar("Planet", "moon")
+ SaveCampaignVar("UnlockedMissions", "2")
+ SaveCampaignVar("Mission1", "2")
+ SaveCampaignVar("Mission2", "1")
EndGame()
end
Binary file share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.hwp has changed
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua Mon Jul 01 23:23:22 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/moon01.lua Thu Jul 04 01:36:49 2013 +0300
@@ -0,0 +1,24 @@
+HedgewarsScriptLoad("/Scripts/Locale.lua")
+HedgewarsScriptLoad("/Scripts/Animate.lua")
+
+----------------- VARIABLES --------------------
+
+
+-------------- LuaAPI EVENT HANDLERS ------------------
+
+function onGameInit()
+ Seed = 1
+ GameFlags = gfInfAttack + gfSolidLand + gfDisableWind
+ TurnTime = 100000
+ CaseFreq = 0
+ MinesNum = 0
+ MinesTime = 3000
+ Explosives = 0
+ Delay = 10
+ Map = "moon01_map"
+ Theme = "Cheese"
+end
+
+function onGameStart()
+
+end