Wire sick-teacher stay-home into cancelled lessons.

Heavy flu keeps the assigned teacher off the day plan; pupils get 48/73 no-teacher marks and a one-shot LessonCancelled notice instead of silent empty rooms.
This commit is contained in:
Leonid Pershin
2026-08-21 14:17:37 +03:00
parent e40bec3aa3
commit b314f50112
12 changed files with 366 additions and 9 deletions
+1
View File
@@ -17,6 +17,7 @@ internal static class EventDefValidator
EventTriggers.DirectorSummon,
EventTriggers.ParentMeeting,
EventTriggers.DiseaseOutbreak,
EventTriggers.LessonNoTeacher,
};
private static readonly HashSet<string> Actions = new(StringComparer.Ordinal)
+1
View File
@@ -15,6 +15,7 @@ public static class EventTriggers
public const string DirectorSummon = "directorSummon";
public const string ParentMeeting = "parentMeeting";
public const string DiseaseOutbreak = "diseaseOutbreak";
public const string LessonNoTeacher = "lessonNoTeacher";
}
public static class EventActions