Module content.industries.industry_productivity_util🔗
global record IndustryProductivityUtil
workersTimeIntervalMax: integer getIndustryWorkersState: function(Engine.Entity): IndustriesWorkersState.IndustryState isIndustryWorkersBoosted: function(Engine.Entity, integer): boolean getVisitors: function(Engine.Entity): {IndustriesWorkersState.IndustryState.Visitor} getIndustryProductivity: function(Engine.Entity): number getPersonCapacityPotentialBoost: function(Engine.Entity): number RequiredWorkersFractionForBoost: number end
Category: globals🔗
IndustryProductivityUtil🔗
global record IndustryProductivityUtil
workersTimeIntervalMax: integer getIndustryWorkersState: function(Engine.Entity): IndustriesWorkersState.IndustryState isIndustryWorkersBoosted: function(Engine.Entity, integer): boolean getVisitors: function(Engine.Entity): {IndustriesWorkersState.IndustryState.Visitor} getIndustryProductivity: function(Engine.Entity): number getPersonCapacityPotentialBoost: function(Engine.Entity): number RequiredWorkersFractionForBoost: number end
IndustryProductivityUtil.workersTimeIntervalMax🔗
IndustryProductivityUtil.workersTimeIntervalMax: integer
IndustryProductivityUtil.getIndustryWorkersState🔗
function IndustryProductivityUtil.getIndustryWorkersState(Engine.Entity): IndustriesWorkersState.IndustryStateParameters
Engine.Entity
IndustriesWorkersState.IndustryState
IndustryProductivityUtil.isIndustryWorkersBoosted🔗
function IndustryProductivityUtil.isIndustryWorkersBoosted(Engine.Entity, integer): booleanParameters
Engine.Entityinteger
boolean
IndustryProductivityUtil.getVisitors🔗
function IndustryProductivityUtil.getVisitors(Engine.Entity): {IndustriesWorkersState.IndustryState.Visitor}Parameters
Engine.Entity
{IndustriesWorkersState.IndustryState.Visitor}
IndustryProductivityUtil.getIndustryProductivity🔗
function IndustryProductivityUtil.getIndustryProductivity(Engine.Entity): numberParameters
Engine.Entity
number
IndustryProductivityUtil.getPersonCapacityPotentialBoost🔗
function IndustryProductivityUtil.getPersonCapacityPotentialBoost(Engine.Entity): numberParameters
Engine.Entity
number
IndustryProductivityUtil.RequiredWorkersFractionForBoost🔗
IndustryProductivityUtil.RequiredWorkersFractionForBoost: number