new inventory %name:STRING% [with] rows %rows:INT% titled %title:STRING% — Expressions
new inventory %name:STRING%[with] rows %rows:INT% titled %title:STRING%
Inventory1.0.0
Description
Creates a new Lumen inventory with a name, row count (1 to 6), and display title. The size is calculated as rows * 9. Throws a runtime error if rows is not between 1 and 6.
Examples
set gui to new inventory "main_menu" with rows 3 titled "<gold>Test Menu"
All Possible Usages (2)
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
new inventory <name> rows <rows> titled <title>
new inventory <name> with rows <rows> titled <title>