Log inGet started
Package

districts.module

README.md

districts

The thirteen districts of Verrane as game boards: who watches, who polices,

what the roads allow, what the walls are, and the one rule that makes each a different problem.

Geography (where each district is, its street grain, its landmarks) belongs to the city template
(`s3/design/verrane_geography.md`, the cityGen plan); the ids here are the ids the city must report from
`city.districtAt`. Everything below is rules, read by the systems named in brackets. Text for a district is in
the catalog `pm_world`: `districts.<id>.name`, `.rule` (one line), `.line` (a voice), `.card.<part>` for each
part named in `card` (the district rule card).

  local Districts = require("metropolisGame.content.districts")
  Districts.list   Districts.byId("old_quay")   Districts.order   Districts.thresholds   Districts.colourTarget

Entry fields:
  id, contact                           the district's id and the contact who works it
  act                                   the story act it opens in (1..3)
  risk                                  multiplies renown earned here                              [scoring]
  police = { faction, foot, cars, beat } who patrols at heat 0: faction "wardens" | "security"; counts; beat =
                                        "wander" | "clockwork" | "watchman" | "posts" | "none"   [response, host]
  citizens = { informer, sympathiser }  shares of passers-by who report / who cheer at colour 0   [districtState]
  turn = { at, informer }               at this colour the informer share has fallen to this (linear from 0)
  crowd = { day, night }                0..1 how full the streets are (cover and witnesses both)  [host population]
  eyes = { camera, curtain, doorman, lamp }   fixed observers per 100 m of street front          [host population]
  witness = { day, night }              the observer kind a reporting passer-by is, by time of day [session]
  cars = { [roadClass] = m/s }          Warden car speeds here by class of road (others: the kit's) [response]
  noCars = { [roadClass] = true }       classes no car fits here (the crew dismounts)             [response]
  sites = { tag, piece, wall }          mural sites to deal (logic.sites)
  rules = { ... }                       flags a system reads (each is explained on the district's card):
      renownAudience                    cheering sympathisers raise renown here                   [scoring]
      reportsFade = { share }           that share of night reports is forgotten before it lands  [session]
      beat = { period, gap }            clockwork beats: seconds a round, seconds between passes  [host]
      curtainsSleep = { from, to }      window observers only watch outside these hours           [host]
      freight = { every, lasts }        a train passes: full concealment behind it while it does  [host]
      paintTolerated = factor           painting here is this much quieter to observers           [session]
      checkpointAt = level              from this heat level the ways out are checked             [response]
      noWitnesses                       nobody lives here: only patrols see                       [host population]
      detainOnly                        its police detain and call; they cannot arrest             [content.pursuit]
      impound / scrubDepot / hall / colourworks   the place of that name stands here              [missions, activities]
      tramPass = colour                 the colour at which the district's tram pass is given     [districtState]
      shop = { discount }               paint is cheaper here by this share                       [scoring]
  card = { "eyes", "roads", ... }       the parts of its rule card, in order (catalog keys)

The interface is documented in the header of init.luau; this file repeats it for the asset browser.