share/hedgewars/Data/Maps/ClimbHome/map.lua
changeset 10697 fb38a9468862
parent 10645 b8c73bacb31e
child 10810 931dd8f42763
equal deleted inserted replaced
10695:e295995348f9 10697:fb38a9468862
    31 local jokeAwardSpeed = nil
    31 local jokeAwardSpeed = nil
    32 local jokeAwardDamage = nil
    32 local jokeAwardDamage = nil
    33 local recordBroken = false
    33 local recordBroken = false
    34 local ready = false
    34 local ready = false
    35 local showWaterStats = false -- uses the AI team to draw water height.
    35 local showWaterStats = false -- uses the AI team to draw water height.
    36 local scaleGraph = true
    36 local scaleGraph = false
    37 local dummyHog = nil
    37 local dummyHog = nil
    38 local dummySkip = 0
    38 local dummySkip = 0
    39 
    39 
    40 function onGameInit()
    40 function onGameInit()
    41     -- Ensure people get same map for same theme
    41     -- Ensure people get same map for same theme
    56     end
    56     end
    57     if showWaterStats or scaleGraph then
    57     if showWaterStats or scaleGraph then
    58         dummyHog = AddHog(" ", 0, 1, "NoHat")
    58         dummyHog = AddHog(" ", 0, 1, "NoHat")
    59         HH[dummyHog] = nil
    59         HH[dummyHog] = nil
    60         totalHedgehogs = totalHedgehogs - 1
    60         totalHedgehogs = totalHedgehogs - 1
    61         if not showWaterStates then
    61         if not showWaterStats then
    62             SendStat(siClanHealth, tostring(32640), " ")
    62             SendStat(siClanHealth, tostring(32640), " ")
    63         end
    63         end
    64         SendStat(siClanHealth, tostring(32640), " ")
    64         SendStat(siClanHealth, tostring(32640), " ")
    65     end
    65     end
    66 end
    66 end