This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
give_item [2019/12/22 15:44] – justin | give_item [2020/02/19 09:16] – justin | ||
---|---|---|---|
Line 6: | Line 6: | ||
====Signature: | ====Signature: | ||
<code python> | <code python> | ||
- | give_item(item_id) | + | give_item(item_id, count) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
|item_id|ID of the item (as defined in the [[Item Editor]]).|[[String]]|Yes| | |item_id|ID of the item (as defined in the [[Item Editor]]).|[[String]]|Yes| | ||
+ | |count|How many of the item to give to the player.|[[Number]]|No| | ||
====Example: | ====Example: | ||
- | < | + | < |
- | give_item(" | + | give_item(" |
</ | </ | ||
- | // | + | // |
<WRAP center round tip 100%> | <WRAP center round tip 100%> |