]> git.lizzy.rs Git - dragonfireclient.git/blob - builtin/client/cheats/init.lua
4f4d33d86cee9e96612eef059176932898b2e289
[dragonfireclient.git] / builtin / client / cheats / init.lua
1 core.cheats = {
2         ["Combat"] = {
3                 ["Killaura"] = "killaura",
4                 ["Forcefield"] = "forcefield",
5                 ["AntiKnockback"] = "antiknockback",
6                 ["FastHit"] = "spamclick",
7                 ["AttachmentFloat"] = "float_above_parent",
8                 ["CrystalPvP"] = "crystal_pvp",
9                 ["AutoTotem"] = "autototem",
10                 ["ThroughWalls"] = "dont_point_nodes",
11                 ["OnlyTracePlayers"] = "only_trace_players",
12                 ["AutoHit"] = "autohit",
13         },
14         ["Movement"] = {
15                 ["Freecam"] = "freecam",
16                 ["AutoForward"] = "continuous_forward",
17                 ["PitchMove"] = "pitch_move",
18                 ["AutoJump"] = "autojump",
19                 ["Jesus"] = "jesus",
20                 ["NoSlow"] = "no_slow",
21                 ["AutoSneak"] = "autosneak",
22                 ["AutoSprint"] = "autosprint",
23                 ["SpeedOverride"] = "override_speed",
24                 ["JumpOverride"] = "override_jump",
25                 ["GravityOverride"] = "override_gravity",
26                 ["JetPack"] = "jetpack",
27                 ["AntiSlip"] = "antislip",
28         },
29         ["Render"] = {
30                 ["Xray"] = "xray",
31                 ["Fullbright"] = "fullbright",
32                 ["HUDBypass"] = "hud_flags_bypass",
33                 ["NoHurtCam"] = "no_hurt_cam",
34                 ["BrightNight"] = "no_night",
35                 ["Coords"] = "coords",
36                 ["Tracers"] = "enable_tracers",
37                 ["ESP"] = "enable_esp",
38                 ["NodeTracers"] = "enable_node_tracers",
39                 ["NodeESP"] = "enable_node_esp",
40                 ["CheatHUD"] = "cheat_hud",
41         },
42         ["World"] = {
43                 ["FastDig"] = "fastdig",
44                 ["FastPlace"] = "fastplace",
45                 ["AutoDig"] = "autodig",
46                 ["AutoPlace"] = "autoplace",
47                 ["InstantBreak"] = "instant_break",
48                 ["Scaffold"] = "scaffold",
49                 ["ScaffoldPlus"] = "scaffold_plus",
50                 ["BlockWater"] = "block_water",
51                 ["PlaceOnTop"] = "autotnt",
52                 ["Replace"] = "replace",
53                 ["Nuke"] = "nuke",
54         },
55         ["Exploit"] = {
56                 ["EntitySpeed"] = "entity_speed",
57                 ["ParticleExploit"] = "log_particles",
58         },
59         ["Player"] = {
60                 ["NoFallDamage"] = "prevent_natural_damage",
61                 ["NoForceRotate"] = "no_force_rotate",
62                 ["IncreasedRange"] = "increase_tool_range",
63                 ["UnlimitedRange"] = "increase_tool_range_plus",
64                 ["PointLiquids"] = "point_liquids",
65                 ["PrivBypass"] = "priv_bypass",
66                 ["AutoRespawn"] = "autorespawn",
67         },
68         ["Chat"] = {
69                 ["IgnoreStatus"] = "ignore_status_messages",
70                 ["Deathmessages"] = "mark_deathmessages",
71                 ["ColoredChat"] = "use_chat_color",
72                 ["ReversedChat"] = "chat_reverse",
73         },
74         ["Inventory"] = {
75                 ["AutoEject"] = "autoeject",
76                 ["AutoTool"] = "autotool",
77                 ["Enderchest"] = function() core.open_enderchest() end,
78                 ["HandSlot"] = function() core.open_handslot() end,
79                 ["NextItem"] = "next_item",
80                 ["Strip"] = "strip",
81                 ["AutoRefill"] = "autorefill",
82         }
83 }
84
85 function core.register_cheat(cheatname, category, func)
86         core.cheats[category] = core.cheats[category] or {}
87         core.cheats[category][cheatname] = func
88 end
89
90 local cheatpath = core.get_builtin_path() .. "client" .. DIR_DELIM .. "cheats" .. DIR_DELIM
91
92 dofile(cheatpath .. "chat.lua")
93 dofile(cheatpath .. "combat.lua")
94 dofile(cheatpath .. "inventory.lua")
95 dofile(cheatpath .. "movement.lua")
96 dofile(cheatpath .. "player.lua")
97 dofile(cheatpath .. "render.lua")
98 dofile(cheatpath .. "world.lua")