share/hedgewars/Data/Maps/ClimbHome/map.lua
changeset 12397 78ad1119eb6c
parent 12193 099e59894671
child 12429 b9cc405541c1
equal deleted inserted replaced
12396:832a1d22bfe8 12397:78ad1119eb6c
    93     end
    93     end
    94 end
    94 end
    95 
    95 
    96 function onGearDelete(gear)
    96 function onGearDelete(gear)
    97     if gear == MrMine then
    97     if gear == MrMine then
    98         AddCaption("Once you set off the proximity trigger, Mr. Mine is not your friend",0xffffff,0)
    98         AddCaption(loc("Once you set off the proximity trigger, Mr. Mine is not your friend"), 0xFFFFFFFF, capgrpMessage)
    99         MrMine = nil
    99         MrMine = nil
   100     elseif gear == Cake then
   100     elseif gear == Cake then
   101         Cake = nil
   101         Cake = nil
   102     elseif GetGearType(gear) == gtHedgehog then
   102     elseif GetGearType(gear) == gtHedgehog then
   103 	onGameTick20()
   103 	onGameTick20()