share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
author mikade+nemo
Fri, 24 Dec 2010 00:53:50 -0500
changeset 4662 63aafc9c2a81
child 4893 353781305c07
permissions -rw-r--r--
Add a bunch of lua from mikade, update translation files

--------------------------------
-- NO JUMPING
--------------------------------

loadfile(GetDataPath() .. "Scripts/Locale.lua")()

function onGameStart()
	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
end

function onNewTurn()
	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
end