Factory

Parent

The base class of most machines you can build.

Properties

canChangePotential : Bool

True if the factory can change its potential.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Can Change Potential

canChangeProductionBoost : Bool

True if the factory can change its production boost.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Can Change Production Boost

currentPotential : Float

The potential this factory is currently using.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Current Potential

currentProductionBoost : Float

The current production boost this factory uses.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Current Production Boost

cycleTime : Float

The time that passes till one production cycle is finsihed.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Cycle Time

maxDefaultPotential : Float

The default maximum potential this factory can be set to.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Max Default Potential

maxDefaultProductionBoost : Float

The maximum production boost this factory can be set to.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Max Default Production Boost

maxPotential : Float

The maximum potential this factory can be set to (depending on the number of crystals).

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Max Potential

maxProductionBoost : Float

The maximum production boost this factory can be set to (depending on the number of shards).

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Max Production Boost

minDefaultProductionBoost : Float

The minimum production boost this factory has to be set to.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Min Default Production Boost

minPotential : Float

The minimum potential this factory needs to be set to.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Min Potential

potential : Float

The potential this factory is currently set to and 'should' use. (the overclock value) 0 = 0%, 1 = 100%

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Potential

potentialInventory : Trace<Inventory>

The Inventory that holds the crystals used for potential.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Potential Inventory

powerConsumProducing : Float

The power consumption when producing.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Producing Power Consumption

productionBoost : Float

The current production boost this factory should use.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Production Boost

productivity : Float

The productivity of this factory.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Productivity

progress : Float

The current production progress of the current production cycle.

Details
Flags ReadOnly RuntimeSync RuntimeParallel

Display Name

Progress

standby : Bool

True if the factory is in standby.

Details
Flags RuntimeSync

Display Name

Standby

Functions

setPotential (potential : Float)

Changes the potential this factory is currently set to and 'should' use. (the overclock value)

Details

Flags

RuntimeSync MemberFunc

Display Name

Set Potential

Parameters
Name Type Description

Potential potential

Float

The potential that should be used. 0 = 0%, 1 = 100%

setProductionBoost (productionBoost : Float)

Changes the production boost this factory is currently set to and 'should' use.

Details

Flags

RuntimeSync MemberFunc

Display Name

Set Production Boost

Parameters
Name Type Description

Production Boost productionBoost

Float

The production boost that should be used. 0 = 0%, 1 = 100%