Skip to content

rq.LootItem ​

An item the player will find, from rq.loot.list.

Fields ​

NameTypeDescription
idintegerThe item instance.
source"magnum"|"chest"Held by the Magnum, or locked in a chest on the map.
seenbooleanThe player knows the item: another instance with the same catalog number is identified.
cgintegerThe item's CG when seen, else the game's "?" CG.
namestringThe real name when seen, else "Unidentified item".
commentstringThe game's item text when seen, else a line saying it is not identified.
overlayinteger10403 when not seen, else 0.
catalogintegerThe catalog number. Do not show it for an item not seen.
floorintegerThe floor.
xintegerThe chest's cell.
yintegerThe chest's cell.

Used by ​

rq.loot.list