aboutsummaryrefslogtreecommitdiff
path: root/doc/client_lua_api.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r--doc/client_lua_api.txt4
1 files changed, 4 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)
}
```