share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/ice01.lua
changeset 9810 54c0fdec4600
parent 9759 0efa9672c000
child 11692 68eddcdc9f26
equal deleted inserted replaced
9809:1e32628eb167 9810:54c0fdec4600
   182 	while x<3100 do
   182 	while x<3100 do
   183 		AddGear(x, 1150, gtMine, 0, 0, 0, 0)
   183 		AddGear(x, 1150, gtMine, 0, 0, 0, 0)
   184 		step = step + 1
   184 		step = step + 1
   185 		if step == 5 then
   185 		if step == 5 then
   186 			step = 0
   186 			step = 0
   187 			x = x + math.random(100,300)
   187 			x = x + GetRandom(201)+100
   188 		else
   188 		else
   189 			x = x + math.random(10,30)
   189 			x = x + GetRandom(21)+10
   190 		end
   190 		end
   191 	end
   191 	end
   192 
   192 
   193 	AddEvent(onHeroDeath, {hero.gear}, heroDeath, {hero.gear}, 0)
   193 	AddEvent(onHeroDeath, {hero.gear}, heroDeath, {hero.gear}, 0)
   194 	AddEvent(onHeroFinalStep, {hero.gear}, heroFinalStep, {hero.gear}, 0)
   194 	AddEvent(onHeroFinalStep, {hero.gear}, heroFinalStep, {hero.gear}, 0)