Factorio Prototype DocsVersion 2.1.8

EffectReceiver - Prototype Docs

EffectReceiver :: struct changed

Properties

base_effect optional :: Effect
uses_module_effects optional :: boolean
uses_beacon_effects optional :: boolean
uses_surface_effects optional :: boolean

Controls whether LuaSurface::global_effect affects this receiver.

Controls whether LuaSurface::global_effect affects this receiver.

consumption_limitsnew optional :: EffectValueRange

Limits total consumption effect value. [...]

Limits total consumption effect value. [...]

speed_limitsnew optional :: EffectValueRange

Limits total speed effect value. [...]

Limits total speed effect value. [...]

productivity_limitsnew optional :: EffectValueRange

Limits total productivity effect value. [...]

Limits total productivity effect value. [...]

pollution_limitsnew optional :: EffectValueRange

Limits total pollution effect value. [...]

Limits total pollution effect value. [...]

quality_limitsnew optional :: EffectValueRange

Limits total quality effect value. [...]

Limits total quality effect value. [...]

Properties

base_effect :: Effect optional

uses_module_effects :: boolean optional

Default: true

uses_beacon_effects :: boolean optional

Default: true

uses_surface_effects :: boolean optional

Default: true

Controls whether LuaSurface::global_effect affects this receiver.

consumption_limits :: EffectValueRange optional new

Default: { low = -0.8, high = 1000 }

Limits total consumption effect value.

Low limit cannot be less than -0.9999. High limit cannot be greater than 1000.

speed_limits :: EffectValueRange optional new

Default: { low = -0.8, high = 1000 }

Limits total speed effect value.

Low limit cannot be less than -0.9999. High limit cannot be greater than 1000.

productivity_limits :: EffectValueRange optional new

Default: { low = -0.8, high = 1000 }

Limits total productivity effect value. This limit is applied before any productivity gained from research is added. Afterwards, productivity is clamped again to be non-negative. For crafting machines, it is also clamped to RecipePrototype::maximum_productivity.

Low limit cannot be less than -0.9999. High limit cannot be greater than 1000.

pollution_limits :: EffectValueRange optional new

Default: { low = -0.8, high = 1000 }

Limits total pollution effect value.

Low limit cannot be less than -0.9999. High limit cannot be greater than 1000.

quality_limits :: EffectValueRange optional new

Default: { low = 0, high = 1000 }

Limits total quality effect value.

Low limit cannot be less than -1000. High limit cannot be greater than 1000.

Fulltext search

Prototypes

Types

Defines

Fulltext search for