User Tools

Site Tools


item_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
item_editor [2022/06/16 18:45]
justin
item_editor [2022/06/16 18:45] (current)
justin
Line 20: Line 20:
 |Usable|Determines whether the item will be used/consumed if the player right-clicks on it.| |Usable|Determines whether the item will be used/consumed if the player right-clicks on it.|
 |Number of Uses|Determines the number of times a usable item can be used/consumed, with zero meaning unlimited uses. This property is only available if the item is marked as usable.| |Number of Uses|Determines the number of times a usable item can be used/consumed, with zero meaning unlimited uses. This property is only available if the item is marked as usable.|
-|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 will be stored in the **$item_id** local variable.|+|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.|
  
 ~~NOTOC~~ ~~NOTOC~~
item_editor.txt ยท Last modified: 2022/06/16 18:45 by justin