mirror of
https://github.com/redstrate/Kawari.git
synced 2025-04-20 14:47:45 +00:00
You now reigster actions with registerAction under Global.lua. This should make it extremely easy to add new actions later.
4 lines
88 B
Lua
4 lines
88 B
Lua
function doAction(player)
|
|
-- give sprint
|
|
player:give_status_effect(50, 5.0)
|
|
end
|