Shopping Center: enemy spawns

A subway station under a small glass atrium — look up to the sky, then explore three floors of shops, corridors and arcades by escalator, stairs or the glass elevator.

Level id
mall
Difficulty tier
2 — Explicit difficulty tier of the level (0 = the starting level). Metadata only: no automatic scaling of counts, damage or loot, and no enemy family is enabled by it. LEVELS.mall.tier in game/src/levels/registry.ts:87 (repository access required)
Spawn profile
Mall (seeded "<Name> Center") — MALL_SPAWN_PROFILE in game/src/ai/spawnTables.ts:611 (repository access required)
Spawns tried per level
15–23 (E = 19), over 4 generation contexts
Room modifiers
All 73 room keys resolve to 1× for every family (neutral); the profile sets no room modifiers

Generation contexts

A generation context is one run of the enemy placement code. Each run draws one count, uniformly from its range, and tries to place that many spawns. The contexts below are parts of the one Shopping Center level and are generated with it; they are not separate levels. A context that runs more than once per level (for example once per storey) draws a new count each run.

Shopping Center: spawns each context tries to place (count per run, uniform; per level = runs × count)
ContextStoreys one run coversRuns per levelCount per runE[count] per runPer levelE per level
Station storey (platforms + Fountain court + station back of house, storey 0)pitthe subway station storey at the bottom of the atrium (level 0: platforms, Fountain court, station back of house)13–5U{3..5}43–54
Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors)ringone retail floor (each of levels 1..3: atrium court galleries, corridor wings, shops, stock rooms, service corridors)34–6U{4..6}512–1815
Service annex (per annex)serviceone seeded service annex off the east track tunnel of the station (its rooms and corridors only)0–1one per zone (seeded)5–6U{5..6}5.50–6zone budget, not in the total5.5per zone
Lingerie store (per store: changing area + sales floor)lingeriethe lingerie store of one retail floor (its walk-in changing area first, then its sales floor; nowhere else)0–1one per zone (seeded)3–5U{3..5}40–5zone budget, not in the total4per zone
Whole levelall core contexts (zones reported separately)15–2319

Spawns the level's context runs try to place (Σ runs × count). The family roll replaces, never adds; placed totals can fall short where eligible, spaced cells run out. Not included: the zone contexts 'service', 'lingerie' (a per-zone budget of 5-6 per zone, 0-6 per level; 3-5 per zone, 0-5 per level), reported separately.

Service annex (per annex): A PER-ANNEX ZONE BUDGET: one run per seeded service annex (0 to TRACK_EXT.annex.max per level, a generation census quantity — see docs/enemy-spawns.md "Service annexes"), on the annex's own fork, appended after every core spawn and tagged 'service'. It is additive to the core contexts and NOT in the whole-level total above; the level's zombie types apply; its spawns draw from the annexes' OWN family pool (SERVICE_FAMILY_POOL: a configured 20 % rat/dog selection share, Blightbelly 5 %, Strainer 8 % (the only pool that enables it: STRAINER_CONTEXTS), no Siren — per-spawn probabilities, not quotas). The seeded roster pass then runs on the finished level (see the seeded roster): it fixes the level's Strainers at EXACTLY ONE on the maps whose seed rolled the Strainer present, and at none on the others, and it decides per level whether Blightbellies and rat/dogs are there at all (the slot rules of the roster-only Screacher and BB list the core contexts, not the annex). The sampled census shows the outcome with the pass applied. Killed annex enemies stay dead for the run (per-index memory).

Lingerie store (per store: changing area + sales floor): A STORE-LOCAL ZONE BUDGET: one run per lingerie store — the store is a seeded shop program on a LARGE lot (0 to 1 per mall, never guaranteed) — on its own fork (mall-lingerie-spawns), appended after EVERY other spawn of the mall (ambient, hordes, annex 'service') and tagged 'lingerie' (spawn context and ZombieSpawn.look). It is additive to the core contexts and NOT in the whole-level total or the ambient budget; its spawns draw from the store's OWN family pool (LINGERIE_FAMILY_POOL: ordinary zombies only — no Blightbelly, Siren, rat/dog, Strainer, Screacher or BB; the seeded roster never converts an outfit zombie), are shamblers, and wear a fitted lingerie set at spawn time (ai/lingerie.ts lingerieLook(level seed, spawn index)) — a wardrobe look of the zombie family, never a new family. Every other spawn of every level keeps the ordinary wardrobe pick. No leash: after aggro they may follow the player out of the store. Killed variants stay dead for the run (per-index memory); a mall without a lingerie store has none.

Service annex (per annex): its own family pool (configured selection share per spawn) — zombie 67 % · blightbelly 5 % · siren 0 % · ratdog 20 % · strainer 8 % · screacher 0 % · bb 0 %. This context's OWN pool: its spawns draw their family from it (the same single roll per spawn, room modifiers and eligibility on top) instead of the level pool. The shares are CONFIGURED selection probabilities per spawn, not quotas: a 5-6-enemy annex may hold none or several; the sampled census shows the placed outcome.

Lingerie store (per store: changing area + sales floor): its own family pool (configured selection share per spawn) — zombie 100 % · blightbelly 0 % · siren 0 % · ratdog 0 % · strainer 0 % · screacher 0 % · bb 0 %. This context's OWN pool: its spawns draw their family from it (the same single roll per spawn, room modifiers and eligibility on top) instead of the level pool. The shares are CONFIGURED selection probabilities per spawn, not quotas: a 5-6-enemy annex may hold none or several; the sampled census shows the placed outcome.

These are targets: the generator can place fewer when it runs out of eligible, spaced floor (see placement rules). The game has no per-area or per-square-metre spawn rate; the count is spread over the eligible areas of the context.

Generator: generateMallLevel in game/src/gen/mall/index.ts:110 (repository access required). ONE continuous level (LevelId 'mall', tier 2; its display name is seeded per run: "<Name> Center", gen/mall/names.ts mallNameOf(levelSeed) — the same seed always gives the same name) — the subway station at the bottom of a small glass atrium and 3 retail floors above it, generated once per level seed: placeOfficeEnemies runs the pit context once (the station storey) and the ring context once per retail floor, each on its own fork (mall-enemies-<storey>) and tags its spawns with the context; the roaming hordes (the separate horde pool, tagged 'horde') follow from ai/hordePlace.ts placeHordes; then (Track 2) the station's tunnel / service annex (at most 1) is attached and placeServiceSpawns (gen/annexContent.ts, fork "track-ext-content") runs the service context once per seeded service annex, appended last; then (task mall-lingerie-20261102-221554) the optional lingerie store's store-local run (gen/mall/lingerieSpawns.ts placeLingerieSpawns, fork "mall-lingerie-spawns": the lingerie context, at most 1 store) is appended after those; assignEnemyArchetypes rolls every family ONCE at the end (horde members keep their own pool's family; Siren eligibility included) and applyFamilySpacing keeps the Sirens of the whole mall apart (cap and spacing jointly). Moving between storeys never rerolls anything. Last of all the level registry runs the SEEDED ROSTER pass on the finished layout (ai/enemyRoster.ts applyEnemyRoster, roster version 4): from the level seed alone it decides which special families this map holds at all, and it only ever changes the family of ordinary ambient zombie slots — never a count, a position, an index, a horde member or an outfit zombie (see the seeded roster).

Ambient budget

Ambient spawns in the whole level
at most 23 (the contexts can try at most 34)
Ambient spawns of one storey run
at most 6

Caps of the AMBIENT pool only: the whole-level total and one storey run. The contexts' count ranges stay below them by construction (validation); the horde pool has its own budget. Horde members are counted in the horde pool, never here.

Defined at MALL_SPAWN_PROFILE.budgets in game/src/ai/spawnTables.ts:630 (repository access required).

Enemy families

Every placed spawn is one enemy family. A family's conditional share = weight / Σ weights (denominator 1) is the chance that the per-spawn roll of one placed spawn draws that family. It changes the mix, not how many spawns are placed. The seeded roster then decides whether this level holds each special family at all.

Every placed spawn draws its family independently: roll = enemyRoll(level seed, spawn index) ∈ [0, 1), walked over the pool weights of the spawn's room (the level pool when the room has no modifier), in registry order (the rat/dog keeps the top band; a family at weight 0 — the roster-only Screacher / BB — has no band). A drawn family REPLACES a zombie; it never adds to the count. Then the eligibility rule of siren: a draw where the rule fails becomes the fallback family — the other families' draws are untouched. Then the whole-level spacing of siren (with the cap, in spawn order; a too-close draw becomes the fallback). Horde members are not rolled here: they are the separate horde pool. Last, the seeded roster pass (roster version 4) runs once on the finished level: a family the level's seed rolled absent has exactly none there, a present one is placed by its policy (see the seeded roster).

Shopping Center: family pool (per-spawn roll: shares conditional on one placed spawn; denominator 1) and the seeded roster on top
FamilyWeightConditional share (per-spawn roll)Expected per level by the per-spawn roll alone (before the roster)Seeded roster: chance the level's roll includes itPer level with the roster (sampled)
Infectedzombie0.10.1 / 1draw share; 76.5% of the placed spawns after the rule, before the roster pass sampled (takes the fallback draws of an eligibility rule)17.45 sampledalwaysthe baseline: never rolledin 20 of 20 levels · 16.7 per level sampled
Blightbellyblightbelly0.050.05 / 10.9560%of level map seeds · share top-upin 16 of 20 levels · 1.75 per level · 2.19 per level that holds it sampled
Sirensiren0.80.8 / 1draw share; 9.4% of the placed spawns after the rule, before the roster pass sampled (eligibility rule)2.15 sampled85%of level map seeds · at least one where a room qualifiesin 15 of 20 levels · 1.6 per level · 2.13 per level that holds it sampled
Tunnel scavenger (rat/dog)ratdog0.050.05 / 10.9560%of level map seeds · share top-upin 13 of 20 levels · 1.75 per level · 2.69 per level that holds it sampled
Strainerstrainer00 / 1level pool; its weight is in a context's own pool: Service annex (per annex) 8%035%of the map seeds whose map has a spawn in its contexts · exactly one, in its contextsin 1 of 20 levels · 0.05 per level · 1 per level that holds it sampled
Screacherscreacher00 / 1roster-only: no per-spawn roll draws it (placed by the seeded roster alone)040%of level map seeds · a count in place of ordinary zombiesin 5 of 20 levels · 0.45 per level · 1.8 per level that holds it sampled
BBbb00 / 1roster-only: no per-spawn roll draws it (placed by the seeded roster alone)040%of level map seeds · a count in place of ordinary zombiesin 5 of 20 levels · 0.5 per level · 2 per level that holds it sampled

Expected per level by the per-spawn roll alone = share × spawns tried per level (E = 19), with neutral room modifiers and before any placement shortfall; a family with an eligibility rule and its fallback family are measured instead (sampled placed per level, see family eligibility). That is the stage before the roster pass. The last two columns are the seeded roster: a level either holds a family or has none of it, so the per-level figure of a level that holds it is higher than the long-run mean. Defined at MALL_ENEMY_POOL in game/src/ai/spawnTables.ts:559 (repository access required).

Family eligibility

A family with an eligibility rule takes a placed slot only where its rule holds. Its draw share (weight / Σ weights) is exact; a draw where the rule fails becomes the fallback family, so the family's placed share is lower and is measured below. The other families' draws never change (the roll is the same; nothing is renormalised). The seeded roster runs after this rule and decides whether the level holds the family at all.

Siren · siren

enclosed shop sales floors / stock rooms of the retail floors only, room ≥ 4 x 4 m, clear floor patch, doorways ≥ 3 m away, never seals passage, ≤ 4 per mall. A draw of Siren becomes Infectedzombie unless every criterion holds:

  1. the spawn's generation context is Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors) (ring); draws in any other context fall back
  2. area kind room
  3. never in (room type or purpose): washroom, stair-core, storage, utility, office-stair, office-elevator
  4. the area's shorter side ≥ 8 cells (4 m)
  5. the area ≥ 100 cells (25 m²)
  6. a clear 1.5 × 1.5 m patch: every cell within 1 cell(s) is walkable floor of the same area
  7. ≥ 3 m from the centre of every doorway of its area
  8. fair passage: a 2.5 m disc around the spawn, treated as blocked, never splits the storey's walkable floor (pockets of ≤ 8 cells ignored)
  9. at most 4 per generated level (all contexts; later draws in spawn order fall back)
  10. ≥ 24 m (straight 3D line) from every earlier placed one of the level, in spawn order (applied with the cap: the cap counts only placed ones)

Whole-level spacing 24 m: up to 4 Sirens in the compact mall, never two within earshot of one another (her hum carries 24 m). MALL_SIREN_SPACING in game/src/ai/spawnTables.ts:533 (repository access required)

Rule defined at MALL_SIREN_ELIGIBILITY in game/src/ai/spawnTables.ts:519 (repository access required).

sampled Observed, not a rule. SAMPLED: 20 generated levels of LEVELS.mall.generate (seeds 5003..155464, 20 seeds, shipped start weapon), measured BEFORE the seeded roster pass: the per-spawn roll and the eligibility rule alone. A draw is a spawn whose roll lands on the family; it is placed only where the eligibility rule holds, otherwise it becomes the fallback family. Ambient spawns only (horde members are the separate horde pool). The roster pass then decides per level whether the family is there at all — the seeded roster census of the same levels shows what a level holds. Not exhaustive; not a runtime rule.

These tables measure the per-spawn roll and the eligibility rule alone. What the same levels hold after the roster pass is in the seeded roster census.

Shopping Center: placed spawns per family by the per-spawn roll and the eligibility rule, before the roster pass (sampled eligibility census: 20 layouts)
FamilyPlaced over the sampleMean per levelPlaced share
Infectedzombie34917.45
Blightbellyblightbelly241.2
Sirensiren432.15
Tunnel scavenger (rat/dog)ratdog361.8
Strainerstrainer40.2
Screacherscreacher00
BBbb00
Shopping Center: Siren draws vs placed, before the roster pass (sampled: 20 layouts)
Draws (roll landed on it)PlacedPlaced per level (mean)Levels with noneMost in one level
356432.152 of 204
Shopping Center: Siren per generated level, before the roster pass (sampled histogram)
Placed in one levelLayouts
02
12
210
33
43
Shopping Center: Siren draws that fell back, by the first failed criterion (sampled)
CriterionDraws
context125
kind67
door44
size41
passage14
clear8
spacing7
room6
cap1

Placed by context: Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors) 43.

Roaming hordes (separate pool)

Groups per level
1–2 U{1..2}, E = 1.5
Initial members per group
5–20 U{5..20}, E = 12.5
Horde budget
at most 32 members in the level; 20 members and 1 group starting on one storey
Members
E ≈ 18.75 before the budget; at most 32
Member types
coated with chance 0.4
Starts
every retail ring storey; ≥ 45 m walking from the player start; groups ≥ 30 m apart; members ≥ 1.1 m apart within 7 m of the group start; ≥ 2.5 m from ambient enemies
Patrol
0.45 m/s roam; a leg takes a vertical link with chance 0.3; pauses with chance 0.35 for 2–7 s

Groups U{1..2} × members U{5..20} per group, then the budgets: at most 32 horde members in the level, 20 members and 1 group(s) starting on one storey (a group that does not fit is trimmed or dropped, never topped up).

Shopping Center: horde family pool (its OWN explicit pool; denominator 1)
FamilyWeightConditional share
Infectedzombie11 / 1
Blightbellyblightbelly0never in a horde
Sirensiren0never in a horde
Tunnel scavenger (rat/dog)ratdog0never in a horde
Strainerstrainer0never in a horde
Screacherscreacher0never in a horde
BBbb0never in a horde

Defined at MALL_HORDE in game/src/ai/spawnTables.ts:566 (repository access required).

Seeded roster (which families this level holds at all)

The seeded roster pass (roster version 4) runs once on the finished Shopping Center layout, after every generation context, the per-spawn family roll, the eligibility rules and the hordes. One roll per family per level map seed; every storey of the level shares it. It never changes how many enemies the level has or where they stand — only which family an ordinary ambient zombie slot is.

Shopping Center: seeded roster — whether the level can hold each family, and the chance that a map's roll includes it
FamilyCan this level hold itChance the roll includes itOn this levelThe roll itself over level seeds 1 to 10000Sample levels with the roster (sampled)
Infectedzombiealways: the baseline, never rolledalwaysthe baseline: never rolledAlways: the baseline family, never rolled. The other families only ever take ordinary ambient zombie slots.not rolledin 20 of 20 levels · 16.7 per level sampled
Blightbellyblightbellyyes: every map of the level is rolled60%of level map seeds · share top-upThe roll includes it in 60 % of this level's map seeds: there the per-spawn roll's placements stay and are topped up, and such a map holds at least one. Every other map holds none.5991 of 10000 include it59.9% of those seedsin 16 of 20 levels · 1.75 per level · 2.19 per level that holds it sampled
Sirensirenyes: every map of the level is rolled85%of level map seeds · at least one where a room qualifiesThe roll includes her in 85 % of this level's map seeds: such a map holds at least one when an enemy stands in a room where she is eligible (else none: "no slot"). Every other map holds none.8506 of 10000 include it85.1% of those seedsin 15 of 20 levels · 1.6 per level · 2.13 per level that holds it sampled
Tunnel scavenger (rat/dog)ratdogyes: every map of the level is rolled60%of level map seeds · share top-upThe roll includes it in 60 % of this level's map seeds: there the per-spawn roll's placements stay and are topped up, and such a map holds at least one. Every other map holds none.6054 of 10000 include it60.5% of those seedsin 13 of 20 levels · 1.75 per level · 2.69 per level that holds it sampled
Strainerstrainerdepends on the map: only a map with a spawn in its contexts is rolled35%of the map seeds whose map has a spawn in its contexts · exactly one, in its contextsThe roll includes it in 35 % of the map seeds whose map has an ambient spawn in its context here (service): such a map holds exactly one, there. A map without such a spawn is never rolled, and every other map holds none.3553 of 10000 include it35.5% of those seedsin 1 of 20 levels · 0.05 per level · 1 per level that holds it sampled
Screacherscreacher roster-onlyyes: every map of the level is rolled40%of level map seeds · a count in place of ordinary zombiesThe roll includes it in 40 % of this level's map seeds: such a map holds its count. Every other map holds none.3932 of 10000 include it39.3% of those seedsin 5 of 20 levels · 0.45 per level · 1.8 per level that holds it sampled
BBbb roster-onlyyes: every map of the level is rolled40%of level map seeds · a count in place of ordinary zombiesThe roll includes it in 40 % of this level's map seeds: such a map holds its count. Every other map holds none.4096 of 10000 include it41% of those seedsin 5 of 20 levels · 0.5 per level · 2 per level that holds it sampled

How a family this level holds is placed

Order: Strainer, then Siren, then Screacher, then Blightbelly, then Tunnel scavenger (rat/dog), then BB — the most constrained first (BB last: added in a later roster version, it takes only slots the others left), each on the ordinary zombie slots still left.

Sampled roster census

sampled Observed, not a rule. SAMPLED: the same 20 generated levels of LEVELS.mall.generate (seeds 5003..155464, 20 seeds, shipped start weapon), each followed by the seeded roster pass at roster version 4 — what a level holds. "Before" = what the per-spawn roll alone had placed; "after" = with the pass applied. The pass never changes the 22.8 ambient spawns per level of this sample, only their families. A SMALL sample: the long-run share of levels that hold a family is its roster rate, not this count. The roll depends on the level seed and the family only, so these seeds roll the same families present on every level. Ambient spawns only (horde members are the separate horde pool). Not exhaustive.

Shopping Center: the seeded roster pass on the sample levels (sampled: 20 layouts; 456 ambient spawns, 22.8 per level, before and after)
FamilyLevels that could hold itLevels whose roll included itLevels that hold itPlaced by the per-spawn roll alone (before the pass)Slots the pass took from itSlots the pass gave itWith the roster (after the pass)Mean per levelMean per level that holds itMost in one levelShare of the ambient enemiesPresent without a legal slotLevels by number held (number: levels)
Infectedzombie202020349412633416.716.7230—
Blightbellyblightbelly20161624718351.752.19500: 4 · 1: 7 · 2: 3 · 3: 3 · 4: 2 · 5: 1
Sirensiren20151543132321.62.13400: 5 · 1: 4 · 2: 7 · 3: 2 · 4: 2
Tunnel scavenger (rat/dog)ratdog2013133698351.752.69600: 7 · 1: 3 · 2: 4 · 3: 3 · 4: 1 · 5: 1 · 6: 1
Strainerstrainer51143010.051100: 19 · 1: 1
Screacherscreacher205500990.451.8300: 15 · 1: 2 · 2: 2 · 3: 1
BBbb20550010100.52300: 15 · 1: 1 · 2: 3 · 3: 1

“Slots the pass took from it”: spawns the per-spawn roll made this family that are another family after the pass (an absent family's all become ordinary zombies). “Slots the pass gave it”: spawns that became this family in the pass. For the baseline family the two are the slots the other families took and gave back.

Roster version 4; the rules of the pass and every family's rule: the seeded roster. Defined at applyEnemyRoster in game/src/ai/enemyRoster.ts:285 (repository access required).

Zombie types (inside the zombie family)

Not separate enemy families. The types (coated, shambler) split the Infected family only; the family shares above do not change with them. Wardrobe outfits are a further appearance choice, also not a family.

Shopping Center: zombie type chance per spawn (before the at-least-one-of-each rule)
TypeChance per spawn
coated
shambler

Each spawn of a run: coated with the coated chance, else shambler; then, if the run has no coated, its first spawn becomes coated, and (count > 1) if it has no shambler, its second becomes shambler. Ratdogs keep the rolled type but ignore it.

Shopping Center: expected coated share of one context run (exact, including the at-least-one-of-each rule)
ContextSpawns in the run (n)Expected coated share
Station storey (platforms + Fountain court + station back of house, storey 0)3
Station storey (platforms + Fountain court + station back of house, storey 0)5
Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors)4
Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors)6
Service annex (per annex)5
Service annex (per annex)6
Lingerie store (per store: changing area + sales floor)3
Lingerie store (per store: changing area + sales floor)5

Shambler / coated type (the profile's zombie type roll) and the wardrobe outfit chosen at spawn time from (level seed, spawn index, type) by ai/wardrobe.ts pickZombieLook — sub-distributions of the zombie family, not separate families.

Defined at ZOMBIE_TYPES in game/src/ai/spawnTables.ts:379 (repository access required).

Baseline placement rules

These are the generator's own rules for where the counted spawns go. Room modifiers at 1× leave every one of them unchanged. They are also why a generated level can hold fewer spawns than its count drew.

Station storey (platforms + Fountain court + station back of house, storey 0) · pit · count 3–5 per run × 1 run

One run covers: the subway station storey at the bottom of the atrium (level 0: platforms, Fountain court, station back of house). Count per run uniform integer U{3..5} (rng.int, inclusive); E[count] = 4.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. not a stair ramp, not in a stair-role area, the area on its own storey
  5. ≥ 5 m from every keep point of the storey
  6. the area's effective weight (area weight × room intensity) > 0
Shopping Center · Station storey (platforms + Fountain court + station back of house, storey 0): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot5m5

Which areas are visited first

First matching rule wins (shop sales floors, stock rooms and back-of-house rooms otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Shopping Center · Station storey (platforms + Fountain court + station back of house, storey 0): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
kind platform2.2the platforms of the station at the bottom of the pit
type exit-stair / washroom0.5closed street exits and washrooms
type office-stair / stair-core / office-elevator0never in a stairwell, stair core or an elevator cab
kind closet0.5closets
public space1gallery walkways, bridges, the pit plaza and courts
any other area1.3

How many spawns one area may hold

The placement walks the area order once per pass (caps 1, 2, 3); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Shopping Center · Station storey (platforms + Fountain court + station back of house, storey 0): spawns one area may hold (passes 1, 2, 3)
Areas matchingCapWhy
kind platformpass cap + 1platforms hold one more per pass
kind closetat most 1closets: at most one
any other areathe pass cap
Tries per area visit
14 random eligible cells
Spacing
at least 4 m between spawns (straight line, same storey)

Placement defined at MALL_PLACEMENT in game/src/ai/spawnTables.ts:487 (repository access required).

How a run places its count, and why it can fall short

  1. Draw count = U{3..5} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2, 3), walk the order: an area below its cap gets up to 14 random cell picks; the first pick ≥ 4 m from every enemy already placed on that storey takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at MALL_SPAWN_PROFILE.contexts.pit in game/src/ai/spawnTables.ts:615 (repository access required).

Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors) · ring · count 4–6 per run × 3 runs

One run covers: one retail floor (each of levels 1..3: atrium court galleries, corridor wings, shops, stock rooms, service corridors). Count per run uniform integer U{4..6} (rng.int, inclusive); E[count] = 5.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. not a stair ramp, not in a stair-role area, the area on its own storey
  5. ≥ 5 m from every keep point of the storey
  6. the area's effective weight (area weight × room intensity) > 0
Shopping Center · Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot5m5

Which areas are visited first

First matching rule wins (shop sales floors, stock rooms and back-of-house rooms otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Shopping Center · Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
type shop6shop sales floors of the retail floors (stores, anchors, food units, kiosks): the infected linger in the shops
kind platform2.2the platforms of the station at the bottom of the pit
type exit-stair / washroom0.5closed street exits and washrooms
type office-stair / stair-core / office-elevator0never in a stairwell, stair core or an elevator cab
kind closet0.5closets
public space1gallery walkways, bridges, the pit plaza and courts
any other area1.3

How many spawns one area may hold

The placement walks the area order once per pass (caps 1, 2, 3); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Shopping Center · Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors): spawns one area may hold (passes 1, 2, 3)
Areas matchingCapWhy
kind platformpass cap + 1platforms hold one more per pass
kind closetat most 1closets: at most one
any other areathe pass cap
Tries per area visit
14 random eligible cells
Spacing
at least 4 m between spawns (straight line, same storey)

Placement defined at MALL_RING_PLACEMENT in game/src/ai/spawnTables.ts:506 (repository access required).

How a run places its count, and why it can fall short

  1. Draw count = U{4..6} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2, 3), walk the order: an area below its cap gets up to 14 random cell picks; the first pick ≥ 4 m from every enemy already placed on that storey takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at MALL_SPAWN_PROFILE.contexts.ring in game/src/ai/spawnTables.ts:617 (repository access required).

Service annex (per annex) · service · count 5–6 per run × one run per zone (0–1 per level)

One run covers: one seeded service annex off the east track tunnel of the station (its rooms and corridors only). Count per run uniform integer U{5..6} (rng.int, inclusive); E[count] = 5.5.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. the area's effective weight (area weight × room intensity) > 0
  5. an area of the zone (one service annex), ≥ 6 m from the annex's entry door (its keep point)
Shopping Center · Service annex (per annex): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot6m6

Which areas are visited first

First matching rule wins (annex rooms (pump / electrical rooms, stores, workshops, custodial rooms) otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Shopping Center · Service annex (per annex): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
kind closet0.6annex closets (janitor / electrical / supply)
kind service1annex service corridors (1.5-2 m wide)
any other area1.4

How many spawns one area may hold

The placement walks the area order once per pass (caps 1, 2); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Shopping Center · Service annex (per annex): spawns one area may hold (passes 1, 2)
Areas matchingCapWhy
kind closetat most 1closets: at most one
any other areathe pass cap
Tries per area visit
12 random eligible cells
Spacing
at least 5 m between spawns (straight line)

Placement defined at SERVICE_PLACEMENT in game/src/ai/spawnTables.ts:405 (repository access required).

How a run places its count, and why it can fall short

  1. Draw count = U{5..6} (one draw per run), then the zombie types of that many spawns.
  2. Collect every eligible cell, grouped by area; order the areas by a weighted shuffle (Efraimidis–Spirakis keys u^(1/weight)).
  3. For each cap pass (1, 2), walk the order: an area below its cap gets up to 12 random cell picks; the first pick ≥ 5 m from every enemy already placed takes one spawn.
  4. Stop when the count is reached. Spacing, caps and eligible floor can leave a run short of its count (placed < count); validation regenerates the attempt where the profile requires it.
  5. Each placed spawn is then a family by its own roll (see the family pool) — independent of the area unless a room modifier says otherwise.

Checks that reject a whole generation attempt

Context defined at MALL_SPAWN_PROFILE.contexts.service in game/src/ai/spawnTables.ts:620 (repository access required).

Lingerie store (per store: changing area + sales floor) · lingerie · count 3–5 per run × one run per zone (0–1 per level)

One run covers: the lingerie store of one retail floor (its walk-in changing area first, then its sales floor; nowhere else). Count per run uniform integer U{3..5} (rng.int, inclusive); E[count] = 4.

Which cells can hold a spawn

  1. a FLOOR cell of the context's storeys (not the outer border row)
  2. walking distance from the start ≥ 36 cells (18 m)
  3. every cell within 1 cell(s) walkable
  4. the area's effective weight (area weight × room intensity) > 0
  5. the lingerie store's own sales floor only (never its stock room, a gallery or another unit), ≥ 4 m from its shopfront(s): in a BOOTH (a changing rect with 1-4 opening cells — its curtain gap) the centre of a 2 × 2 patch of its walkable cells off the opening row (the booth's centre line); the aisle hosts nobody while the store has booths; on the sales floor a 3 × 3-clear cell > 2 cells off the changing area and ≥ 2 m from its mouth; everywhere a 0.5 m disc around the spawn never splits the storey (fair passage)
Shopping Center · Lingerie store (per store: changing area + sales floor): keep-away and clearance rules
RuleValueUnitIn metres
walking distance from the player start36cells18
clear walkable cells around the candidate (radius)1cells0.5
straight-line keep-off from stair / elevator landings, the roof hatch and the ladder foot5m5

Which areas are visited first

First matching rule wins (nowhere outside the lingerie store: never its stock room, a gallery, another unit or another storey otherwise). A relative weight in the weighted area order, multiplied by the room intensity D of its room key (1 when the room has no modifier). Weight 0 = never a candidate.

Shopping Center · Lingerie store (per store: changing area + sales floor): area weights (relative order preference; first matching rule wins)
Areas matchingArea weightWhy
type shop1the lingerie store's own sales floor (its walk-in changing area first)
any other area0

How many spawns one area may hold

The placement walks the area order once per pass (caps 5); an area takes one more spawn per visit while it is below its cap for that pass. Room modifiers never raise a cap.

Shopping Center · Lingerie store (per store: changing area + sales floor): spawns one area may hold (passes 5)
Areas matchingCapWhy
any other areathe pass cap
Tries per area visit
24 random eligible cells
Spacing
at least 1.4 m between spawns (straight line)

Placement defined at LINGERIE_PLACEMENT in game/src/ai/spawnTables.ts:592 (repository access required).

How a run places its count, and why it can fall short

  1. Only when the mall has a lingerie store: draw count = U{3..5} (one draw per store, rng.int); every one a shambler (no coat roll: the look is a lingerie set).
  2. Split: floor(count / 3) on the store's sales floor, the rest in its walk-in changing area (MallShop.changing: one rect per booth + the aisle) — 3 → 2 + 1, 4 → 3 + 1, 5 → 4 + 1.
  3. The changing area first: its booth rects in a seeded order, round-robin — one spawn per booth per pass (spread over the booths), each from up to 24 random picks of that booth's stand points; then the sales floor takes its share plus what the changing area could not hold; then the changing area takes what the floor could not.
  4. A pick is taken when it is ≥ 1.4 m from every enemy already on the storey and its fair-passage disc never splits the floor. Spacing and eligible floor can leave a run short of its count (placed < count); a run never regenerates the level.
  5. Each placed spawn is an ordinary zombie (the store's own pool, rolled by the one family roll at the end).

Checks that reject a whole generation attempt

Context defined at MALL_SPAWN_PROFILE.contexts.lingerie in game/src/ai/spawnTables.ts:623 (repository access required).

Room modifiers

All 73 room keys resolve to 1× for every family (neutral); the profile sets no room modifiers. A room key or family without an entry resolves to 1×, which leaves the baseline placement unchanged.

Room key = the area's purpose id (gen/purposes.ts) when it has one, else its room type. Each field resolves: purpose entry → room-type entry → 1 (missing = neutral). Two modifiers exist per room key and family. Density changes local intensity: how strongly the room's areas are preferred when spawns are spread. Weight changes conditional composition: which family a spawn placed in that room is. Neither changes the count range, and caps and spacing still apply. No explicit entries: every other room / family resolves to 1×. Rows list the room keys seen in the sampled census plus any explicit entry; a key not listed resolves to 1× as well.

What each room modifier changes (per room key and enemy family)
ModifierChangesHowAt 0At 2
Density (local intensity)local intensityarea weight × D, D = all.density × Σ_f p_f·w_f·d_f / Σ_f p_f·w_f (p = pool weight, w = weight modifier, d = density modifier); the room's family mix uses p_f·w_f·d_fD = 0: the room is never a candidate (no spawns there); the count roll and the other rooms are unchanged, so its spawns go elsewhere when capacity allows.The room is visited earlier in every cap pass, so it tends to fill its caps before the count runs out: more spawns there, fewer elsewhere, the same total.
Weight (conditional composition)conditional compositionP(family f | spawn lands in the room) = p_f·w_f·d_f / Σ_g p_g·w_g·d_gThat family never spawns in that room (its spawns there become the other families).Twice its relative odds in that room before normalisation; the room still attracts the same number of spawns.

The profile sets no explicit room modifier entries: every room key below resolves to the neutral 1×.

Shopping Center: resolved room modifiers for every room key the level can produce (1× = neutral)
Room keyKey kindSampled room typesRoom intensity D(room)Infected: densityInfected: weightBlightbelly: densityBlightbelly: weightSiren: densitySiren: weightTunnel scavenger (rat/dog): densityTunnel scavenger (rat/dog): weightStrainer: densityStrainer: weightScreacher: densityScreacher: weightBB: densityBB: weight
Station agent officeagent-officeRoom purposeStation agent office agent-office1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
BakerybakeryRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Burger counterburgerRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Coffee barcoffeeRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
ConcourseconcourseRoom typeConcourse concourse1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Donut shopdonutRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Hot-dog standhotdogRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Juice barjuiceRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Arcademall-arcadeRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Arcade back roommall-arcade-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Beauty storemall-beautyRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Beauty store stock roommall-beauty-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Bookstoremall-booksRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Bookstore stock roommall-books-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Clothing storemall-clothingRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Clothing store stock roommall-clothing-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Department storemall-departmentRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Department store stock roommall-department-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Electronics storemall-electronicsRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Electronics store stock roommall-electronics-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Mall first-aid stationmall-first-aidRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Floristmall-floristRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Florist workroommall-florist-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Kitchen store roommall-food-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Grocery storemall-groceryRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Grocery store stock roommall-grocery-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Gun shopmall-gunsRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Gun shop back officemall-guns-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Hardware storemall-hardwareRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Hardware store stock roommall-hardware-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Home storemall-homeRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Home store stock roommall-home-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Jewellermall-jewelryRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Jeweller back officemall-jewelry-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Kioskmall-kioskRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Lingerie boutiquemall-lingerieRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Lingerie boutique stock roommall-lingerie-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Luggage storemall-luggageRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Luggage store stock roommall-luggage-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Mall management officemall-managementRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Music storemall-musicRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Music store stock roommall-music-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Opticianmall-opticalRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Optician labmall-optical-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Outdoor outfittermall-outdoorsRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Outdoor outfitter stock roommall-outdoors-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pet storemall-petRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pet store stock roommall-pet-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pharmacymall-pharmacyRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pharmacy dispensarymall-pharmacy-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Phone storemall-phoneRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Phone store stock roommall-phone-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Mall security officemall-securityRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Shoe storemall-shoesRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Shoe store stock roommall-shoes-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Sporting goodsmall-sportsRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Sporting goods stock roommall-sports-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Toy storemall-toysRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Toy store stock roommall-toys-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Vacant unitmall-vacantRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Vacant unit back roommall-vacant-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Women's fashion storemall-womenswearRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Women's fashion store stock roommall-womenswear-backRoom purposeStock room stock-room1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Noodle counternoodlesRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Stair passagepassageRoom typeStair passage passage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Pizza counterpizzaRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
PlatformplatformRoom typePlatform platform1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Retail arcaderetail-arcadeRoom typeRetail arcade retail-arcade1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Service corridorservice-corridorRoom purposeService corridor service-corridor1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Shawarma grillshawarmaRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Maintenance storagestorageRoom purposeStorage room storage1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
Sushi countersushiRoom purposeShop shop1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×
WashroomwashroomRoom purposeWashroom washroom1×1×1×1×1×1×1×1×1×1×1×1×1×1×1×

Room intensity D(room) multiplies the room's baseline area weight (see placement rules). Defined at roomIntensity in game/src/ai/spawnTables.ts:992 (repository access required). Meaning of each field: room modifiers.

Sampled census

sampled Observed, not a rule. These figures come from running the real Shopping Center generator on a small fixed corpus: 4 generated layouts from seeds 11, 222, 3333, 44444, pistol start. Eligible floor is the floor the generator's own candidate filter accepted (64714 cells of 0.25 m², 16178.5 m² in total), not the map's bounding box. Densities are placed spawns per 100 m² of that eligible floor over this sample only. Families are counted with the seeded roster applied: what these levels hold. The roster changes families only, so the totals are the generator's.

SAMPLED: 4 sample levels of the registered generator (seeds 11, 222, 3333, 44444, shipped start weapon) WITH THE SEEDED ROSTER APPLIED (roster version 4: what a level holds; the roster only changes families, so counts, positions and eligible floor are the generator's). Eligible floor = cells the generator's own candidate filter accepted (walking distance, clearance, storey, stair / landing keep-off, weight > 0) x 0.25 m² — never bounding boxes. Not exhaustive; not a runtime rule.

Shopping Center: placed spawns per family with the seeded roster applied (sampled: 4 layouts)
FamilyPlaced over the sample (with the roster)Mean per levelSample levels that hold itPer 100 m² eligible floor (sampled)Placed by the per-spawn roll alone (before the roster pass)
Infectedzombie72184 of 40.44576
Blightbellyblightbelly61.54 of 40.0372
Sirensiren112.754 of 40.06811
Tunnel scavenger (rat/dog)ratdog10.251 of 40.0064
Strainerstrainer000 of 400
Screacherscreacher20.51 of 40.0120
BBbb10.251 of 40.0060
Shopping Center: placed spawns per generation context (sampled)
ContextEligible floor m²Placed over the sampleMean per levelPer 100 m² eligible floor (sampled)Placed by family (sampled outcome)
Station storey (platforms + Fountain court + station back of house, storey 0)1923.3153.750.78zombie 12 (80 %) · blightbelly 1 (6.7 %) · screacher 1 (6.7 %) · bb 1 (6.7 %)
Retail floor (each of storeys 1..3: courts, corridors, shops, stock rooms, service corridors)14057.86215.50.441zombie 44 (71 %) · blightbelly 5 (8.1 %) · siren 11 (17.7 %) · ratdog 1 (1.6 %) · screacher 1 (1.6 %)
Lingerie store (per store: changing area + sales floor)197.51648.1zombie 16 (100 %)
Shopping Center: placed spawns per area kind (sampled)
Area kindEligible floor m²Infected placedBlightbelly placedSiren placedTunnel scavenger (rat/dog) placedStrainer placedScreacher placedBB placedPer 100 m² eligible floor (sampled)
concourse9328112000100.15
passage21930000001.37
platform159930000100.25
room4601.35041110011.46
service431.350000001.16
Shopping Center: Infected spawns by type (sampled)
TypePlaced over the sample
coated17
shambler55
Shopping Center: room keys in the sample (sampled; baseline area weights as the generator assigned them)
Room keyBaseline area weight(s)Layouts with itAreasEligible floor m²Infected placedBlightbelly placedSiren placedTunnel scavenger (rat/dog) placedStrainer placedScreacher placedBB placedPer 100 m² eligible floor (sampled)
Station agent officeagent-office1.34427.2520000007.34
Bakerybakery6111400100007.14
Burger counterburger62220.2501000004.94
Coffee barcoffee63352.2500000000
Concourseconcourse1411140.521000002.14
Donut shopdonut61118.2500000000
Hot-dog standhotdog6111000000000
Juice barjuice62345.510000002.2
Arcademall-arcade633170.311000001.17
Arcade back roommall-arcade-back1.3333800000000
Beauty storemall-beauty63369.2500010001.44
Beauty store stock roommall-beauty-back1.3337.7500000000
Bookstoremall-books63390.510100002.21
Bookstore stock roommall-books-back1.3331800000000
Clothing storemall-clothing64610010300004
Clothing store stock roommall-clothing-back1.34610.2500000000
Department storemall-department64435911000000.557
Department store stock roommall-department-back1.344105.300000000
Electronics storemall-electronics62285.2500000000
Electronics store stock roommall-electronics-back1.32210.2500000000
Mall first-aid stationmall-first-aid62234.500000000
Floristmall-florist6222300000000
Florist workroommall-florist-back1.3222.7500000000
Kitchen store roommall-food-back1.341717.7500000000
Grocery storemall-grocery64449710000000.201
Grocery store stock roommall-grocery-back1.344164.300000000
Gun shopmall-guns646138.820000001.44
Gun shop back officemall-guns-back1.34615.2500000000
Hardware storemall-hardware644207.510100000.964
Hardware store stock roommall-hardware-back1.34453.2500000000
Home storemall-home644166.800100000.6
Home store stock roommall-home-back1.34433.2510000003.01
Jewellermall-jewelry61122.2500000000
Jeweller back officemall-jewelry-back1.3114.2500000000
Kioskmall-kiosk641024.2510000004.12
Lingerie boutiquemall-lingerie144197.5170000008.61
Lingerie boutique stock roommall-lingerie-back1.34437.500000000
Luggage storemall-luggage6119.2500000000
Luggage store stock roommall-luggage-back1.311400000000
Mall management officemall-management62243.2500000000
Music storemall-music644119.530000002.51
Music store stock roommall-music-back1.34415.500000000
Opticianmall-optical61116.7500000000
Optician labmall-optical-back1.3111.500000000
Outdoor outfittermall-outdoors62212610100001.59
Outdoor outfitter stock roommall-outdoors-back1.32230.2500000000
Pet storemall-pet61145.2500000000
Pet store stock roommall-pet-back1.3117.2500000000
Pharmacymall-pharmacy64490.520000002.21
Pharmacy dispensarymall-pharmacy-back1.3446.7500000000
Phone storemall-phone62233.2510000003.01
Phone store stock roommall-phone-back1.3224.2500000000
Mall security officemall-security64459.7500000000
Shoe storemall-shoes62259.2510100003.38
Shoe store stock roommall-shoes-back1.3221100000000
Sporting goodsmall-sports644161.311000001.24
Sporting goods stock roommall-sports-back1.34435.7500000000
Toy storemall-toys633126.500000000
Toy store stock roommall-toys-back1.33338.500000000
Vacant unitmall-vacant644258.800100000.386
Vacant unit back roommall-vacant-back1.341230.2510000003.31
Women's fashion storemall-womenswear64487.2530100004.58
Women's fashion store stock roommall-womenswear-back1.34411.500000000
Noodle counternoodles62217.510000005.71
Stair passagepassage142221930000001.37
Pizza counterpizza62216.5200000012.12
Platformplatform2.248159930000100.25
Retail arcaderetail-arcade142559187.591000100.12
Service corridorservice-corridor1.3448431.350000001.16
Shawarma grillshawarma61110.2510000009.76
Maintenance storagestorage1.3443510000015.71
Sushi countersushi6111000000000
Washroomwashroom0.543218820000001.06

Horde members in the sample (separate pool)

Members
99 over the sample (24.75 per level)
Groups
8 (2 per level), 6–18 members each
By family
Infected 99, Blightbelly 0, Siren 0, Tunnel scavenger (rat/dog) 0, Strainer 0, Screacher 0, BB 0
By starting storey
storey 1: 42, storey 2: 20, storey 3: 37

Horde members are the SEPARATE horde pool (profile.horde): not part of the ambient counts, contexts, eligible floor or room rows above. Rules: roaming hordes.

How to read these numbers

More: How to read enemy numbers.

Where to tune it

Each value names the source file and export where it lives (the game repository is private).

Shopping Center: where each enemy spawn value is tuned
ValueCurrentWhere it lives
count range (pit)3–5MALL_SPAWN_PROFILE.contexts.pit.count in game/src/ai/spawnTables.ts:615 (repository access required)
count range (ring)4–6MALL_SPAWN_PROFILE.contexts.ring.count in game/src/ai/spawnTables.ts:617 (repository access required)
count range (service)5–6MALL_SPAWN_PROFILE.contexts.service.count in game/src/ai/spawnTables.ts:691 (repository access required)
count range (lingerie)3–5MALL_SPAWN_PROFILE.contexts.lingerie.count in game/src/ai/spawnTables.ts:691 (repository access required)
family pool weightszombie 0.1, blightbelly 0.05, siren 0.8, ratdog 0.05, strainer 0, screacher 0, bb 0MALL_ENEMY_POOL in game/src/ai/spawnTables.ts:559 (repository access required)
coated chance0.4ZOMBIE_TYPES in game/src/ai/spawnTables.ts:379 (repository access required)
area weights5 rules, otherwise 1.3MALL_AREA_WEIGHTS in game/src/ai/spawnTables.ts:467 (repository access required)
capspasses 1 / 2 / 3; 2 rulesMALL_CAPS in game/src/ai/spawnTables.ts:479 (repository access required)
tries per area visit14MALL_PLACEMENT.tries in game/src/ai/spawnTables.ts:488 (repository access required)
spacing (m)4MALL_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:488 (repository access required)
keep-away from the start (cells)18 m walking36MALL_PLACEMENT.startCells in game/src/ai/spawnTables.ts:488 (repository access required)
landing keep-off (m)5MALL_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:488 (repository access required)
area weights6 rules, otherwise 1.3MALL_RING_AREA_WEIGHTS in game/src/ai/spawnTables.ts:501 (repository access required)
capspasses 1 / 2 / 3; 2 rulesMALL_CAPS in game/src/ai/spawnTables.ts:479 (repository access required)
tries per area visit14MALL_RING_PLACEMENT.tries in game/src/ai/spawnTables.ts:598 (repository access required)
spacing (m)4MALL_RING_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:534 (repository access required)
keep-away from the start (cells)18 m walking36MALL_RING_PLACEMENT.startCells in game/src/ai/spawnTables.ts:598 (repository access required)
landing keep-off (m)5MALL_RING_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:598 (repository access required)
area weights2 rules, otherwise 1.4SERVICE_AREA_WEIGHTS in game/src/ai/spawnTables.ts:387 (repository access required)
capspasses 1 / 2; 1 rulesSERVICE_CAPS in game/src/ai/spawnTables.ts:396 (repository access required)
tries per area visit12SERVICE_PLACEMENT.tries in game/src/ai/spawnTables.ts:406 (repository access required)
spacing (m)5SERVICE_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:406 (repository access required)
keep-away from the start (cells)18 m walking36SERVICE_PLACEMENT.startCells in game/src/ai/spawnTables.ts:406 (repository access required)
landing keep-off (m)6SERVICE_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:406 (repository access required)
area weights1 rules, otherwise 0LINGERIE_PLACEMENT.areaWeights in game/src/ai/spawnTables.ts:593 (repository access required)
capspasses 5; 0 rulesLINGERIE_PLACEMENT.caps in game/src/ai/spawnTables.ts:597 (repository access required)
tries per area visit24LINGERIE_PLACEMENT.tries in game/src/ai/spawnTables.ts:598 (repository access required)
spacing (m)1.4LINGERIE_PLACEMENT.spacingM in game/src/ai/spawnTables.ts:598 (repository access required)
keep-away from the start (cells)18 m walking36LINGERIE_PLACEMENT.startCells in game/src/ai/spawnTables.ts:598 (repository access required)
landing keep-off (m)5LINGERIE_PLACEMENT.landingKeepM in game/src/ai/spawnTables.ts:598 (repository access required)
room modifiersroom key → family (or all) → {density, weight}none (all 1×)MALL_SPAWN_PROFILE.rooms in game/src/ai/spawnTables.ts:625 (repository access required)
eligibility (siren)ring; fallback zombie; at most 4 per levelMALL_SIREN_ELIGIBILITY in game/src/ai/spawnTables.ts:519 (repository access required)
spacing (siren, m)whole level, with the cap24MALL_SIREN_SPACING in game/src/ai/spawnTables.ts:533 (repository access required)
difficulty tiermetadata only (no scaling)2LEVELS.mall.tier in game/src/levels/registry.ts:87 (repository access required)
horde groups per level1–2MALL_HORDE in game/src/ai/spawnTables.ts:566 (repository access required)
horde members per group5–20MALL_HORDE in game/src/ai/spawnTables.ts:566 (repository access required)
horde budget (total / per storey / groups per storey)32 / 20 / 1MALL_HORDE in game/src/ai/spawnTables.ts:566 (repository access required)
horde family poolzombie 1, blightbelly 0, siren 0, ratdog 0, strainer 0, screacher 0, bb 0MALL_HORDE in game/src/ai/spawnTables.ts:566 (repository access required)
ambient budget (total / per storey)23 / 6MALL_SPAWN_PROFILE.budgets in game/src/ai/spawnTables.ts:630 (repository access required)
seeded roster rate (blightbelly)chance a level map holds the family at all; one roll per level seed0.6FAMILY_ROSTER.blightbelly in game/src/ai/enemyRoster.ts:154 (repository access required)
seeded roster rate (siren)chance a level map holds the family at all; one roll per level seed0.85FAMILY_ROSTER.siren in game/src/ai/enemyRoster.ts:156 (repository access required)
seeded roster rate (ratdog)chance a level map holds the family at all; one roll per level seed0.6FAMILY_ROSTER.ratdog in game/src/ai/enemyRoster.ts:158 (repository access required)
seeded roster rate (strainer)chance a level map holds the family at all; one roll per level seed0.35FAMILY_ROSTER.strainer in game/src/ai/enemyRoster.ts:160 (repository access required)
seeded roster rate (screacher)chance a level map holds the family at all; one roll per level seed0.4FAMILY_ROSTER.screacher in game/src/ai/enemyRoster.ts:162 (repository access required)
seeded roster rate (bb)chance a level map holds the family at all; one roll per level seed0.4FAMILY_ROSTER.bb in game/src/ai/enemyRoster.ts:175 (repository access required)