Script:inventory

From Arx Libertatis Wiki
Jump to navigation Jump to search

inventory is a group of script commands for modifying player or non-player inventories. They are documented on individual pages:

ComandContextDescription
inventory add <script>Any EntityCreate a single new item and place it into the inventory.
inventory addfromscene <item>Any EntityAdd an existing item to the inventory.
inventory addmulti <script> <count*>Any EntityCreate a new item stack and place it into the inventory.
inventory closeAny EntityClose any non-player inventory in the HUD.
inventory createAny EntityEnable and clear the inventory.
inventory destroyAny EntityDisable the inventory.
inventory openAny EntityOpen the inventory in the HUD.
inventory playeradd <script>IgnoredCreate a single new item and place it into the player inventory.
inventory playeraddfromscene <item>For selfAdd an existing item to the player inventory.
inventory playeraddmulti <script> <count*>IgnoredCreate a new item stack and place it into the player inventory.
inventory skin <skin>Any EntityChange the inventory background.