diff options
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/client/cheats.lua | 11 | ||||
-rw-r--r-- | builtin/settingtypes.txt | 36 |
2 files changed, 30 insertions, 17 deletions
diff --git a/builtin/client/cheats.lua b/builtin/client/cheats.lua index 17347b8ae..3a1f6b24a 100644 --- a/builtin/client/cheats.lua +++ b/builtin/client/cheats.lua @@ -3,10 +3,9 @@ core.cheats = { ["Killaura"] = "killaura", ["AntiKnockback"] = "antiknockback", ["NoFallDamage"] = "prevent_natural_damage", - ["AutoRespawn"] = "autorespawn", }, ["Movement"] = { - ["DragonRider"] = "entity_speed", + ["GodMode"] = "entity_speed", ["Freecam"] = "freecam", ["PrivBypass"] = "priv_bypass", ["AutoForward"] = "continuous_forward", @@ -30,8 +29,7 @@ core.cheats = { ["InstantBreak"] = "instant_break", ["IncreasedRange"] = "increase_tool_range", ["UnlimitedRange"] = "increase_tool_range_plus", - ["Scaffold"] = "scaffold", - ["Highway"] = "highway", + ["PointLiquids"] = "point_liquids", }, ["Misc"] = { ["Enderchest"] = function() @@ -39,3 +37,8 @@ core.cheats = { end, } } + +function core.register_cheat(cheatname, category, func) + core.cheats[category] = core.cheats[category] or {} + core.cheats[category][cheatname] = func +end diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index b706294db..e076ac2ea 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -270,21 +270,13 @@ keymap_drop (Drop item key) key KEY_KEY_Q # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 keymap_zoom (View zoom key) key KEY_KEY_Z -# Key for toggling X-Ray. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -keymap_toggle_xray (Xray key) key KEY_KEY_X - -# Key for toggling Fullbright. -# See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -keymap_toggle_fullbright (Fullbright key) key KEY_KEY_F - # Key for toggling Killaura. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -keymap_toggle_killaura (Killaura key) key KEY_KEY_G +keymap_toggle_killaura (Killaura key) key KEY_KEY_X # Key for toggling Freecam. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 -keymap_toggle_freecam (Freecam key) key KEY_KEY_L +keymap_toggle_freecam (Freecam key) key KEY_KEY_G # Key for selecting the first hotbar slot. # See http://irrlicht.sourceforge.net/docu/namespaceirr.html#a54da2a0e231901735e3da1b0edf72eb3 @@ -2228,7 +2220,7 @@ fullbright (Fullbright) bool false # Enable xray, requires fullbright xray (X-Ray) bool false -# Texture to apply xray +# Node to apply xray xray_node (X-RayTexture) string default:stone # Make the Client think it has all privs @@ -2236,6 +2228,12 @@ priv_bypass (PrivBypass) bool true fastdig (FastDig) bool false +fastplace (FastPlace) bool false + +autodig (AutoDig) bool false + +autoplace (AutoPlace) bool false + prevent_natural_damage (NoFallDamage) bool true freecam (Freecam) bool false @@ -2244,11 +2242,23 @@ killaura (Killaura) bool false no_hurt_cam (NoHurtCam) bool false -increase_tool_range (Range) bool true +increase_tool_range (IncreasedRange) bool true + +increase_tool_range_plus (IncreasedRangePlus) bool true # HUD Flags Bypass hud_flags_bypass (HUDBypass) bool true antiknockback (AntiKnockback) bool false -autorespawn (AutoRespawn) bool false +entity_speed (GodMode) bool false + +jesus (Jesus) bool false + +instant_break (InstantBreak) bool false + +no_night (BrightNight) bool false + +coords (Coords) bool false + +point_liquids (PointLiquids) bool false |