Skip to content

rq.EquipCtx ​

since 2.55.0

What rq.item.on_equip gets.

Fields ​

NameTypeDescription
iiintegerThe item instance put on.
nointegerThe item number (I固有番号).
id (optional)stringA mod item's text id, as rq.item.define named it; nil for a game item.
iicintegerThe character's roster slot.
charaintegerThe character number (C番号).
slot"special"|"weapon"|"armor"|"item"The slot.
kindintegerThe slot as the game numbers it: 21 special, 1 weapon, 11 armor, 17 item.
oldintegerThe instance the slot held before, 0 for none. One that vanishes when taken off is already deleted.

Used by ​

rq.item.on_equip