Enhance family and roster management in school simulation by implementing support for incomplete families, ensuring proper handling of absent parents while maintaining surname consistency. Update family creation logic to account for single-parent households and revise child identification to prevent ID conflicts. Introduce seat shuffling to prevent siblings from being placed in the same class, improving the realism of student distribution. Update related tests to validate these new functionalities and ensure robustness in family and roster handling.
ci / server (push) Failing after 3m49s
ci / client (push) Successful in 24s

This commit is contained in:
Leonid Pershin committed 2026-08-18 21:13:16 +03:00
1 parent 7f6852548d
commit 3366e8e44b
19 files changed
+766 -90

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ public static class NeedDecay
public static void Apply(World world, DefCatalog catalog, double gameMinutes)
{
if (gameMinutes <= 0 || catalog.Needs.Count == 0)
if (gameMinutes <= 0 || !catalog.AnyNeedDecays)
{
return;
}