Adds the employee age range with the specified weight value.
Adds the employee age range with the specified weight value.
1 table table
a table containing the age info in the form of {min = number, max = number, weight = number}. Lower weight value = lower chance that this age range will be picked.
-- taken from game/employee_circulation.lua employeeCirculation:addEmployeeAgeRange({min = 18, max = 26, weight = 100}) employeeCirculation:addEmployeeAgeRange({min = 27, max = 34, weight = 80}) employeeCirculation:addEmployeeAgeRange({min = 35, max = 42, weight = 50}) employeeCirculation:addEmployeeAgeRange({min = 43, max = 50, weight = 20})