changing when some crates are spawned spacecampaign
authorPeriklis Ntanasis <pntanasis@gmail.com>
Fri, 02 Aug 2013 00:17:06 +0300
branchspacecampaign
changeset 9449 435ba2dd5508
parent 9447 285fb0e61a3f
child 9451 c3799f0f17cb
changing when some crates are spawned
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Fri Aug 02 00:01:27 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Fri Aug 02 00:17:06 2013 +0300
@@ -159,7 +159,6 @@
 	AddAmmo(smuggler3.gear, amRope, 2)
 	
 	-- spawn crates	
-	SpawnAmmoCrate(btorch1X, btorch1Y, amBlowTorch)
 	SpawnAmmoCrate(btorch2X, btorch2Y, amBlowTorch)
 	SpawnAmmoCrate(btorch3X, btorch3Y, amBlowTorch)
 	SpawnAmmoCrate(rope1X, rope1Y, amRope)
@@ -169,7 +168,6 @@
 	SpawnAmmoCrate(girderX, girderY, amGirder)
 	
 	SpawnHealthCrate(3300, 970)
-	SpawnHealthCrate(680, 460)
 	
 	-- adding mines - BOOM!
 	AddGear(1280, 460, gtMine, 0, 0, 0, 0)
@@ -204,6 +202,9 @@
 	if checkPointReached == 1 then	
 		AddEvent(onHeroAtCheckpoint2, {hero.gear}, heroAtCheckpoint2, {hero.gear}, 0)
 		AddEvent(onHeroAtCheckpoint3, {hero.gear}, heroAtCheckpoint3, {hero.gear}, 0)
+		-- crates
+		SpawnAmmoCrate(btorch1X, btorch1Y, amBlowTorch)
+		SpawnHealthCrate(680, 460)
 		-- hero ammo
 		AddAmmo(hero.gear, amRope, 2)
 		AddAmmo(hero.gear, amBazooka, 3)