Auto-summon pupils to the principal after fight breaks, with a corridor FIFO queue.

This commit is contained in:
Leonid Pershin
2026-08-21 11:49:06 +03:00
parent 8f1a82f42d
commit e40f130248
17 changed files with 839 additions and 18 deletions
+1
View File
@@ -21,6 +21,7 @@ public static class Seed
public const int OrientationSalt = 13;
public const int ConflictSalt = 14;
public const int HomeSalt = 15;
public const int SummonSalt = 16;
/// <summary>A stream that belongs to the school rather than to one family.</summary>
public static int ForSchool(int schoolSeed, int salt) => Mix(schoolSeed, familyIndex: -1, salt);
+2
View File
@@ -43,6 +43,8 @@ public static class Staffing
{
public const string TeacherPosition = "Teacher";
public const string PrincipalPosition = "Principal";
public static StaffingOutcome UnknownSchool() =>
Fail(StaffingError.UnknownSchool, new Roster([], [], []), ApplicantPool.Empty, allocated: 0, payroll: 0, attempted: 0);