User Tools

Site Tools


give_item

This is an old revision of the document!


Give Item


Gives the specified item to the player. The name of the item should match the name as defined in the Item Editor and is case-sensitive.

give_item(item_name)
ArgumentDescriptionTypeRequired
item_nameName of the item.StringYes

Example:

give_item("Blue Gem")

Results: A Blue Gem is added to the player's inventory.

Editor Node:

Visual Demo:

give_item.1492032877.txt.gz · Last modified: 2017/04/12 14:34 by justin