["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",
["NoHurtCam"] = "no_hurt_cam",
["BrightNight"] = "no_night",
["Coords"] = "coords",
+ ["Clouds"] = "enable_clouds",
},
["World"] = {
["FastDig"] = "fastdig",
["InstantBreak"] = "instant_break",
["IncreasedRange"] = "increase_tool_range",
["UnlimitedRange"] = "increase_tool_range_plus",
- ["Scaffold"] = "scaffold",
- ["Highway"] = "highway",
+ ["PointLiquids"] = "point_liquids",
},
- ["Misc"] = {
- ["Enderchest"] = function()
- minetest.open_special_inventory()
- end,
- }
}
+
+function core.register_cheat(cheatname, category, func)
+ core.cheats[category] = core.cheats[category] or {}
+ core.cheats[category][cheatname] = func
+end