Skip to content

Commit

Permalink
Add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
LizzyFleckenstein03 committed Mar 9, 2021
1 parent 0ea4d7d commit bb12123
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/client_lua_api.txt
Expand Up @@ -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)
}
```

Expand Down
6 changes: 6 additions & 0 deletions doc/lua_api.txt
Expand Up @@ -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
Expand Down

0 comments on commit bb12123

Please sign in to comment.