— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Removes one or more of the specified item from the player's inventory. The ID of the item is case-sensitive and should match the name assigned to it in the Item Editor.
remove_item(item_id, count)
Argument | Description | Type | Required |
---|---|---|---|
item_name | ID of the item (as defined in the Item Editor). | String | Yes |
count | How many of the item to take from the player (defaults to 1). | Number | No |