diff options
author | Diego MartÃnez <kaeza@users.sf.net> | 2013-04-24 07:52:46 -0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2013-04-24 17:28:00 +0300 |
commit | e703c5b81f87550e636ebb1ebb1eb64027a44687 (patch) | |
tree | e79287f264f46aa1789c30afff0569f92296ca87 /doc | |
parent | 33dd267fd9da1a89b44cd6eab590aadab0f4e335 (diff) | |
download | minetest-e703c5b81f87550e636ebb1ebb1eb64027a44687.tar.gz minetest-e703c5b81f87550e636ebb1ebb1eb64027a44687.tar.bz2 minetest-e703c5b81f87550e636ebb1ebb1eb64027a44687.zip |
Added support to disable built-in HUD elements
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua_api.txt | 3 |
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: |