share/hedgewars/Data/Maps/CTF_Blizzard/map.lua
changeset 12933 e65aa3c3d4e6
parent 12426 9f3387907e06
child 13019 880662cf41ee
equal deleted inserted replaced
12932:e0da398805b6 12933:e65aa3c3d4e6
   536 
   536 
   537 		roundsCounter = 0
   537 		roundsCounter = 0
   538 
   538 
   539 		r = GetRandom(8)
   539 		r = GetRandom(8)
   540 		if r == 0 then
   540 		if r == 0 then
   541 			SpawnUtilityCrate(0,0,amSwitch)
   541 			SpawnSupplyCrate(0,0,amSwitch)
   542 		elseif r == 1 then
   542 		elseif r == 1 then
   543 			SpawnUtilityCrate(0,0,amTeleport)
   543 			SpawnSupplyCrate(0,0,amTeleport)
   544 		elseif r == 2 then
   544 		elseif r == 2 then
   545 			SpawnUtilityCrate(0,0,amJetpack)
   545 			SpawnSupplyCrate(0,0,amJetpack)
   546 		elseif r == 3 then
   546 		elseif r == 3 then
   547 			SpawnUtilityCrate(0,0,amExtraTime)
   547 			SpawnSupplyCrate(0,0,amExtraTime)
   548 		elseif r == 4 then
   548 		elseif r == 4 then
   549 			SpawnUtilityCrate(0,0,amGirder)
   549 			SpawnSupplyCrate(0,0,amGirder)
   550 		elseif r == 5 then
   550 		elseif r == 5 then
   551 			SpawnAmmoCrate(0,0,amDynamite)
   551 			SpawnSupplyCrate(0,0,amDynamite)
   552 		elseif r == 6 then
   552 		elseif r == 6 then
   553 			SpawnAmmoCrate(0,0,amFlamethrower)
   553 			SpawnSupplyCrate(0,0,amFlamethrower)
   554 		elseif r == 7 then
   554 		elseif r == 7 then
   555 			SpawnUtilityCrate(0,0,amPortalGun)
   555 			SpawnSupplyCrate(0,0,amPortalGun)
   556 		end
   556 		end
   557 
   557 
   558 	end
   558 	end
   559 
   559 
   560 end
   560 end
   616 	end
   616 	end
   617 
   617 
   618 
   618 
   619 
   619 
   620 	--spawn starting ufos and or super weapons
   620 	--spawn starting ufos and or super weapons
   621 	SpawnAmmoCrate(2048,1858,amJetpack)
   621 	SpawnSupplyCrate(2048,1858,amJetpack)
   622 	--SpawnUtilityCrate(2048,1858,amExtraTime)
   622 	--SpawnSupplyCrate(2048,1858,amExtraTime)
   623 
   623 
   624 	--set flag spawn points and spawn the flags
   624 	--set flag spawn points and spawn the flags
   625 	fSpawnX[0] = 957
   625 	fSpawnX[0] = 957
   626 	fSpawnY[0] = 1747
   626 	fSpawnY[0] = 1747
   627 	fSpawnX[1] = 3123
   627 	fSpawnX[1] = 3123