This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
give_item [2017/05/02 10:27] – justin | give_item [2018/03/16 09:45] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
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|Item Editor]]. The item will be placed into the first open slot of the player' | 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|Item Editor]]. The item will be placed into the first open slot of the player' | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
give_item(item_name) | give_item(item_name) |