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:
1 parent
e40bec3aa3
commit
b314f50112
12 files changed
+366
-9
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user