This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
item [2020/12/02 11:06] – justin | item [2020/12/02 11:29] – justin | ||
---|---|---|---|
Line 5: | Line 5: | ||
=====Scripting===== | =====Scripting===== | ||
+ | Certain item properties can be accessed from [[script|scripts]], | ||
+ | |||
**Retrieving an item's name and description: | **Retrieving an item's name and description: | ||
<code bauxite> | <code bauxite> | ||
Line 11: | Line 13: | ||
</ | </ | ||
- | **Retrieving the ID and count (i.e. stack size) of an item stored | + | **Retrieving the ID and count (i.e. stack size) of an item in a storage slot:** |
<code bauxite> | <code bauxite> | ||
$item_id = widget[" | $item_id = widget[" |