Skip to content

rq.ItemInfo ​

What rq.item.info returns: an item number's row data, as rq.uikit.item_data gives it for an instance, without the fields that belong to one instance (ii, locked, place). The kit's item lists take it as a row.

Fields ​

NameTypeDescription
iiintegerThe instance.
nointegerThe item number (固有番号).
id (optional)stringThe text id, for an item a mod defined.
namestringThe name.
infostringThe description.
typeintegerThe slot, as the game numbers it (see rq.ItemDef.type).
type_namestringThe slot's name.
subtypeintegerThe detailed kind.
rankintegerThe kind rank.
iconintegerThe icon CG.
priceintegerThe price.
levelintegerThe level needed to equip it.
rarityintegerThe rarity.
placeinteger6 shop stock, 7 vault, 8 quest storage, 11 storage, or the owner's roster slot (20 and up) while equipped.
lockedintegerNon-zero when it cannot be taken off.
vanishesintegerNon-zero when it vanishes.
effectsrq.ItemEffect []The effects.
identifiedbooleanfalse while the item is unidentified (未確定 1): its name, icon and text are the game's "Unidentified item" until it is appraised (rq.item.appraise, or the game's appraisal after a quest). Since 2.47.0.
nointegerThe item number.
namestringIts name.
levelstringThe level line, or "".
infostringThe stats line, with the game's marks.
iconintegerIts icon CG.
rankintegerIts rarity rank.
kindintegerIts kind: 21 special, 1 weapon, 11 armor, 17 item.
priceintegerIts price.
discardbooleanIt can be thrown away.
classesinteger[]The class numbers that may equip it.

Used by ​

rq.item.get, rq.item.info