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