Major Systems Overhaul
Investigation System Refactor: Massive type-safety overhaul of the Investigation System, removing any types and replacing magic strings with strict enum types (InvestigationSystem.ts).
Mistrial Mechanics: Deepened Mistrial mechanics with dedicated system logic and emotion-driven triggers (MistrialSystem.test.ts).
Type Safety: Enforced strict typing across all script and game data types, cleaning up legacy technical debt in ScriptTypes.ts
and GameTypes.ts.
New User Experience (UX) Features
Legal Encyclopedia: Added the LegalEncyclopediaPanel, an searchable in-game reference for legal rules and case law.
Settings Menu: Implemented a comprehensive SettingsMenu
exposing new accessibility options and game preferences.
Tutorial Engine: Launched the interactive TutorialEngine and TutorialOverlay with the first "Onboarding Basics" lessons.
Tutorial Stabilization: Fixed overlay integration issues and stabilized tutorial smoke tests (
Gameplay & Narrative
Objection Realism: Implemented nuanced objection logic (ObjectionRealism.test.ts) accounting for judicial discretion and specific legal grounds.
Investigation Moods: Added "Mood" mechanics to the investigation phase, allowing character stats to influence outcome probabilities.
Dynamic Emotions: Updated script definitions to support dynamic, script-driven character emotional states in the courtroom.
Technical & Maintenance
Build Stabilization: Fixed critical build errors and type mismatches that were blocking the release.
Asset Cleanup: Removed unused assets to reduce the distribution size.
