inventory create

From Arx Libertatis Wiki
Jump to navigation Jump to search

The inventory create script command is used to enable and clear the inventory for an entity. If the calling entity already has an inventory it and all contained items are destroyed as if inventory destroy was called before a new empty inventory is created.

This command has no effect for the player. To add additional bags to the player inventory use addbag.

To add items to the inventory use inventory add, inventory addmulti or inventory addfromscene.

To let the player access the inventory in the HUD use stealnpc or inventory open.

To change how the inventory looks and behaves use inventory skin, setshop, shopcategory or shopmultiply.

Usage

inventory create

Context: Any Entity