aboutsummaryrefslogtreecommitdiff
path: root/builtin/client/cheats.lua
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2020-07-28 13:51:32 +0200
committerElias Fleckenstein <eliasfleckenstein@web.de>2020-07-28 13:51:32 +0200
commitf7a042223f9c82c7764c0df3a3531bda04e9ad64 (patch)
tree1d227816dc680ea883ba16a385c2151714e65961 /builtin/client/cheats.lua
parent344fddc1727f637b3c4e2a9b88844d952b91fe4f (diff)
downloaddragonfireclient-f7a042223f9c82c7764c0df3a3531bda04e9ad64.tar.xz
Added cheat Menu
Diffstat (limited to 'builtin/client/cheats.lua')
-rw-r--r--builtin/client/cheats.lua30
1 files changed, 30 insertions, 0 deletions
diff --git a/builtin/client/cheats.lua b/builtin/client/cheats.lua
new file mode 100644
index 000000000..efd8c6452
--- /dev/null
+++ b/builtin/client/cheats.lua
@@ -0,0 +1,30 @@
+core.cheats = {
+ ["Combat"] = {
+ ["Killaura"] = "killaura",
+ ["AntiKnockback"] = "antiknockback",
+ ["NoFallDamage"] = "prevent_natural_damage",
+ ["AutoRespawn"] = "autorespawn",
+ },
+ ["Movement"] = {
+ ["DragonRider"] = "entity_speed",
+ ["Freecam"] = "freecam",
+ ["PrivBypass"] = "priv_bypass",
+ },
+ ["Render"] = {
+ ["Xray"] = "xray",
+ ["Fullbright"] = "fullbright",
+ ["HUDBypass"] = "hud_flags_bypass",
+ ["NoHurtCam"] = "no_hurt_cam"
+ },
+ ["World"] = {
+ ["FastDig"] = "fastdig",
+ ["AutoDig"] = "autodig",
+ ["IncreasedRange"] = "increase_tool_range",
+ ["UnlimitedRange"] = "increase_tool_range_plus",
+ },
+ ["Misc"] = {
+ ["Enderchest"] = function()
+ minetest.open_special_inventory()
+ end,
+ }
+}