five-on-it / packages/catalogue/src/buildings
packages/catalogue/src/buildings
What a district is built of: the buildings of the downtown, civic and landmarks kits (assets/blender/kits), each an archetype with its family (GAME_DESIGN §5.2), its footprint and height (cityparts.py's BUILDINGS and HEIGHTS), the OpenStreetMap-style tags its kit's sidecar gives it and its anchors, the named points the generator turns into places (<district>.<archetype>_<n>.<anchor>) and, for some, into blocks of the level (a garage, vehicle spawners, shops at counters, the hospital's and the police's spawn points); and the satire themes a district may take, read from themes.json, which the generator reads too. catalogue.test.ts holds the table to the generator and the kits' sidecars.
Interfaces
Type Aliases
Variables
- ANCHOR_DOCS
- ARCHETYPES
- BUILDING_ARCHETYPES
- BUILDING_FAMILIES
- BUILDING_NAMES
- BUILDING_NOUNS
- BUILDING_TAGS
- BUILDINGS
- DISTRICT_LANDUSES
- DISTRICT_THEMES
- GENERATED_BUILDINGS
- THEME_NAMES