Implement applicant pool functionality in school simulation, allowing for the management of job seekers who are not yet part of the school roster. Update the catalog to include staffing definitions and enhance the API to support applicant data retrieval. Revise the school architecture to handle applicant refresh logic and ensure proper integration with existing roster management. Update tests to validate the new applicant functionalities and ensure robustness in handling staffing scenarios.
This commit is contained in:
@@ -157,6 +157,24 @@ public sealed class TraitDef : Def
|
||||
public IntRange? Age { get; init; }
|
||||
|
||||
public IReadOnlyList<TraitSkillModifier> SkillModifiers { get; init; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Added to the hourly wage ask. Positive means the person wants more at the same skills.
|
||||
/// </summary>
|
||||
public float WageAsk { get; init; }
|
||||
}
|
||||
|
||||
public sealed class StaffingDef : Def
|
||||
{
|
||||
public int PoolSize { get; init; }
|
||||
|
||||
public float StayChance { get; init; }
|
||||
|
||||
public float ParentChance { get; init; }
|
||||
|
||||
public float HourlyWageBase { get; init; }
|
||||
|
||||
public float HourlyWagePerSkill { get; init; }
|
||||
}
|
||||
|
||||
public enum BodyAttributeKind
|
||||
|
||||
Reference in New Issue
Block a user