five-on-it / apps/level-editor/src/scripts/blocks/manhole
apps/level-editor/src/scripts/blocks/manhole
Marks a node of the editor scene as a manhole: the middle of its cover on the street at the node's origin, never scaled, turned with yaw only (the way whoever comes up faces). Taken with the interaction key standing on its cover, it leads down into the sewers and up again at another manhole of the same network (lower-case letters, digits, _ and -; empty means sewer). Nothing of it is placed as a mesh: the game draws the cover. The library's block:manhole carries it: place instances of that mesh for npm run level:export to read.