You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add v2 mechanics: sanity dread meter and rituals/wards
Bundle two survival-horror mechanics onto the spectersim detector plugin,
bumping it to 0.2.0.
Sanity: SanityComponent(current, maximum) on characters, driven by a per-tick
SanityConsequence that drains near SpectralMarker entities and in dark rooms,
recovers in safe or bright spirit-free rooms (clamped 0..maximum), and emits
SanityChangedEvent on band crossings. sanity_fragments inject escalating
first-person distortion lines (shaking, whispering, a hallucinated presence at
critical) into the afflicted character's own prompt only.
Rituals & wards: WardComponent protects a room or placed ward entity;
RitualKitComponent is a held banishing tool. WardConsequence passively weakens
then banishes (strips SpectralMarkerComponent from) presences in warded rooms.
Verbs draw-ward and perform-ritual follow the validate-order convention and emit
WardDrawnEvent / PresenceWeakenedEvent / PresenceBanishedEvent. ritual_fragments
surface ward protection and the held-kit line. New spawn_ritual_kit / spawn_ward
factories.
All new surfaces registered in plugin.py; v1 behavior and tests untouched.
Adds test_sanity.py and test_rituals.py; 90 tests pass, ruff clean.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
description = "Out-of-tree Bunnyland plugin: Silent Hill / Ghost Hunters-style monster-detecting devices, plus a sanity meter and banishing rituals/wards."
0 commit comments