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
Next revision
Previous revision
item_editor [2017/08/05 12:23]
justin
item_editor [2017/08/05 13:21]
justin
Line 16: Line 16:
 ^Property^Description^ ^Property^Description^
 |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 "​contains"​ [[conditional expression]]). When referencing an item in a [[quick script]], the case should match exactly as it is defined in the Item Editor (i.e. case-sensitive).| |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 "​contains"​ [[conditional expression]]). When referencing an item in a [[quick script]], the case should match exactly as it is defined in the Item Editor (i.e. case-sensitive).|
-|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/​container grid. The image should be 32x32 pixels in size.
-|Usable| | +|Usable|Determines whether the item will be used/​consumed if the player right-clicks on it.| 
-|Script| |+|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.|
  
 ~~NOTOC~~ ~~NOTOC~~
item_editor.txt · Last modified: 2017/08/05 13:21 by justin