Wear worn clothes on campus and replace rags at the work morning.

Condition drops from catalog hours only while the person is at school; skip through the night issues the same fresh set as a lived night so the school does not walk in in rags.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 03:49:11 +03:00
co-authored by Cursor
parent af90bb9f9d
commit 1ba739dd9b
20 changed files with 847 additions and 28 deletions
@@ -105,6 +105,10 @@ public class VanillaCoreTests
Assert.Equal(6f, catalog.BehaviorRules.LunchWeight);
Assert.Equal(5f, catalog.BehaviorRules.CarryMassBase);
Assert.Equal(0.4f, catalog.BehaviorRules.OptionalApparelChance);
Assert.Equal(0.01f, catalog.BehaviorRules.ApparelWearPerHour);
Assert.Equal(0.15f, catalog.BehaviorRules.ApparelReplaceBelow);
Assert.Equal(4, catalog.BehaviorRules.ApparelConditionBands.Count);
Assert.Equal("ApparelConditionIntact", catalog.BehaviorRules.ApparelConditionBands[0].Id);
}
/// <summary>
@@ -147,6 +151,12 @@ public class VanillaCoreTests
keys.Add(BodyBuilds.Attribute);
keys.AddRange(BodyBuilds.Values);
keys.AddRange(ApparelLayers.All);
if (catalog.BehaviorRules is { } rules)
{
keys.AddRange(rules.ApparelConditionBands.Select(band => band.Id));
}
keys.Add("ApparelReplaced");
foreach (var value in catalog.BodyAttributes.Values.SelectMany(def => def.Options))
{