]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - builtin/client/cheats.lua
Add spider
[dragonfireclient.git] / builtin / client / cheats.lua
index 7290140dde0bd2a334a6fd9868e738ebbd9672e5..b712d0f1400ad53fab9ea819a28e534530a92e68 100644 (file)
@@ -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