Skip to content

rq.CastleRoom ​

A castle room, from rq.castle().

Fields ​

NameTypeDescription
idintegerThe room's index.
namestringThe name.
stateintegerThe game's raw state; above 0 means open.
enabledbooleanstate is above 0.
usedbooleanThe room was already used.
units{id: integer, name: string}[]Always empty for now; the castle's characters are in rq.Castle.units.

Used by ​

rq.Castle