SanctuaryLayout
Defined in: server/api.d.ts:5566
A Room of Requirement’s saved form: plain JSON-safe data, as Sanctuary.get returns it and Sanctuary.load takes it. It holds the room’s content only, so a layout can be stored, copied into another room, or moved between servers.
Properties
Section titled “Properties”beasts?
Section titled “beasts?”
optionalbeasts?:SanctuaryBeast[]
Defined in: server/api.d.ts:5590
The beasts in the room’s vivariums, at most 12 of 4 species in each. Sanctuary.get reads their pose, happiness, needs and byproduct live.
lighting?
Section titled “lighting?”
optionallighting?:string
Defined in: server/api.d.ts:5585
Lighting identity: Default, Potnr, Hbgst, Mzoo or Dwiz; empty leaves each client’s own.
locks?
Section titled “locks?”
optionallocks?:Record<string,boolean>
Defined in: server/api.d.ts:5580
The room’s own locks (expansions, vivariums, dressing, lighting). Only Sanctuary.load sets them, never an editor; a lock left out keeps each client’s own state.
objects?
Section titled “objects?”
optionalobjects?:SanctuaryObject[]
Defined in: server/api.d.ts:5575
Every object row inside the Sanctuary map.
version?
Section titled “version?”
optionalversion?:number
Defined in: server/api.d.ts:5570
Format version. Sanctuary.get writes the current one; Sanctuary.load refuses one newer than it reads.