five-on-it / packages/world/src/level / ManholeDef
Interface: ManholeDef
Defined in: packages/world/src/level.ts:276
A manhole of the level: a way down into the sewers (@foi/sim's sewers.ts), taken with the interaction key standing on its cover. The manholes of one network are linked under the street: whoever goes down one comes up at another of the same network, of their choice, after a walk as long as the way between them.
Properties
name
name:
string
Defined in: packages/world/src/level.ts:278
The node's name in the editor: for messages and a stable order.
network
network:
string
Defined in: packages/world/src/level.ts:288
The network it opens into (a tag: a-z0-9_-); the manholes of one network are linked.
x
x:
number
Defined in: packages/world/src/level.ts:280
The middle of its cover, on the street (m).
y
y:
number
Defined in: packages/world/src/level.ts:282
The street at its cover (m).
yaw
yaw:
number
Defined in: packages/world/src/level.ts:286
Which way whoever comes up faces (rad, 0 faces +z).
z
z:
number
Defined in: packages/world/src/level.ts:284
The middle of its cover (m).