diff options
-rw-r--r-- | doc/client_lua_api.txt | 4 | ||||
-rw-r--r-- | doc/lua_api.txt | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index c2c552440..d8a9cf1bb 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1309,6 +1309,10 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or -- ^ See "HUD Element Types" size = { x=100, y=100 }, -- default {x=0, y=0} -- ^ Size of element in pixels + bold = true, -- default false + -- ^ Use bold font (works for hud_elem_type = "text") + italic = true, -- default false + -- ^ Use italic font (works for hud_elem_type = "text", compatible with bold = true) } ``` 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 |