Implement phase 35 dress appropriateness and school rules.

Adds outfit evaluation, morning home dressing, locker-room ChangeClothes with day-log events, PE/weather AI goals, dress-rules API, and tests.
This commit is contained in:
Leonid Pershin
2026-08-20 05:16:52 +03:00
parent 5b63c72806
commit 6a0d5a9886
32 changed files with 1894 additions and 25 deletions
+3 -1
View File
@@ -378,6 +378,7 @@ internal static class PresenceSystem
var frame = school.Catalog!.DayFrame;
var lunchOpen = frame is not null
&& SchoolDay.IsLunchWindow(frame, slot, ClassOf(school, person)?.Year);
var apparel = ApparelPresence.Build(school, person, ClassOf(school, person));
var state = new ActorState(
presence.NodeId,
presence.DestinationId,
@@ -390,7 +391,8 @@ internal static class PresenceSystem
duty,
needs.Values,
intent,
lunchOpen);
lunchOpen,
apparel);
var decision = DecisionPlanner.Decide(
school.Catalog!,
school.Map!,