Jump to content

Mods.GTFO.CrashTestDummies/SPEC

From MindAttic Docs

Mods.GTFO.CrashTestDummies — Product specification

The complete product, written down before it is built (owner, 2026-11-30, MAT-T360). Every epic, feature and story the finished product will have is listed here, built or not. The ticket tree mirrors this file one to one: every ID below is a ticket. Nothing gets built unless it is here, and anything taken out of here is closed wont-do in the tree. docs/RELEASE.md says which part of this the current milestone delivers.

1. Product definition

In docs/ECOSYSTEM.md (the workspace's source), this repo is a product in the Mods family, a standalone GTFO mod released on its own, outside the GTFO.EZ family.

GTFO.CrashTestDummies is a BepInEx mod for GTFO that fills a level with sleeping Strikers to fight: a scatter on the drop, an ambush past each alarm door and an ambient trickle, never seen popping in or out, under a population cap and a framerate safety valve. It is published on Thunderstore as GtfoCrashTestDummies at 20.0.0. The finished product: the docs send players to the listing, and the owner confirms dummies spawn on the current game build.

2. Scope boundary

2.1 In the product

  • Three spawn triggers, hidden spawn and despawn spots, the population cap with recycling, the framerate valve.
  • Host-only, level-scoped routines.

2.2 Never in the product

  • New enemy types, spawn triggers or UI.
  • Insert/Delete toggles (dropped in v17).
  • Joining the GTFO.EZ lockstep /publish.
  • Open-ended bug hunts or soaks.

3. Users and roles

  • Host: runs the mod; only the host spawns or recycles. Players: fight the dummies.

4. Requirements

E1. Crash test dummies — G.CTD-T60 — built

F1.1 Spawning — G.CTD-T61 — built

  • S1.1.1 Scatter on drop — G.CTD-T62 — built Acceptance: Given a level start, when 2 s have passed after the drop, then 100 sleeping Strikers are 10-100 m away and the drop area is clear.
  • S1.1.2 Alarm door ambush — G.CTD-T63 — built
  • S1.1.3 Ambient trickle — G.CTD-T64 — built
  • S1.1.4 Never seen popping — G.CTD-T65 — built

F1.2 Performance guard — G.CTD-T66 — built

  • S1.2.1 Population cap and recycling — G.CTD-T67 — built
  • S1.2.2 Framerate safety valve — G.CTD-T68 — built Acceptance: Given the host's average framerate below 45, when the 5 s check runs, then out-of-sight dummies are recycled oldest first.
  • S1.2.3 Host-only and level-scoped — G.CTD-T69 — built
  • S1.2.4 One level loop (debt) — G.CTD-T74 — built Acceptance: Given the ambient trickle, the cleanup sweep and the framerate valve, then one LevelLoop owns their interval floor, level-current check, enabled-and-host gate and guarded pass, and cleanup's two despawn paths share one hide-check-and-recycle step; behaviour is unchanged.

F1.3 Published — G.CTD-T70 — built

  • S1.3.1 Bughunt decisions resolved — G.CTD-T47 — built. Evidence: 40ac4c4.
  • S1.3.2 v20.0.0 on Thunderstore — G.CTD-T48 — built. Evidence: ef0380d.
  • S1.3.3 Developer build and package — G.CTD-T71 — built. Evidence: 272dbba. A developer builds the plugin into the mod-manager profile and packages the Thunderstore zip, Core DLL included, with build.ps1.

E1 membrane and debt

  • Membrane: Crash test dummies works as one — G.CTD-T75 — built. Evidence: 272dbba (Plugin.cs, LevelPatches.cs). Plugin binds every feature and patches the game; LevelPatches starts every trigger and loop on the host with the level and stops them all when it ends.
  • Each feature owns its settings (debt) — G.CTD-T76 — built Acceptance: Given the .cfg, then each section is bound by the feature that reads it, Config.cs holds only the master switch, and the spawner asks the population for room; the file's keys and defaults are unchanged.

F1.4 Switched on or off from its config — G.CTD-T72 — built

  • S1.4.1 Master switch — G.CTD-T73 — built. Evidence: 3bf354b. Acceptance: Given [0. Mod] Enabled = false (or a saved v3 [General] Enabled = false), when the game starts, then the mod loads nothing: no patches, no dummies.

E2. Players install from the listing — G.CTD-T55 — built

F2.1 Docs send players to the listing — G.CTD-T54 — built

  • S2.1.1 Try-it line points at Thunderstore — G.CTD-T56 — built. Evidence: 33f7e94. Acceptance: Given docs/overview.md, when read, then installing from https://thunderstore.io/c/gtfo/p/MindAttic/GtfoCrashTestDummies/ is the player path and build.ps1 the developer path. The milestone's owner sign-off (dummies spawn on the current game build) is a milestone check, not a ticket.

5. Non-functional requirements

  • BepInExPack_GTFO on the current GTFO build. Every routine stops at level end and restarts after a checkpoint reload.

6. Interfaces and dependencies

  • Platform (per docs/ECOSYSTEM.md): shipping: its own /publish to Thunderstore; the plan: MindAttic.Tickets. It shares no code with the GTFO.EZ family, so it does not use Mods.GTFO.EZ.Shared.
  • None in MindAttic; released on its own, not with the GTFO.EZ family.

7. Release sequence

  1. MS-68 — CrashTestDummies v20 on Thunderstore (active): E2. This is the finished product.

8. Change log

Date Change to scope Ticket
2026-11-30 Specification written from overview, BIBLE, RELEASE, code and ticket history MAT-T399
2026-11-30 MAT-T462 single-source pass: 1 renamed (G.CTD-T54), 0 buckets dissolved, 0 requires added, 0 platform re-points MAT-T474
2026-11-30 Build-up comb (MAT-T484): built S1.3.3 (G.CTD-T71, build.ps1) and F1.4/S1.4.1 master switch (G.CTD-T72, T73), which no story covered; debt S1.2.4 (G.CTD-T74) to abstract the three periodic loops G.CTD-T74
2026-11-30 Build-up refinement R7 re-check (MAT-T484): E1 membrane G.CTD-T75 filed as built (Plugin.cs, LevelPatches.cs); debt G.CTD-T76 so no file serves two features G.CTD-T76
From Mods.GTFO.CrashTestDummies/docs/SPEC.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.