This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
item_editor [2017/08/05 11:23] – justin | item_editor [2022/06/16 18:45] – justin | ||
---|---|---|---|
Line 15: | Line 15: | ||
^Property^Description^ | ^Property^Description^ | ||
- | |Name| | | + | |Name|Name of the item. This is displayed on the item's tooltip in-game when the player hovers over it and when referencing the item in scripts (for example, in the [[Give Item]] function or " |
- | |Description| | | + | |Description|Optional description of the item that is displayed on the item's tooltip in-game.| |
- | |Image| | | + | |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 ID of the item used will be stored in the **$item_id** local variable.| | ||
~~NOTOC~~ | ~~NOTOC~~ |