Types/EffectTypeLimitation: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(add more info)
m (Bilka moved page Types/AllowedEffects to Types/EffectTypeLimitation: renamed class?)
(No difference)

Revision as of 13:35, 20 May 2018

A list of module effects. Modules with other effects cannot be used on the machine. This means that both effects from modules and from surrounding beacons are restricted to the listed effects. If allowed_effects is set to nil, the machine cannot be affected by modules or beacons.

Value Module type
speed Modules that increase or decrease the machine's speed.
productivity Modules that make the machine produce bonus items.
consumption Modules that increase or decrease the machine's energy consumption.
pollution Modules that make the machine produce more or less pollution.

Example: (allows all module types)

{"speed", "productivity", "consumption", "pollution"}