Skip to content

rq.ChestInfo ​

What rq.chest.on_attempt and on_result get for a red chest.

Fields ​

NameTypeDescription
xintegerThe chest's cell.
yintegerThe chest's cell.
idintegerThe item locked in the chest by rq.loot.install; 0 when none.
base_pctintegerThis chest's chance from the game and the party's skills: 30, or 60, 80 or 100, maybe halved.
kindstring"red".
pct (optional)integeron_attempt: the percent so far. on_result: the chance used. Since 0.14.0.
rolled (optional)integeron_result: the roll, 1 to 100.
success (optional)booleanon_result: it opened.
exploded (optional)booleanon_result: it exploded; a fail always does.

Used by ​

rq.chest.on_attempt, rq.chest.on_result