Script:inventory create: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ScriptCommandPage | {{ScriptCommandPage | ||
|description=enable the inventory | |description=enable and clear the inventory | ||
|context=any | |context=any | ||
|intro=If the calling entity already has an inventory it and all contained items are destroyed as if {{Command|inventory destroy}} was called before a new empty inventory is created. This command has no effect for the [[player]]. | |intro=If the calling entity already has an inventory it and all contained items are destroyed as if {{Command|inventory destroy}} was called before a new empty inventory is created. This command has no effect for the [[player]]. |
Revision as of 15:40, 19 June 2022
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.
Usage
inventory create
Context: Any Entity