Enhance staffing management in school simulation by introducing API endpoints for hiring staff and assigning subjects. Implement payroll cap validation to ensure hiring and subject assignments do not exceed the allocated budget. Update the simulation options to include a monthly payroll cap and revise related classes to support new staffing functionalities. Enhance documentation to reflect these changes and update tests to validate the new features.
This commit is contained in:
@@ -119,6 +119,7 @@ Simulation tunables live under the `Simulation` section of
|
||||
| `ModsDirectory` | `mods` | pack folders; `core` is required |
|
||||
| `SaveIntervalSeconds` | 30 | rare clock snapshot; not every tick |
|
||||
| `MinSaveIntervalMilliseconds` | 1000 | shortest gap between saves caused by pause or speed |
|
||||
| `MonthlyPayrollCap` | 10000 | monthly payroll the player may commit; hire and extra subjects that would exceed it are rejected |
|
||||
|
||||
## What is deliberately missing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user