Merge branch 'phase/78-diseases'

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-21 13:39:49 +03:00
co-authored by Cursor
28 changed files with 1189 additions and 39 deletions
@@ -751,6 +751,12 @@ internal static class PeopleDefValidator
throw new ContentLoadException(
$"BehaviorDef '{behavior.DefName}' lessonLateMinutes cannot be negative.");
}
if (behavior.DiseaseVectorScale < 0f)
{
throw new ContentLoadException(
$"BehaviorDef '{behavior.DefName}' diseaseVectorScale cannot be negative.");
}
}
private static void ValidateTopic(TopicDef topic, DefCatalog catalog)