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