aboutsummaryrefslogtreecommitdiff
path: root/builtin/game/privileges.lua
diff options
context:
space:
mode:
authorlhofhansl <lhofhansl@yahoo.com>2016-11-03 19:14:32 -0700
committerest31 <est31@users.noreply.github.com>2016-11-04 03:14:32 +0100
commitf8fd432dca9f84a489cb7033afc4e4eef7cff49d (patch)
tree11a5f5dc206656c9e2786a4ab6fc98779d8c52f4 /builtin/game/privileges.lua
parentbf315c05f17549d37d7b4c4bd7938df0b5b32c5a (diff)
downloadminetest-f8fd432dca9f84a489cb7033afc4e4eef7cff49d.tar.gz
minetest-f8fd432dca9f84a489cb7033afc4e4eef7cff49d.tar.bz2
minetest-f8fd432dca9f84a489cb7033afc4e4eef7cff49d.zip
Add debug priv, and allow player to display the scene as wire-frame. (#4709)
Diffstat (limited to 'builtin/game/privileges.lua')
-rw-r--r--builtin/game/privileges.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/builtin/game/privileges.lua b/builtin/game/privileges.lua
index 05c79440c..f89514134 100644
--- a/builtin/game/privileges.lua
+++ b/builtin/game/privileges.lua
@@ -58,4 +58,7 @@ core.register_privilege("zoom", {
description = "Can zoom the camera",
give_to_singleplayer = false,
})
-
+core.register_privilege("debug", {
+ description = "Allows enabling various debug options that may affect gameplay",
+ give_to_singleplayer = false,
+})