This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
give_item [2023/04/26 12:15] – justin | give_item [2023/04/26 12:15] – justin | ||
---|---|---|---|
Line 12: | Line 12: | ||
|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 (defaults to 1).|[[Number]]|No| | |count|How many of the [[item]] to give to the player (defaults to 1).|[[Number]]|No| | ||
- | |character|[[Character]] the [[item]] will be given to (main [[player character]] if not specified).|[[Entity]]|No| | + | |character|[[Character]] the [[item]] will be given to (main [[player character]] if not provided).|[[Entity]]|No| |
^Return Value^Description^Type^ | ^Return Value^Description^Type^ |