▣
module · drop-in viewer
places
The named places the game needs the city to have: where the story happens,
by·posted 11d ago
What it does
places
The named places the game needs the city to have: where the story happens,
where contacts are found, the beats Wardens walk, the doors that open as a district is painted.
This is a REQUIREMENT LIST for the city, not a map. The game refers to a place by id; the host's city adapter
answers `city.place(id)` with where it really is (interfaces: city). `at` is a hint in world metres from the
geography brief (`s3/design/verrane_geography.md`: +x east, +z south), for whoever seats the place in the
template; the game never reads it except through `Places.hint`, which the headless fake city uses.
local Places = require("metropolisGame.content.places")
Places.list Places.byId("studio") Places.ofKind("post") Places.inDistrict("old_quay") Places.hint("studio")
Entry: { id, district, kind, at = { x, z } }. Text in catalog `pm_world`: `places.<id>`.
Kinds: studio, safehouse, shop, cafe, post (a Wardens' post: where the released stand), hall, depot, yard,
garage, fort, clinic, school, market, station, pier, bridgehead, viewpoint, tram_stop, beat (a street a named
Warden walks), home, tower, gate, stage, works, square, lift, wall (a landmark surface).
The interface is documented in the header of init.luau; this file repeats it for the asset browser.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.