Remember recent quarrels, fights and reprimands on the person.
Short offense list for the pupil card and save, capped by BehaviorDef — not a discipline score.
This commit is contained in:
@@ -69,6 +69,12 @@ public sealed record Person
|
||||
/// </summary>
|
||||
public string? BullyVictimId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Recent misconduct (quarrel / fight / reprimand). Null when empty so people.json stays compact.
|
||||
/// Ceiling and which kinds write live on <c>BehaviorDef</c>.
|
||||
/// </summary>
|
||||
public List<OffenseRecord>? Offenses { get; set; }
|
||||
|
||||
public int AgeOn(DateTime asOf) => SchoolYears.AgeYears(BirthDate, asOf);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user