User Tools

Site Tools


equip_item

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
equip_item [2024/02/05 16:34] justinequip_item [2024/02/22 21:04] (current) justin
Line 3: Line 3:
 (WIP) (WIP)
  
-Equips an [[item]] to the specified slot of a [[character|character's]] equipment. If the [[item]] is stackable, the optional "count" parameter can be provided to equip more than one into the slot. The [[character]] must first have the [[item]] in their [[inventory]] in order for this function to work.+Equips an [[item]] to the specified slot of a [[character|character's]] equipment. If the [[item]] is stackable, the optional "count" parameter can be provided to equip more than one into the slot. Note that the [[character]] must first have the [[item]] in their [[inventory]] in order for this function to work.
  
 ====Signature:==== ====Signature:====
Line 18: Line 18:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-equip_item();+
 </code> </code>
 //Results:// //Results://
equip_item.1707179697.txt.gz · Last modified: 2024/02/05 16:34 by justin