Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# AirbornePollutantPrototype - Prototype Docs

## AirbornePollutantPrototype 'airborne-pollutant'

A type of pollution that can spread throughout the chunks of a map.

Inherits from Prototype « PrototypeBase

## Properties

- default
- sorted

localised_name_with_amount optional | :: string | The translated plural string key to use when displaying this pollution's name with an amount. [...]
The translated plural string key to use when displaying this pollution's name with an amount. [...]
chart_color | :: Color |
icon | :: Sprite |
affects_evolution | :: boolean |
affects_water_tint | :: boolean | If true, large amounts of this pollution will cause water tiles to turn a sickly green.
If true, large amounts of this pollution will cause water tiles to turn a sickly green.
damages_trees optional | :: boolean | If true, trees will occasionally take damage from this pollutant type. [...]
If true, trees will occasionally take damage from this pollutant type. [...]

Inherited from Prototype

factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...]
The ID type corresponding to the prototype that inherits from this. [...]
custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia.
Allows to add extra description items to the tooltip and Factoriopedia.

Inherited from PrototypeBase

type | :: string | Specifies the kind of prototype this is. [...]
Specifies the kind of prototype this is. [...]
name | :: string | Unique textual identification of the prototype. [...]
Unique textual identification of the prototype. [...]
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...]
Used to order prototypes in inventory, recipes and GUIs. [...]
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...]
Overwrites the name set in the locale file. [...]
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...]
Overwrites the description set in the locale file. [...]
factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.
hidden optional | :: boolean |
hidden_in_factoriopedia optional | :: boolean |
parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI.
The simulation shown when looking at this prototype in the Factoriopedia GUI.

affects_evolution | :: boolean |
affects_water_tint | :: boolean | If true, large amounts of this pollution will cause water tiles to turn a sickly green.
If true, large amounts of this pollution will cause water tiles to turn a sickly green.
chart_color | :: Color |
icon | :: Sprite |
damages_trees optional | :: boolean | If true, trees will occasionally take damage from this pollutant type. [...]
If true, trees will occasionally take damage from this pollutant type. [...]
localised_name_with_amount optional | :: string | The translated plural string key to use when displaying this pollution's name with an amount. [...]
The translated plural string key to use when displaying this pollution's name with an amount. [...]

Inherited from Prototype

custom_tooltip_fields optional | :: array[CustomTooltipField] | Allows to add extra description items to the tooltip and Factoriopedia.
Allows to add extra description items to the tooltip and Factoriopedia.
factoriopedia_alternative optional | :: string | The ID type corresponding to the prototype that inherits from this. [...]
The ID type corresponding to the prototype that inherits from this. [...]

Inherited from PrototypeBase

name | :: string | Unique textual identification of the prototype. [...]
Unique textual identification of the prototype. [...]
type | :: string | Specifies the kind of prototype this is. [...]
Specifies the kind of prototype this is. [...]
factoriopedia_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
factoriopedia_simulation optional | :: SimulationDefinition | The simulation shown when looking at this prototype in the Factoriopedia GUI.
The simulation shown when looking at this prototype in the Factoriopedia GUI.
hidden optional | :: boolean |
hidden_in_factoriopedia optional | :: boolean |
localised_description optional | :: LocalisedString | Overwrites the description set in the locale file. [...]
Overwrites the description set in the locale file. [...]
localised_name optional | :: LocalisedString | Overwrites the name set in the locale file. [...]
Overwrites the name set in the locale file. [...]
order optional | :: Order | Used to order prototypes in inventory, recipes and GUIs. [...]
Used to order prototypes in inventory, recipes and GUIs. [...]
parameter optional | :: boolean | Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
Whether the prototype is a special type which can be used to parametrize blueprints and doesn't have other function.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.

## Properties

### localised_name_with_amount :: string optional

Default: `"airborne-pollutant-name-with-amount.<name>"`

The translated plural string key to use when displaying this pollution's name with an amount. See Tutorial:Localisation.

### chart_color :: Color

### icon :: Sprite

### affects_evolution :: boolean

### affects_water_tint :: boolean

If true, large amounts of this pollution will cause water tiles to turn a sickly green.

### damages_trees :: boolean optional

Default: `true`

If true, trees will occasionally take damage from this pollutant type. When they do, some amount of pollution is removed from the chunk equal to the map's `pollution_restored_per_tree_damage` setting.