-
Notifications
You must be signed in to change notification settings - Fork 34
Work Shift
Revised 27 Nov 2022
Work Shift affects when a task can be done by a person. A Person belongs to a single Shift; that Shift can be On or Off Duty according to the time. A Person can also override the Shift assignment by being OnCall for a Mission or On Leave. Both of these states means the Person does not react to the normal On/Off Duty changes.
The work status heavily influences the Meta Tasks that are on offer to a Person to decide their next work Task.
Categories of Tasks | Shift State |
---|---|
Work Hour Tasks | On Duty |
Non-work Hour Tasks | Off Duty or On Leave |
Any Hour Tasks | On Call |
Shifts are defined by a ShiftPattern configuration item; each Settlement has a single pattern assigned. The pattern defines:
- The number of Shifts
- How often a selection of the Workers change shifts
- How many workers can change a Shift each cycle
When a Person is selected to change Shift; they are given a Sol On Leave to adjust to the changing times. Each Shift defines:
- Start and End time of the Shift; the duration can varying between Shift in the same pattern
- Target percentage of the workers that should be on this Shift
The Shift Managers uses the target percentage to randomly allocate Persons to an appropriate Shift. The Shift Manager also adjusts the time of the Shift to be aligned with the rotation of the Sun; hence a Night shift still occurs during the night time no matter where the Settlement is around the globe.
Extra Shift Patterns can be defined but those available by default are:
Name | Number of Shifts | Change Rotation (Sols) | Description |
---|---|---|---|
Standard 3 Shift | 3 | 2 | 3 Shift of near equal duration |
Standard 2 Shift | 2 | 4 | 2 equal Shifts |
Skeleton Night Shift | 2 | 2 | Small staffed night shift |
Long 3 Shift | 3 | 4 | Short Night Shift & 2 long, overlapping Day shifts |