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/04 21:55] justinequip_item [2024/02/22 21:04] (current) justin
Line 2: Line 2:
 ---- ----
 (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. Note that the [[character]] must first have the [[item]] in their [[inventory]] in order for this function to work.
  
 ====Signature:==== ====Signature:====
Line 16: Line 18:
 ====Example:==== ====Example:====
 <code bauxite> <code bauxite>
-equip_item();+
 </code> </code>
 //Results:// //Results://
equip_item.1707112500.txt.gz · Last modified: 2024/02/04 21:55 by justin