Factorio.com|Forums|Wiki|Mod Portal|API Docs Prototype|Runtime|Auxiliary

# Factorio Prototype Docs Version 2.0.7

## BaseModifier :: struct - abstract

The abstract base of all Modifiers.

Children AmmoDamageModifier BoolModifier CharacterLogisticRequestsModifier CircuitNetworkModifier CliffDeconstructionEnabledModifier CreateGhostOnEntityDeathModifier MiningWithFluidModifier RailPlannerAllowElevatedRailsModifier RailSupportOnDeepOilOceanModifier SpacePlatformsModifier VehicleLogisticsModifier ChangeRecipeProductivityModifier GiveItemModifier GunSpeedModifier NothingModifier SimpleModifier ArtilleryRangeModifier BeaconDistributionModifier BeltStackSizeBonusModifier BulkInserterCapacityBonusModifier CargoLandingPadLimitModifier CharacterBuildDistanceModifier CharacterCraftingSpeedModifier CharacterHealthBonusModifier CharacterInventorySlotsBonusModifier CharacterItemDropDistanceModifier CharacterItemPickupDistanceModifier CharacterLogisticTrashSlotsModifier CharacterLootPickupDistanceModifier CharacterMiningSpeedModifier CharacterReachDistanceModifier CharacterResourceReachDistanceModifier CharacterRunningSpeedModifier DeconstructionTimeToLiveModifier FollowerRobotLifetimeModifier InserterStackSizeBonusModifier LaboratoryProductivityModifier LaboratorySpeedModifier MaxFailedAttemptsPerTickPerConstructionQueueModifier MaxSuccessfulAttemptsPerTickPerConstructionQueueModifier MaximumFollowingRobotsCountModifier MiningDrillProductivityBonusModifier TrainBrakingForceBonusModifier WorkerRobotBatteryModifier WorkerRobotSpeedModifier WorkerRobotStorageModifier TurretAttackModifier UnlockQualityModifier UnlockRecipeModifier UnlockSpaceLocationModifier

## Properties

- default
- sorted

icons optional | :: array[IconData] | Can't be an empty array.
Can't be an empty array.
icon optional | :: FileName | Path to the icon file. [...]
Path to the icon file. [...]
icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels. [...]
The size of the square icon, in pixels. [...]
hidden optional | :: bool |

hidden optional | :: bool |
icon optional | :: FileName | Path to the icon file. [...]
Path to the icon file. [...]
icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels. [...]
The size of the square icon, in pixels. [...]
icons optional | :: array[IconData] | Can't be an empty array.
Can't be an empty array.

## Properties

### icons :: array[IconData] optional

Can't be an empty array.

### icon :: FileName optional

Path to the icon file.

Only loaded if `icons` is not defined.

### icon_size :: SpriteSizeType optional

Default: `64`

The size of the square icon, in pixels. E.g. `32` for a 32px by 32px icon. Must be larger than `0`.

Only loaded if `icons` is not defined.

### hidden :: bool optional

Default: `false`