share/hedgewars/Data/Maps/ClimbHome/map.lua
changeset 13170 98a0edb4bb5a
parent 13155 25de976a7b9a
child 13643 690cc84e9fd6
equal deleted inserted replaced
13169:6869d27a2f3f 13170:98a0edb4bb5a
   258 function onGameTick20()
   258 function onGameTick20()
   259     local x,y
   259     local x,y
   260 
   260 
   261     if math.random(20) == 1 then AddVisualGear(2012,56,vgtSmoke,0,false) end
   261     if math.random(20) == 1 then AddVisualGear(2012,56,vgtSmoke,0,false) end
   262     if CurrentHedgehog == dummyHog and dummySkip ~= 0 and dummySkip < GameTime then
   262     if CurrentHedgehog == dummyHog and dummySkip ~= 0 and dummySkip < GameTime then
   263         ParseCommand("/skip")
   263         SkipTurn()
   264         dummySkip = 0
   264         dummySkip = 0
   265     end
   265     end
   266 
   266 
   267     --if BoomFire ~= nil then
   267     --if BoomFire ~= nil then
   268     --    for f,i in pairs(BoomFire) do
   268     --    for f,i in pairs(BoomFire) do