1.2 KiB
1.2 KiB
v15.24.2 needs compliance fix
This patch focuses on making the implementation closer to the need-system prompt.
Fixed
- Kept the six-need system as the behavior driver.
- Kept needs clamped/quantized and displayed as 0-10 values.
- Kept tied top-need random selection and tie reason text.
- Kept StructureRegistry and both buildable structures: grass_bed and plushie.
- Removed remaining mojibake strings in the main need/action implementation file.
- Changed safety fleeing so normal safety behavior no longer directly enters panic.
- Reworked stress so direct stress mutation is removed from the main behavior files.
- Stress is now recalculated from needs or projected needs via calculateStressFromNeeds.
- Added applyNeedShock/applyNeedRelief helpers and converted shock/relief events into need changes.
- Reworked enterPanic as a legacy adapter that converts old calls into need shock first.
- Panic/intimidate are now short reaction states triggered through need shock logic.
- Updated cache/version strings to 15.24.2.
Notes
- Old save compatibility is intentionally not provided.
- Some legacy fields such as loneliness, affection, mood, and fearTimer still exist as compatibility/input/display fields, but the main action selection now uses the six needs.