- Kept the default tactical camera in the projector blackout; lights go out ~2 s after crossing the screen (Pending phase with normal play/grace) - Removed the blackout task HUD (progress card, dots, instructions); replaced with close-range world-anchored FBC inspection placards for the screen, phones and the glass case - Fixed manual J/K/U presses feeling dead: queued a press while the skill is on cooldown and flashed the HUD stamp immediately; cleared the queue on autoplay toggle and during the pocket. Added a regression test - Added a --blackout-near-phone QA hook; updated design docs and README
23 KiB
FBC: NIGHT SHIFT — Game Design
1. Vision
October 2019. The Hiss breach is hours old. Director Trench is dead on his office floor and nobody has told Jesse Faden yet. You are an FBC security guard with a Service Weapon you are not fully authorized to carry, and the Oldest House is eating itself.
A real-time auto-brawler (Vampire Survivors heritage) in the Control universe: you move with WASD or a stick while your Objects of Power autoshoot. Skills are enabled and disabled in real time and nothing pauses — the run is never interrupted.
The player is a nameless worker in the Oldest House — an everyday FBC worker who never resonated when the other class employees became Resonant. That silence is why he's still an FBC worker instead of the Director.
The setting is the night just before Jesse Faden becomes Director: the run ends when Jesse walks into the Executive floor (radio: "Ma'am? ...Ma'am, who are you?") — the player is not Jesse.
We battle Hiss-corrupted people ("taken" staff), monsters from thresholds, run quests for Objects of Power, find keys to open new floors, and fight elite tiers. Every buff and debuff lives on the scene (ECS-like; see §4.5).
Tone slot: as above — radio chatter, Ahti chores, redacted documents as pickup lore, the Board adjudicating your upgrades.
Working title: FBC: NIGHT SHIFT (alternates: OLDEST HOUSE: BREACH, AWE: NIGHT SHIFT, CONTROL: BREACH PROTOCOL).
2. Core loop
-
Move (WASD or stick), auto-fight. Dash = Evade. Owned Objects of Power fire on their own cooldowns/targeting rules; each can be enabled or disabled in real time. Magnets: kills drop cyan Resonance Shards that pull toward the player (inside the shard
pickup_radius) and grant XP only. Buffs/debuffs live on world objects (§4.6), caught with their own field radius and never attached to a crystal. No pause: enemy spawn, floor scaling, ritual triggers and skill acquisition advance while the player thinks (the only transitions are quest markers and ritual encounters). -
Kill Hiss -> Resonance Shards (XP) -> Level Up. New Directives/Rituals/ Tune-ups roll as real-time HUD offers when XP crosses a threshold and apply automatically when the player is idle for a while — nothing is picked, the run never pauses. In parallel, the House scatters world objects of power — SCP-like items (§4.6); when caught, they apply automatically — the player has no way to tell beforehand what they are.
-
OoP Rituals — the signature mechanic (manual OoPs only). A quest marker appears ("OoP detected: RESEARCH FLOOR — TV SET"). Reach it -> start the ritual — a ritual-in-progress indicator appears (e.g.
RITUAL IN PROGRESS — TV — WAITING). Complete it -> the OoP becomes your skill/weapon permanently for the run. Mega Man structure: you don't buy powers, you survive them. (World objects from §4.6 are the other way to get new powers — by catching.)Ritual MVP (TV): when the player reaches the TV, the ritual starts and the player stays around — 60 s later the TV is live (a debuff-clearing Buff). The ritual system is singular — one active ritual per run; it is replaced when a new one starts.
Lightswitch ritual (the complex ritual, §2.3 design): the fluorescents along the beam strips darken as the House decays (ART_DIRECTION S0 — "one wall strip and one beam strip dark"). A lightswitch stands at
kLightSwitchPosnear the dead beam strip (diorama world, z = −8). The House flipped it into the dead sector; the guard flips it back — by catching with the magnet, not by hand. Flow (the TV MVP states generalize — nothing pauses, the run advances throughout):- Start: when the player reaches the switch
(
distance(player.pos, kLightSwitchPos) <= kSwitchRadius= 3 m) the ritual starts; HUD:RITUAL IN PROGRESS — LIGHT SWITCH — CATCHING (0/3). - Bait: on start the ritual drops 3 bait world objects in a ring of radius 2.5 m around the switch ("the House drops objects near its broken switches as bait"). They have no buff effect — they are the ritual's counters, caught by the world-object field radius (2.8 m), separately from the shard magnet.
- Catch: the player uses the magnet (Evade/pickup) to catch the bait — "catch a few objects near the switch". A catch counts when its bait leaves the world-object pool (picked up).
- Activate: the last catch activates — the fluorescents revive:
the presenter draws the beam strip near the switch as lit (the switch
plate reads bright). Mechanically, the Fluorescent Light reward —
BuffSystem::applyon every enemy withinkLightRadius(4 m) of the switch:damage_taken_mult = 1.25ffor 12 s, name "FLUORESCENT LIGHT" (§4.5/§4.6 catalog). Light burns the House. - Claim: the ritual completes → the OoP becomes skill/weapon permanently
for the run — the §2.3 MVP channel: ritual offers roll as real-time HUD
offers when XP crosses a threshold (§2.2) and apply automatically when
the player is idle.
Numbers:
kLightSwitchPos = {0, −8}; switch radius 3.0 m; object ring radius 2.5 m; 3 bait; light radius 4.0 m; light duration 12 s; enemydamage_taken_mult1.25; catch displayed as "CATCHING (n/3)". Edge cases: bait spawns bypass the random-rate roll (the ritual is a quest, not scatter); if the world-object cap blocks a bait, the ritual completes after the remaining catches (required = 3 − failed_spawns); the switch is a new prop (ActorModel::Switch, S11 props pipeline — presenter fallback draws a plate until art lands); the HUD completes withRITUAL COMPLETE — Fluorescents revived. Projector-screen blackout (implemented, seedocs/BLACKOUT_RITUAL.md): the Projector Room's big screen is a threshold. Walk into it and, after a ~2 s beat (normal camera and lighting continue during the grace), the House goes black — only the agent and 20 red-phone tables (a fixed 5 × 4 grid) are drawn. Walk over all 20 phones (no order, no wrong answers); a translucent glass case with a yellow Board roof and the Light Switch inside appears at the screen. Entering the case restores the lights and grants the permanentFLUORESCENTactive skill (U/ gamepad face-left, 6 m light, enemies take ×1.25 damage for 10 s, 14 s cooldown, autoplays like the other skills). The Director stops spawning and enemies freeze during the pocket, but the corruption clock keeps running — the run never pauses. Claimable once per run; a floor jump makes it available again.
- Start: when the player reaches the switch
(
-
OoP Evolutions: OoP lv4 + a specific passive = Altered Form (build-crafting layer).
-
Floors get progressively harder (§3 corruption escalation) and each floor has Threshold Keys (elite drop / side room / quest reward) -> the floor's threshold door unlocks -> next sector.
-
Run ends at the Executive floor: the new Director walks in (radio: "Ma'am? ...Ma'am, who are you?"). Death = containment failure. Endless Shift mode after.
Skill acquisition is real-time, not a pause: when XP crosses a threshold, the new offer pool rolls and the offers appear on the HUD (RoR2 "intrinsics" analog). Each offer auto-applies when the player hasn't reacted for N seconds; the run continues (corruption, spawns, ritual triggers) throughout — nothing is picked on a pause screen.
Skill management: every owned OoP has an enabled/disabled flag. Enabled means "fires on cooldown" (auto-implemented, like Vampire Survivors); disabled means dormant. There is no separate hotkey-driven skill wheel to open during the run — toggling happens in the OoP loadout (HUD).
Active skills are a separate, keyed layer: CONCRETE CALL (J / gamepad Y)
gathers a heap of concrete at the agent and throws it at the nearest enemy
crowd (6 s cooldown, 3.4 m blast, brief ground telegraph at the landing zone).
WARP (K / gamepad B) grabs the nearest crowd, drags every enemy in a 4.5 m
field together over 0.75 s, then collapses the field for 75 damage (9 s
cooldown, teal containment rings telegraph the collapse).
Every active skill also autoplays when the player hasn't pressed its key
recently — a manual press takes control for a few seconds, then autoplay
resumes; [L] disables autoplay for players who want fully manual skills.
New active skills join the same SkillSystem cast/autoplay path, so the
no-button playstyle keeps working. A manual press is queued while the skill
cools down (autoplay otherwise keeps the cooldown spent, making J/K feel
dead), and the HUD stamp flashes white on every press. The queued cast fires as
soon as the skill is ready; pressing [L] back into autoplay drops any queue.
3. Corruption — Risk of Rain 2 progressive difficulty, FBC skin
The clock is the enemy. The longer you loot, the more the House decays. RoR2 structure, taken deliberately:
- Continuous time-based scaling (not stage-based): corruption coefficient
c(t) = base + growth_per_second * t, with a jump and a faster growth rate each time a sector is cleared (RoR2 jumps difficulty on each environment completed, exponentially across loops). Corruption is global to the run — the House does not reset because you changed floors. - Named sub-difficulty tiers (RoR2: Easy -> "I SEE YOU" -> "I'M COMING FOR YOU" -> HAHAHAHA). The tier is what the player feels.
- Credit-based spawn Director (RoR2 exact structure): credits accumulate over time scaled by corruption; spawn cards cost credits; the "too cheap" rule — at high corruption the director refuses to spend its budget on weak mobs and saves for big threats. This is why RoR2 stops feeling like a horde and starts feeling like a hunt.
- Elite tiers with affixes (RoR2 numbers: T1 = 6x cost, 3-5x HP, 2x dmg; T2 = 36x cost, 18x HP, 6x dmg, unlocked late-run).
- Difficulty modes: Drizzle/Rainstorm/Monsoon -> TRAINING / FIELD DUTY / DIRECTOR'S GAUNTLET (scaling pace x0.5 / x1.0 / x1.5, regen/armor tweaks).
- The teleporter = our key door + OoP ritual. RoR2's "do I leave yet?" maps onto "the threshold key is in my pocket, one more side room or go?".
- Shard drop values scale with corruption so the economy stays alive as prices rise.
- Floor jump is wired to the run structure:
Corruption::floor_cleared()incrementsfloors_when a floor's Threshold Key is taken (§7), so the RoR2 exponential loops map onto sectors of the run.
Tier ladder (HUD: "CONTAINMENT STATUS" table, top right — shift clock, tier, countdowns and gauge)
| Tier | Label | Unlocks |
|---|---|---|
| 0 | NOMINAL | baseline spawn cards |
| 1 | ELEVATED | T1 Hiss-shifted elites (Resonant, Phasing) |
| 2 | ALARM | director credit rate up; Taken surface |
| 3 | BREACH | full T1 affix pool; spawn caps up |
| 4 | CRITICAL | T2 elites (Volatile, Shielded, Mending) |
| 5 | CASCADE | "too cheap" rule tightens; mold storms |
| 6+ | "THE HOUSE NOTICED YOU" -> "IT'S WEARING YOUR FACE" -> TOTAL RESONANCE | endless escalation (HAHAHAHA lv 99) |
Every tier-up is an event: radio static crackle, a Board line in yellow ("The Board is... monitoring your situation."), red flash, chanting layer intensifies. RoR2 makes difficulty theatrical; so do we.
Current tuning (M6 progression pass — the 20-minute hardcore curve)
The 2026-11-24 pacing pass keeps this difficulty clock intact but slows the
player ramp considerably so the Service Weapon delivers ~60 shots/min at
level 1 and never exceeds ~90 shots/min fully upgraded — see §11 and
docs/GAME_DESIGN_PASS.md.
c(t) = 0.05 + 0.0016 * t + 0.10 * floors_cleared; tier = c / 0.25. One tier per ~2.6 min, TOTAL RESONANCE at ~20 min of untouched play. Floors still jump the clock (RoR2 stage difficulty) — clearing one shaves about a minute off the run, which is the greed-vs-clock trade.
Enemy HP x (1 + 1.1c), contact damage x (1 + 0.65c), speed x (0.75 + 0.4c). Speed and damage are re-read every tick, so the whole horde gets faster and deadlier as c rises, not only new spawns; the 0.75 base makes the opening Hiss sluggish next to the 7.5 m/s guard.
Director income = 4 + 14c + 50c^2 credits/sec (cap 240). The quadratic term is what keeps the first minutes quiet and the last minutes a hunt. Spawn attempts every 1.5/(1 + 5c) s (floor 0.10 s). Cards: Hiss Staff 9 (t>0), Hiss Ghost 7 (t>25 s), Mold Spore 5 (t>90 s), Hiss Brute 24 (t>180 s). Card rolls are weighted by cost^(0.3 + 0.65c) — cheap mobs early, heavies late; cards below 25% of the bank are skipped ("too cheap"), and a bank above 92% of the cap is released as a 3-card squad (the RoR2 "director saved up" beat). Enemy cap 260; contact hits keep the 0.5 s global i-frame so swarms cannot burst the guard down.
Simulated ramp with no floor clears: ~0.7 spawns/s at 0:00, ~1.6/s at 2:00, ~2.5/s at 5:00, ~4/s at 10:00, ~6.7/s at 20:00. The HUD table exposes the shift clock plus live NEXT TIER and CASCADE IN countdowns so the player can read the clock instead of only feeling it.
4. Weapons — Objects of Power (auto-fire when enabled; levels + evolutions each)
Design note: an OoP is a component-style bonus (see §4.5): when enabled it acts on the scene, applying player stat mods (damage, speed, regen, armor…) and — importantly — debuffs on enemies. When disabled it goes dormant until re-enabled.
| OoP | Behavior | Altered Form (evolution) |
|---|---|---|
| Service Weapon: Spin | Measured auto-projectiles at nearest, slow to ramp (§11) | +Pierce passive -> Spin: Corridor (piercing ricochets) |
| Service Weapon: Shatter | Shotgun cone | +Black Rock -> Shatter: Quarry (knockback wall) |
| Service Weapon: Charge | Slow homing nuke on densest cluster | +Board Favor -> Charge: Directive (marks target, bonus dmg) |
| Rubber Duck | Persistent homing familiar | +Levitate -> Duck Ascendant |
| Floppy Disk | Blink trail damaging where you teleported | +Evade -> Disk: Save State (rewinds you 3s) |
| Benicoff TV | Broadcast beam sweeping a lane | +Shield -> TV: Emergency Broadcast (full-screen flash stun) |
| Hotline | Artillery strike on densest cluster | +Board Favor -> Hotline: The Board Answers (double strike, yellow beam) |
| Launch (telekinesis) | Debris auto-pelts random enemies | +Launch training -> Launch: Mass Driver |
| Jukebox | Sonic nova, knockback + charm chance | +Seize -> Jukebox: Last Dance (charmed enemies explode) |
| X-Ray Lightbox | Freeze/petrify cone | +Polaris -> X-Ray: Diagnosis (shatters frozen enemies) |
4.5. Buffs & Debuffs (scene-wide, ECS-like)
Buffs and debuffs are real-time, entity-component-system parts of the world — not just player stat edits. Design:
- Subject: player (id −1) or a specific enemy.
BuffEffect: stat multipliers + instant effects, e.g.speed_mult,damage_mult,hp_mult,player_dmg_mult,regen,armor_bonus,confuse_prob,slow_frac,dot_dps,immune_to_hiss,taken…- Duration: 0 = permanent, else seconds; when it lapses it is removed.
- Systems:
BuffSystem::apply(subject, effect, duration)+update(); per-frame bundles recompute:Player::mods(damage/speed/regen/armor/ confusion resistance…) andEnemy::mods(speed, damage, hp, confuse, slow, dot…). UI: floating icons over the player + enemies with duration bars.
Proposed catalogs (RoR2-inspired, expandable):
| Buff | Subject | Effect |
|---|---|---|
| Damage Amplification | player | damage mult up (additive, stackable) |
| Speed Surge | player | speed mult up |
| Fire Rate (x%, scale with level) | player | fire rate mult up |
| Regeneration | player | +X HP/s while active |
| Armor Plate | player | +X armor (stackable) |
| Confusion Immunity | player | confusion/stun immune |
| Slow | enemy | speed fraction (e.g. −60%) |
| Dot | enemy | small continuous damage per second |
| Vulnerable | enemy | +X% damage taken |
| Confused | enemy | steers toward player while attacking |
| Immune | enemy | resonance immune (T1 variant) |
| Taken | enemy | silent until the player is nearby; pulls the player |
| Fluorescent Light (event) | enemies within light radius | damage_taken_mult ×1.25 (12 s) — the lightswitch revival reward |
Apply points:
- Elite tiers / T1 elasticity (§3, §6): resonant, phasing, shielded, mending, volatile specials map to the catalog.
- Time events: tier-up pulses, shop offers.
- World objects (§4.6) — caught inside their own field radius, the effect applies immediately; the player has no way to tell beforehand. Crystals are progression-only and never appear in this list.
4.6. World Objects of Power — random SCP-like items (catch = apply)
The House scatters world objects of power — small SCP-like artifacts on the
floor (a glow + a flavor name). They are not manual OoPs — no ritual, no
evolution, no level. The mechanic: caught = application
(BuffSystem::update_world_objects, §2.1). Objects use their own 2.8 m field
radius, independent of the XP shard magnet and its upgrades. When the player
enters that field, the object is consumed and applies its effect — to the
player, or to the nearest enemy if one is nearby
(BuffSystem::apply(subject, effect, duration)). Cyan Resonance crystals are
not world objects: they carry XP only and can never apply a buff/debuff.
- Enemy channel (implemented): objects caught near enemies apply to them —
ENEMY_SLOW(−40% speed, 20 s),ENEMY_BURN(enemy burns 0.4 DPS, 25 s),ENEMY_VULNERABLE(+30% damage taken by enemies, 25 s),ENEMY_IMMUNE(resonance immune, 10 s). - Unidentified ("the player wouldn't know when for now"): the player cannot tell what a world object is before catching. No hover/inspect UX yet; the only "reveal" is experience. Visuals like glow-color coding = optional (§ART_DIRECTION).
- Player channel (debuffs):
Slow— player −35% move speed (30 s)Confuse— confusion ×4, enemies pull the player (10 s)Taken— pulls the player toward enemies, immune while near (12 s)Dot— nearby enemies deal 1.5–2.5 DPS (20 s)Vulnerable— enemies deal +30% damage to the player (25 s)
- Enemy channel (debuffs):
Slow— enemies −40% speed (20 s)Dot— enemy burns 0.4 DPS (25 s)Vulnerable— enemies +30% taken damage (25 s)Immune— resonance immune (10 s)
- Spawn rules (2026-11-24 decoupling):
- Kills drop XP crystals only — no buff/debuff object on the corpse.
- Objects come from rituals (lightswitch bait, TV reward) and other objects/rooms (e.g. the Security Booth cache); explicit spawns always pay out. The unimplemented director ring scatter is dropped from scope.
- Cap: 15 active world objects; each has a fixed effect and duration from the catalog above.
- Balance notes: player HP is 100 — confusion/slow/vulnerable accepted
tension; watch confusion chains on early run; cap object-stacked effects
(e.g., max 3
Vulnerablefrom objects). - Interaction with elite auras (§3, §6): world objects are the same system — one channel, no double-count.
5. Passives ("perks")
(flat player components, same mechanical space as §4.5; the component pipeline is the §4.5 style.)
Levitate (move speed), Evade (dash cooldown), Shield (regenerating barrier), Black Rock Plating (armor), Polaris (regen + cleanse), Board Favor (rarity odds + reroll), Seize (charmed kills), Maintenance Training (cooldowns).
(Proposed additions, using the §4.5 mechanisms:) Evade (shorter dash cooldown), Shield (regenerating barrier, additive), Polaris (regen + cleanse debuffs), Seize (charmed kills + bonus damage).
6. Enemies
Enemies are entities; base stats are a table, and their damage/speed/hp run
through the EnemyMods bundle from Buffs (§4.5): elite affixs are simply
buffs applied at spawn.
- Hiss Corrupted Staff — slow floaters, the iconic chanting crowd (basic).
- Hiss Elevated — teleports onto you (M2+).
- Hiss Cluster — stationary spitter (M2+).
- Mold Spore — fast weak swarm.
- Mold Host — tanky melee.
- Threshold Creature — glass cannon.
- Taken — Bright Falls AWE crossover (the AWE DLC makes this canon); shadow figures that split on death.
- Hiss Brute — elite-tier heavy.
- Elite affixes (Hiss-shifted): Resonant (damage aura), Phasing (teleports), Volatile (explodes on death), Shielded (black-rock shell), Mending (mold heals nearby). T2 pool gates at high corruption.
Bosses: esseJ (mirror match using your own loadout), the Former (hand sweeping the arena), Mold-1 (arena floods with mold), Hiss-Marshall (minions + heavy slams).
7. Floors, quests, keys, shop
Handcrafted room templates, randomized assembly (not full procgen):
- Maintenance — tight corridors, mold.
- Research — open labs, Hiss staff.
- Containment / Panopticon — cells, Altered Item guardians.
- Executive — finale, Hiss-Marshall, then Jesse arrives.
Each floor: OoP ritual quest markers, side rooms (greed vs. corruption clock), a Threshold Key somewhere (elite drop / side room / quest reward). Oceanview Motel between floors = shop: turn off the lights, answer the phone, a door opens — free flavor for a reroll shop. Rerolls = "Redacted intel".
8. Meta progression
Between runs, Panopticon cells: spend run score to unlock OoPs/passives into the pool and starting loadout slots. Lateral unlocks, not stat creep.
9. Board Directives (M1 set) — offered, not picked
The Board's Directive buffs roll as real-time HUD offers when XP crosses a threshold (§2.2) and apply automatically when the player is idle — there is no picking on a pause screen, since the run never pauses; the buffs are scene effects, not a picked component list.
THREAT ASSESSMENT (+20% damage), RAPID CYCLING (+8% fire rate), FIELD CONDITIONING (+12% move speed), HARDENED VEST (+25 max HP, heal 25), RESONANCE ATTUNEMENT (+40% pickup radius), PIERCING ROUNDS (+1 pierce), BOARD FAVOR (+8% damage, +4% fire rate). The Maintenance passive adds another +5% fire rate per stack.
10. Run end & modes
Reach the Executive floor = run won (canon ending: Jesse arrives). Death = run over. Endless Shift after the finale. Score = "Containment Rating".
11. Pacing pass (2026-11-24) — slower player ramp
The run used to reach 200+ Service Weapon shots/minute inside the first minute. Everything on the player side now ramps more slowly; the corruption clock and the 20-minute run length are deliberately unchanged.
| Knob | Before | Now |
|---|---|---|
| Spin base cooldown | 0.55 s (~109/min) | 0.95 s (~63/min) |
| Cooldown per OoP level | −8% (−24% at L4) | −3% (−9% at L4) |
| Damage per OoP level | +35% (+105% at L4) | +28% (+84% at L4) |
| Rapid Cycling / Board Favor / Maintenance | +15% / +8% / +10% | +8% / +4% / +5% |
| XP to next level | 6 + 4·(level−1) | 10 + 6·(level−1) |
| Offer interval / idle fast-track | 2 s / 3 s | 3 s / 5 s |
| Director base income / spawn interval | 4 / 1.5 s | 3 / 2.0 s |
Worst-case Spin cadence: 0.95 × 0.91 / (1.08 × 1.04 × 1.05³) ≈ 0.67 s,
i.e. ~90 shots/min, down from ~237/min. The slower director income keeps
the opening kill race fair against the longer time between shots.