Subsystems overview
π These pages are also published at storynook.github.io/Accident-Prone-1.21.4 β same content, with sidebar nav, search, and the Story Nook theme. The version youβre reading now is the raw source.
Accident-Prone Wiki
Detailed reference docs that donβt need to live in CLAUDE.md. Open the relevant page when youβre working on that subsystem.
Subsystems
- Nanny NPC system β full per-phase component reference (Phases 1β6, all shipped). Includes Citizens2 wiring, care behaviors, navigation, chat engine, discipline tiers, membership integration, and the OAuth/encryption stack.
- Hypnosis subsystem β Hypnosis Clock crafting, programming, application, triggering, persistence, and config. Includes the related βCursedβ items.
- Toilet & Warning system β intent-driven toilet relief eligibility (
canRelieveOnToilet), probability-scaled warnings, session-only Plugin maps,/pee//poopcontext branching, config keys, and therelieveOnToiletvshandleAccidentdistinction. - Rash system β RP accumulation tiers (mess/wetness/underwear), threshold-driven health effects (none/poison/damage/health_reduction), slowness, persistence, and config keys.
- Design Registry β adding new visual design variants (e.g. Goodnite Pull-Up Stars). Auto-detect script +
/add-designskill β drop PNGs in a folder, run two commands, done. - Resource pack β 1.21.4 format β technical reference for the post-migration pack layout:
range_dispatchitems, equipment definitions, and the nested-select-on-trim leather_leggings shape. - Plugin dependencies β Maven dependencies,
plugin.ymlsoftdepends, and runtime detection logic (VentureChat / Citizens / PlaceholderAPI). - Integrations β Jobs Reborn / AdvancedJobs / BeautyQuests bridge:
AccidentProneActionEvent, the 14-action catalog, and how to wire jobs/quests on top. - Changing Table β placeable 2-block furniture: lie-down (packet NPC clone in
Pose.SLEEPING), 9-slot clean-only storage, recolor, dual-interaction hitbox, placement-transform tuning.
Other docs in this repo
docs/superpowers/specs/β design specs (read before planning a phase).docs/security/hardening.mdβ admin hardening guide for at-rest encryption.docs/security/oauth-redirect.htmlβ reference static helper page for OAuth code-paste flow.docs/membership-setup.mdβ admin setup guide for Patreon / Subscribestar / Permission paths.