aboutsummaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
diff options
context:
space:
mode:
authorElias Fleckenstein <eliasfleckenstein@web.de>2021-03-05 11:52:30 +0100
committerElias Fleckenstein <eliasfleckenstein@web.de>2021-03-09 10:48:56 +0100
commitbb12123ec8e3a39f391103a878f1bfa9ccebb597 (patch)
treeefa7efa7d6694e37577a16663bf4f10e1a07cb72 /doc/lua_api.txt
parent0ea4d7d0c45575759f5e149c4bf4a458908d1107 (diff)
downloadminetest-hud_font_style.tar.xz
Add documentationhud_font_style
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r--doc/lua_api.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt
index c09578a15..46055ef0f 100644
--- a/doc/lua_api.txt
+++ b/doc/lua_api.txt
@@ -8234,6 +8234,12 @@ Used by `Player:hud_add`. Returned by `Player:hud_get`.
z_index = 0,
-- Z index : lower z-index HUDs are displayed behind higher z-index HUDs
+
+ bold = false,
+ -- Use bold font (works for hud_elem_type = "text")
+
+ italic = false,
+ -- Use italic font (works for hud_elem_type = "text", compatible with bold = true)
}
Particle definition