summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.sf.net>2013-04-24 07:52:46 -0300
committerPerttu Ahola <celeron55@gmail.com>2013-04-24 17:28:00 +0300
commite703c5b81f87550e636ebb1ebb1eb64027a44687 (patch)
treee79287f264f46aa1789c30afff0569f92296ca87 /doc/lua_api.txt
parent33dd267fd9da1a89b44cd6eab590aadab0f4e335 (diff)
downloadminetest-e703c5b81f87550e636ebb1ebb1eb64027a44687.tar.gz
minetest-e703c5b81f87550e636ebb1ebb1eb64027a44687.tar.bz2
minetest-e703c5b81f87550e636ebb1ebb1eb64027a44687.zip
Added support to disable built-in HUD elements
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index 42579fda3..b2106b64c 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -1433,6 +1433,9 @@ Player-only: (no-op for other objects)
- hud_change(id, stat, value): change a value of a previously added HUD element
^ element stat values: position, name, scale, text, number, item, dir
- hud_get(id): gets the HUD element definition structure of the specified ID
+- hud_builtin_enable(what, flag): enable or disable built-in HUD items
+ ^ what: "hotbar", "healthbar", "crosshair", "wielditem"
+ ^ flag: true/false
InvRef: Reference to an inventory
methods: