OBJECT HUB

Room API Hub

A focused hub for room visibility, Construction Sites, Event Log, and room-level diagnostics.

Room is both a visibility boundary and a container for room-level state. This hub only aggregates Room surfaces already covered by the site and does not pretend to be a complete API reference.

API

Covered API surfaces

These entries come from the shared quick-reference dataset. The highest-value surfaces stay visible; secondary entries remain available on demand.

3
Game

Game.rooms[roomName]

Read currently visible Rooms. A Room without vision is not present and may evaluate to undefined.

Roomvisionundefined
Open in API reference →
Room

room.createConstructionSite(x, y, structureType)

Submit a Construction Site request at a position and use the return code as the authoritative immediate result.

Construction SitebuildRoad
Open in API reference →
Room

room.getEventLog(raw?)

Read the previous tick's room events for follow-up evidence around attacks, repairs, construction, and other actions.

event logeventprevious tick
Open in API reference →

RETURN CODES

High-signal return codes

These are the return-code paths already connected to this object in the site's existing guides and error reference.

GUIDES

Focused guides

Use the focused guides for workflow details instead of duplicating full tutorials on this hub.

TOOLS

Related tools

PROVE

Runtime verification

Only guides that pass the existing Markdown acceptance boundary and have an accepted Console or live verification level appear here.

0
No related guide is publicly Console/live verified yet.