Register Cheats using minetest.register_cheat

This commit is contained in:
Elias Fleckenstein 2020-12-11 17:57:56 +01:00
parent 967d8a6612
commit 0c904b5f28

View File

@ -21,3 +21,7 @@ minetest.register_on_recieve_physics_override(function(override)
legit_override = override
return true
end)
minetest.register_cheat("SpeedOverride", "Movement", "override_speed")
minetest.register_cheat("GravityOverride", "Movement", "override_gravity")
minetest.register_cheat("JumpOverride", "Movement", "override_jump")