CONTENT CONTRACT · VERSION 1
RoomDoor
A door of a room into another room of the same building: a prefab on one wall whose door point is the way through; its counterpart in the other room leads back.
Signature
{ id: Name, offset_mm: Millimeters, prefab: PrefabId, to: DoorTarget, wall: RoomSide }Fields
| Name | Type | Meaning |
|---|---|---|
id | Name | Door identifier, unique within its room. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
offset_mm | Millimeters | Offset along the wall from its middle (x for back and front, z for west and east). Range: -2147483648…2147483647; Unit: mm |
prefab | PrefabId | The door's prefab in the wall (an opening); the way through is the door point on the wall's inner side at `offset_mm`. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: prefab |
to | DoorTarget | The room and door it leads to. |
wall | RoomSide | Wall it stands in. |