← Previous | Next →
remove
Description
Removes a specified item and quantity from the NPC to the character.
Name | Type | Possibilities |
remove | interaction | 2 |
Parameters
# | Name | Type | Mandatory | Description | Multiple |
1 | item | string | Yes | The identifier of the item to be removed. | No |
2 | quantity | integer | Yes | The quantity of the item to be removed. | No |
Outputs
# | Description |
1 | The item was successfully removed. |
2 | The item could not be removed. |
Example
interaction
remove potion 3
tell "The NPC removes you 3 potions."
tell "The NPC couldn't remove."
behaviour
nothing