--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Missions/Training/ClimbHome.lua Fri Sep 26 22:20:12 2014 -0400
@@ -0,0 +1,22 @@
+HedgewarsScriptLoad("/Scripts/Locale.lua")
+
+isSinglePlayer = true
+
+-- trying to allow random theme, but fixed theme objects...
+-- Also skip some ugly themes, or ones where the sky is "meh"
+--local themes = { "Art","Cake","City","EarthRise","Halloween","Olympics","Underwater","Bamboo","Castle","Compost","Eyes","Hell","Planes","Bath","Cave","CrazyMission","Freeway","Island","Sheep","Blox","Cheese","Deepspace","Fruit","Jungle","Snow","Brick","Christmas","Desert","Golf","Nature","Stage" }
+local themes = {"Christmas","Hell","Bamboo","City","Island","Bath","Compost","Jungle","Desert","Nature","Olympics","Brick","EarthRise","Sheep","Cake","Freeway","Snow","Castle","Fruit","Stage","Cave","Golf","Cheese","Halloween"}
+
+function onGameInit()
+ -- Ensure people get same map for same theme
+ Theme = themes[GetRandom(#themes)+1]
+ Seed = ClimbHome
+ TurnTime = 999999999
+ EnableGameFlags(gfOneClanMode)
+ DisableGameFlags(gfBottomBorder+gfBorder)
+ CaseFreq = 0
+ Explosives = 0
+ Map = "ClimbHome"
+ AddTeam(loc("Lonely Hog"), 14483456, "Simple", "Island", "Default")
+ player = AddHog(loc("Climber"), 0, 1, "NoHat")
+end