Skip to content

rq.UiItemRow ​

since 2.8.0

An item row's data, as rq.uikit.item_data reads it from the game. A table of your own with the same fields draws a made-up row.

Fields ​

NameTypeDescription
ii (optional)integerThe instance; nil for a made-up row.
name (optional)stringThe name (アイテム_名前).
level (optional)stringThe level line on the red bar (アイテム_実装条件), or "" for no bar.
info (optional)stringThe stats line with the game's marks (アイテム_情報): $ starts a line, numbers draw white, text between two | is white and between two backquotes stays yellow.
icon (optional)integerThe icon CG (アイテム_CG番号), drawn 100 by 100.
rank (optional)integerThe enhancement rank (アイテム_レアランク); its badge (CG 11420 + rank) shows on the icon when above 0.
kind (optional)integerThe game's item kind (アイテム_種類): 1 weapon, 11 armor, 21 special, 17 item. Its mark shows at the top of a row without buttons.
locked (optional)booleanLocked in the vault (アイテム_LOCK中): LOCKED shows (not in the shop style), the lock button reads UNDO LOCK, and SELL and DONATE do not show.
price (optional)integerThe price (アイテム_価格); the shop style shows it in gold digits.
place (optional)integerWhere it is (アイテム_存在): 7 the vault, 11 the storage, 6 a shop, 8 quest storage, or the owner's roster slot while equipped.
classes (optional)integer[]The classes that may equip it, 1 to 8 (アイテム_装備職業); their icons show at the bottom.
discard (optional)booleanThe game lets it go: it can be sold or donated (アイテム_破棄可能; false for quest items). Since 2.9.0.
disabled (optional)booleanIn a list: the row is greyed out and cannot be picked.

Used by ​

rq.UiItemWindowEntry, rq.uikit.item_card, rq.uikit.item_data, rq.uikit.item_dropped, rq.uikit.item_filter, rq.uikit.item_icon, rq.uikit.item_list, rq.uikit.item_picker, rq.uikit.item_row, rq.uikit.item_sort, rq.uikit.item_window