Skip to main content

FB1WorkShift

Overview

  • Defines a single work shift for an organizational rank, including headcount, salary, scheduling, and starting employee setup.

Metadata

FieldValue
Kindstruct
EnvironmentB1 - Presentation
Categorystructs

Properties (11)

NameTypeDescription
HeadcountintegerNumber of employees required (minimum value: 1) Required number of employees for this shift.
IndexintegerIndex value (minimum value: 0) Index of this shift (0-based).
MaxGrowthStepEB1GrowthStepMaximum age step when the game starts Maximum growth step (age) for employees in this shift at game start.
MinGrowthStepEB1GrowthStepMinimum age step when the game starts Minimum growth step (age) for employees in this shift at game start.
PrepareStatIdstringReference to a statistic ID in the "DT_Stat" data table Stat ID from the company stat table used for preparation checks.
SalaryPerDayintegerSalary per day (minimum value: 0) Daily salary paid to employees in this shift.
StartingEmployeeCountintegerInitial number of employees when the game starts. For Career-type companies (EB1CareerType != Invalid), this also serves as the AutoFill minimum. At runtime, if current member count drops below this value, the system auto-hires NPCs to maintain it. Number of employees created for this shift at game start; also the auto-fill minimum for Career companies.
StartingSelectGenderEB1GenderTypePreselected gender when the game starts Gender pre-selected for initial employees at game start.
StartingSelectGenderCountintegerNumber of preselected employees of the specified gender when the game starts If set to Default, the remaining employees (StartingEmployeeCount - StartingSelectGenderCount) will be assigned the opposite gender Number of initial employees assigned the pre-selected gender. Remaining are assigned the opposite gender.
WorkScheduleFB1WorkTimeSchedule[]Work schedule details List of work time schedule entries defining when this shift is active.
bRecruitablebooleanWhether this job position is open for recruitment Whether this shift is open for player recruitment.