Skip to content

rq.Castle ​

The castle's state, from rq.castle().

Fields ​

NameTypeDescription
unlockedbooleanThe castle is open.
enabledbooleanOpen, with a room open (or no rooms listed).
usedbooleanA room was already used.
openintegerThe game's raw castle-open flag.
roomsrq.CastleRoom []The rooms that have a name, an open state or a use, up to 32.
units{id: integer, name: string}[]The characters on the castle roster, up to 32.

Used by ​

rq.castle.get