Skip to content

rq.BuyCtx ​

What an rq.shop.on_buy callback gets.

Fields ​

NameTypeDescription
iiintegerThe item instance that was bought.
nointegerIts item number.
id (optional)stringIts text id, when a mod defined the item.
priceintegerThe price paid, in gold.
namestringThe item's name.

Used by ​

rq.shop.on_buy