Skip to content

rq.ObjectCtx ​

What an rq.dungeon.on_object function gets.

Fields ​

NameTypeDescription
idstringThe object's id.
xintegerThe cell, east.
zintegerThe cell, north.
questintegerThe quest being played.
areaintegerThe area, 1 to 16.
lookstringThe object's look.
keepbooleanWritable. true puts the object back on its cell after the function. It starts as place's keep at every step: a true written here is for this step only.
removefun(self: rq.ObjectCtx )Takes the object away for good: the same as keep = false.

Used by ​

rq.QuestObject, rq.dungeon.on_object