mines added spacecampaign
authorPeriklis Ntanasis <pntanasis@gmail.com>
Wed, 31 Jul 2013 21:51:40 +0300
branchspacecampaign
changeset 9420 27aff3a11822
parent 9418 6e0831e42e12
child 9422 85b17f344c97
mines added
share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Wed Jul 31 21:34:53 2013 +0300
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua	Wed Jul 31 21:51:40 2013 +0300
@@ -118,6 +118,31 @@
 	SpawnAmmoCrate(constructX, constructY, amConstruction)
 	
 	SpawnHealthCrate(3300, 970)
+	
+	-- adding mines - BOOM!
+	AddGear(1280, 460, gtMine, 0, 0, 0, 0)
+	AddGear(270, 460, gtMine, 0, 0, 0, 0)
+	AddGear(3460, 60, gtMine, 0, 0, 0, 0)
+	AddGear(3500, 240, gtMine, 0, 0, 0, 0)
+	AddGear(3410, 670, gtMine, 0, 0, 0, 0)
+	AddGear(3450, 720, gtMine, 0, 0, 0, 0)
+	
+	local x = 800
+	while x < 1650 do
+		AddGear(x, 900, gtMine, 0, 0, 0, 0)
+		x = x + math.random(8,20)
+	end
+	x = 1890
+	while x < 2988 do
+		AddGear(x, 760, gtMine, 0, 0, 0, 0)
+		x = x + math.random(8,20)
+	end
+	x = 2480
+	while x < 3300 do
+		AddGear(x, 1450, gtMine, 0, 0, 0, 0)
+		x = x + math.random(8,20)
+	end
+	
 end
 
 function onAmmoStoreInit()