Script:inventory destroy: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
|context=any | |context=any | ||
|intro=All contained items are destroyed along with the inventory. This command has no effect for the [[player]]. | |intro=All contained items are destroyed along with the inventory. This command has no effect for the [[player]]. | ||
This command only destroys the inventory space and contained items. It does '''not''' reset other properties affecting the inventory including [[Script:inventory_skin|skin]], [[Script:setshop|shop status]], [[Script:shopcategory|shop category]] or [[Script:shopmultiply|shop multiplier]]. | |||
}} | }} | ||
[[Category:Script commands destroying entities]] | [[Category:Script commands destroying entities]] |
Latest revision as of 11:25, 26 June 2022
The inventory destroy
script command is used to disable the inventory for an entity. All contained items are destroyed along with the inventory. This command has no effect for the player.
This command only destroys the inventory space and contained items. It does not reset other properties affecting the inventory including skin, shop status, shop category or shop multiplier.
Usage
inventory destroy
Context: Any Entity