This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
item_editor [2017/08/05 13:06] – justin | item_editor [2024/02/22 11:31] (current) – justin | ||
---|---|---|---|
Line 18: | Line 18: | ||
|Description|Optional description of the item that is displayed on the item's tooltip in-game.| | |Description|Optional description of the item that is displayed on the item's tooltip in-game.| | ||
|Image|Image to display for the item in the inventory/ | |Image|Image to display for the item in the inventory/ | ||
- | |Usable| | | + | |Usable|Determines whether the item will be used/ |
- | |Script| | | + | |Number of Uses|Determines the number of times a usable item can be used/ |
+ | |Script|Optional script that will be triggered when the player uses the item. This property is only available if the item is marked as usable. The item's ID will be stored in the **$item_id** local variable, and the item's [[codex]] will be stored in the **$item** local variable.| | ||
~~NOTOC~~ | ~~NOTOC~~ |