EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

Interior

The room inside a building: its size and the prefabs of its shell, placed around the room origin.

Signature

{ combat: (boolean)?, depth_mm: PositiveDistance, doors: ({RoomDoor})?, exit: PrefabId, floor: PrefabId, fog: (Fog)?, light: (LightProfileId)?, music: (AudioCueId)?, respawn: (boolean)?, rooms: ({InteriorRoom})?, walls: RoomWalls, width_mm: PositiveDistance }

Fields

NameTypeMeaning
combatbooleanBlows, shots, spells and tool actions work in this room (a dungeon). Absent: false (a home).
depth_mmPositiveDistanceRoom depth (z); the exit stands at its front.
Range: 1…2147483647; Unit: mm
doors{RoomDoor}Further doors of this room (the entrance room), each into another room of the building. Absent: none.
Items: 1…8
exitPrefabIdExit prefab at the front wall; its door point is where one leaves.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: prefab
floorPrefabIdFloor prefab at the room origin.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: prefab
fogFogFog over what nobody has explored yet in this room, in room coordinates (origin at the room centre). Absent: no fog.
lightLightProfileIdIts steady light, apart from the time of day, season and weather; absent: the room follows the day outside.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: light_profile
musicAudioCueIdLooped music cue that plays while a local player is in this room, in place of the world's music (season, time of day, corruption); fights and bosses still play over it. Absent: the world's music.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: audio_cue
respawnbooleanWho goes down in this room and is not helped up gets up at its exit instead of at home. Absent: false.
rooms{InteriorRoom}Further rooms of the building beyond this entrance room: each a map of its own, reached through doors; rooms are only ever added, an existing room keeps its size and pieces. Absent: none.
Items: 1…15
wallsRoomWallsWall prefabs: west, east, back and front, each at the middle of its side.
width_mmPositiveDistanceRoom width (x).
Range: 1…2147483647; Unit: mm