change theme used by sniper training, for performance reasons
authorsheepluva
Thu, 16 Jul 2015 22:16:35 +0200
changeset 11017 16c47a5573e4
parent 11016 93b3870a538d
child 11018 b524ae93098f
change theme used by sniper training, for performance reasons
share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua
--- a/share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua	Thu Jul 16 21:50:59 2015 +0200
+++ b/share/hedgewars/Data/Missions/Training/Basic_Training_-_Sniper_Rifle.lua	Thu Jul 16 22:16:35 2015 +0200
@@ -85,7 +85,7 @@
 	-- The map to be played
 	Map = "Ropes"
 	-- The theme to be used
-	Theme = "City"
+	Theme = "Golf"
 
 	-- Create the player team
 	AddTeam(loc("Sniperz"), 14483456, "Simple", "Island", "Default")
@@ -102,7 +102,7 @@
 	SendHealthStatsOff()
 	-- Spawn the first target.
 	spawnTarget(860,1020)
-	
+
 	-- Show some nice mission goals.
 	-- Parameters are: caption, sub caption, description,
 	-- extra text, icon and time to show.
@@ -178,12 +178,12 @@
 -- This function is called before a gear is destroyed.
 -- We use it to count the number of targets destroyed.
 function onGearDelete(gear)
-    
+
 	if GetGearType(gear) == gtCase then
 		game_lost = true
 		return
 	end
-	
+
 	if (GetGearType(gear) == gtTarget) then
 		-- remember when the target was hit for adjusting the camera
 		last_hit_time = TurnTimeLeft
@@ -339,7 +339,7 @@
 		SendStat(siCustomAchievement, string.format(loc("You had %.2fs remaining on the clock (+%d points)."), (time_goal/1000), end_score_time))
 	else
 		SendStat(siGameResult, loc("You lose!"))
-	
+
 		SendStat(siCustomAchievement, string.format(loc("You have destroyed %d of %d targets (+%d points)."), score, score_goal, end_score_targets))
 		SendStat(siCustomAchievement, string.format(loc("You have made %d shots."), shots))
 		end_score_overall = end_score_targets