share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/desert01.lua
branchspacecampaign
changeset 9420 27aff3a11822
parent 9418 6e0831e42e12
child 9422 85b17f344c97
equal deleted inserted replaced
9418:6e0831e42e12 9420:27aff3a11822
   116 	SpawnAmmoCrate(rope3X, rope3Y, amRope)
   116 	SpawnAmmoCrate(rope3X, rope3Y, amRope)
   117 	SpawnAmmoCrate(portalX, portalY, amPortalGun)
   117 	SpawnAmmoCrate(portalX, portalY, amPortalGun)
   118 	SpawnAmmoCrate(constructX, constructY, amConstruction)
   118 	SpawnAmmoCrate(constructX, constructY, amConstruction)
   119 	
   119 	
   120 	SpawnHealthCrate(3300, 970)
   120 	SpawnHealthCrate(3300, 970)
       
   121 	
       
   122 	-- adding mines - BOOM!
       
   123 	AddGear(1280, 460, gtMine, 0, 0, 0, 0)
       
   124 	AddGear(270, 460, gtMine, 0, 0, 0, 0)
       
   125 	AddGear(3460, 60, gtMine, 0, 0, 0, 0)
       
   126 	AddGear(3500, 240, gtMine, 0, 0, 0, 0)
       
   127 	AddGear(3410, 670, gtMine, 0, 0, 0, 0)
       
   128 	AddGear(3450, 720, gtMine, 0, 0, 0, 0)
       
   129 	
       
   130 	local x = 800
       
   131 	while x < 1650 do
       
   132 		AddGear(x, 900, gtMine, 0, 0, 0, 0)
       
   133 		x = x + math.random(8,20)
       
   134 	end
       
   135 	x = 1890
       
   136 	while x < 2988 do
       
   137 		AddGear(x, 760, gtMine, 0, 0, 0, 0)
       
   138 		x = x + math.random(8,20)
       
   139 	end
       
   140 	x = 2480
       
   141 	while x < 3300 do
       
   142 		AddGear(x, 1450, gtMine, 0, 0, 0, 0)
       
   143 		x = x + math.random(8,20)
       
   144 	end
       
   145 	
   121 end
   146 end
   122 
   147 
   123 function onAmmoStoreInit()
   148 function onAmmoStoreInit()
   124 	SetAmmo(amBlowTorch, 0, 0, 0, 1)
   149 	SetAmmo(amBlowTorch, 0, 0, 0, 1)
   125 	SetAmmo(amRope, 0, 0, 0, 1)
   150 	SetAmmo(amRope, 0, 0, 0, 1)