— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Gives the specified item to the player. The name of the item is case-sensitive and should match the name as defined in the Item Editor. The item will be placed into the first open slot of the player's inventory.
give_item(item_name)
Argument | Description | Type | Required |
---|---|---|---|
item_name | Name of the item (as defined in the Item Editor). | String | Yes |
give_item("Blue Gem")
Results: A Blue Gem is placed into the player's inventory.
Use the Give Item function to reward the player for completing a quest or as a way of collecting items from treasure chests and other containers.