X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=builtin%2Fclient%2Fcheats.lua;h=b712d0f1400ad53fab9ea819a28e534530a92e68;hb=b09fc5de5cdb021f43ad32b7e3f50dc75c0bc622;hp=7290140dde0bd2a334a6fd9868e738ebbd9672e5;hpb=f1760622ec4708decfe34e268a63a9d83d2978a7;p=dragonfireclient.git diff --git a/builtin/client/cheats.lua b/builtin/client/cheats.lua index 7290140dd..b712d0f14 100644 --- a/builtin/client/cheats.lua +++ b/builtin/client/cheats.lua @@ -1,18 +1,19 @@ core.cheats = { ["Combat"] = { - ["Killaura"] = "killaura", ["AntiKnockback"] = "antiknockback", - ["NoFallDamage"] = "prevent_natural_damage", - ["AutoRespawn"] = "autorespawn", + ["AttachmentFloat"] = "float_above_parent", }, ["Movement"] = { - ["DragonRider"] = "entity_speed", ["Freecam"] = "freecam", - ["PrivBypass"] = "priv_bypass", ["AutoForward"] = "continuous_forward", ["PitchMove"] = "pitch_move", ["AutoJump"] = "autojump", ["Jesus"] = "jesus", + ["NoSlow"] = "no_slow", + ["JetPack"] = "jetpack", + ["AntiSlip"] = "antislip", + ["AirJump"] = "airjump", + ["Spider"] = "spider", }, ["Render"] = { ["Xray"] = "xray", @@ -20,21 +21,39 @@ core.cheats = { ["HUDBypass"] = "hud_flags_bypass", ["NoHurtCam"] = "no_hurt_cam", ["BrightNight"] = "no_night", + ["Coords"] = "coords", + ["CheatHUD"] = "cheat_hud", + ["EntityESP"] = "enable_entity_esp", + ["EntityTracers"] = "enable_entity_tracers", + ["PlayerESP"] = "enable_player_esp", + ["PlayerTracers"] = "enable_player_tracers", + ["NodeESP"] = "enable_node_esp", + ["NodeTracers"] = "enable_node_tracers", }, - ["World"] = { + ["Interact"] = { ["FastDig"] = "fastdig", ["FastPlace"] = "fastplace", ["AutoDig"] = "autodig", ["AutoPlace"] = "autoplace", ["InstantBreak"] = "instant_break", - ["IncreasedRange"] = "increase_tool_range", - ["UnlimitedRange"] = "increase_tool_range_plus", - ["Scaffold"] = "scaffold", - ["Highway"] = "highway", + ["FastHit"] = "spamclick", + ["AutoHit"] = "autohit", + }, + ["Exploit"] = { + ["EntitySpeed"] = "entity_speed", + }, + ["Player"] = { + ["NoFallDamage"] = "prevent_natural_damage", + ["NoForceRotate"] = "no_force_rotate", + ["Reach"] = "reach", + ["PointLiquids"] = "point_liquids", + ["PrivBypass"] = "priv_bypass", + ["AutoRespawn"] = "autorespawn", + ["ThroughWalls"] = "dont_point_nodes", }, - ["Misc"] = { - ["Enderchest"] = function() - minetest.open_special_inventory() - end, - } } + +function core.register_cheat(cheatname, category, func) + core.cheats[category] = core.cheats[category] or {} + core.cheats[category][cheatname] = func +end