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