From 9019e18b94940c1e8a2f5f6185692ddf672b61fe Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Fri, 14 Aug 2020 19:12:14 +0200 Subject: Some Updates --- builtin/client/cheats.lua | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'builtin/client') diff --git a/builtin/client/cheats.lua b/builtin/client/cheats.lua index 17347b8ae..3a1f6b24a 100644 --- a/builtin/client/cheats.lua +++ b/builtin/client/cheats.lua @@ -3,10 +3,9 @@ core.cheats = { ["Killaura"] = "killaura", ["AntiKnockback"] = "antiknockback", ["NoFallDamage"] = "prevent_natural_damage", - ["AutoRespawn"] = "autorespawn", }, ["Movement"] = { - ["DragonRider"] = "entity_speed", + ["GodMode"] = "entity_speed", ["Freecam"] = "freecam", ["PrivBypass"] = "priv_bypass", ["AutoForward"] = "continuous_forward", @@ -30,8 +29,7 @@ core.cheats = { ["InstantBreak"] = "instant_break", ["IncreasedRange"] = "increase_tool_range", ["UnlimitedRange"] = "increase_tool_range_plus", - ["Scaffold"] = "scaffold", - ["Highway"] = "highway", + ["PointLiquids"] = "point_liquids", }, ["Misc"] = { ["Enderchest"] = function() @@ -39,3 +37,8 @@ core.cheats = { end, } } + +function core.register_cheat(cheatname, category, func) + core.cheats[category] = core.cheats[category] or {} + core.cheats[category][cheatname] = func +end -- cgit v1.2.3