This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
equipment_slot [2020/12/06 21:02] – justin | equipment_slot [2021/07/03 22:48] (current) – justin | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- | ---- | ||
- | An **equipment slot** is a [[widget]] element for equipping an [[item]] to (for example, a sword or shield). The player can equip an [[item]] to the slot if the [[item]] has been configured as equippable in the [[Item Editor]] and it includes a tag matching the slot ID assigned to the equipment slot. | + | An **equipment slot** is a [[widget]] element for equipping an [[item]] to (for example, a sword or shield). The player can equip an [[item]] to the slot if the [[item]] has been configured as equippable in the [[Item Editor]] and it includes a valid tag listed for that equipment |
=====Element Properties===== | =====Element Properties===== | ||
^Icon^Property^Description^ | ^Icon^Property^Description^ | ||
|{{: | |{{: | ||
- | |{{: | + | |{{: |
=====Scripting===== | =====Scripting===== | ||
Line 15: | Line 15: | ||
<code bauxite> | <code bauxite> | ||
$item_id = widget[" | $item_id = widget[" | ||
- | $item_count = widget[" | + | $item_count = widget[" |
</ | </ | ||
Line 21: | Line 21: | ||
<code bauxite> | <code bauxite> | ||
if widget[" | if widget[" | ||
- | | + | |
- | end | + | end; |
</ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |