share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/final.lua
changeset 9810 54c0fdec4600
parent 9802 00216d609140
child 11692 68eddcdc9f26
equal deleted inserted replaced
9809:1e32628eb167 9810:54c0fdec4600
    61 
    61 
    62 	-- explosives
    62 	-- explosives
    63 	x = 400
    63 	x = 400
    64 	while x < 815 do
    64 	while x < 815 do
    65 		local gear = AddGear(x, 500, gtExplosives, 0, 0, 0, 0)
    65 		local gear = AddGear(x, 500, gtExplosives, 0, 0, 0, 0)
    66 		x = x + math.random(15,40)
    66 		x = x + GetRandom(26) + 15
    67 		table.insert(explosives, gear)
    67 		table.insert(explosives, gear)
    68 	end
    68 	end
    69 	-- mines
    69 	-- mines
    70 	local x = 360
    70 	local x = 360
    71 	while x < 815 do
    71 	while x < 815 do
    72 		AddGear(x, 480, gtMine, 0, 0, 0, 0)
    72 		AddGear(x, 480, gtMine, 0, 0, 0, 0)
    73 		x = x + math.random(5,20)
    73 		x = x + GetRandom(16) + 5
    74 	end
    74 	end
    75 	-- health crate
    75 	-- health crate
    76 	SpawnHealthCrate(910, 5)
    76 	SpawnHealthCrate(910, 5)
    77 	-- ammo crates
    77 	-- ammo crates
    78 	SpawnAmmoCrate(930, 1000,amRCPlane)
    78 	SpawnAmmoCrate(930, 1000,amRCPlane)