— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Removes the specified item from the player's inventory. Only one instance is removed if the player has more than one of the item.
remove_item(item_name)
Argument | Description | Type | Required |
---|---|---|---|
item_name | Name of the item to remove (as defined in the Item Editor). | String | Yes |
remove_item("Gold Key")
Results: A gold key is removed from the player's inventory.
Use the Remove Item function when turning in a quest item for an NPC or opening a container with a key that's only good for one use.