This prototype is used for receiving an achievement when the player gets attacked due to pollution.
Inherits from AchievementPrototype « Prototype « PrototypeBase |
amount optional | :: uint32 | This will trigger the achievement, if the player receives this amount of attacks. [...] |
This will trigger the achievement, if the player receives this amount of attacks. [...] | ||
entitiesnew optional | :: array[EntityID] | The achievement is only triggered if the attacking group of enemies contains at least one of the entities listed here. |
The achievement is only triggered if the attacking group of enemies contains at least one of the entities listed here. | ||
attack_typenew optional | :: "autonomous" or "distraction" or "scripted" | The type of attack that triggers this achievement. [...] |
The type of attack that triggers this achievement. [...] |
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. [...] | ||
steam_stats_name optional | :: string | Unusable by mods, as this refers to unlocking the achievement through Steam. |
Unusable by mods, as this refers to unlocking the achievement through Steam. | ||
allowed_without_fight optional | :: bool | If this is set to |
If this is set to |
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. [...] |
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_descriptionnew optional | :: LocalisedString | Provides additional description used in factoriopedia. |
Provides additional description used in factoriopedia. | ||
subgroupnew optional | :: ItemSubGroupID | The name of an ItemSubGroup. |
The name of an ItemSubGroup. | ||
hiddennew optional | :: bool | |
hidden_in_factoriopedianew optional | :: bool | |
parameternew optional | :: bool | 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_simulationnew 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. |
amount optional | :: uint32 | This will trigger the achievement, if the player receives this amount of attacks. [...] |
This will trigger the achievement, if the player receives this amount of attacks. [...] | ||
attack_typenew optional | :: "autonomous" or "distraction" or "scripted" | The type of attack that triggers this achievement. [...] |
The type of attack that triggers this achievement. [...] | ||
entitiesnew optional | :: array[EntityID] | The achievement is only triggered if the attacking group of enemies contains at least one of the entities listed here. |
The achievement is only triggered if the attacking group of enemies contains at least one of the entities listed here. |
allowed_without_fight optional | :: bool | If this is set to |
If this is set to | ||
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. | ||
steam_stats_name optional | :: string | Unusable by mods, as this refers to unlocking the achievement through Steam. |
Unusable by mods, as this refers to unlocking the achievement through Steam. |
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. [...] |
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_descriptionnew optional | :: LocalisedString | Provides additional description used in factoriopedia. |
Provides additional description used in factoriopedia. | ||
factoriopedia_simulationnew 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. | ||
hiddennew optional | :: bool | |
hidden_in_factoriopedianew optional | :: bool | |
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. [...] | ||
parameternew optional | :: bool | 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. | ||
subgroupnew optional | :: ItemSubGroupID | The name of an ItemSubGroup. |
The name of an ItemSubGroup. |
Default: 1
This will trigger the achievement, if the player receives this amount of attacks. Note: The default achievement "it stinks and they don't like it" uses the amount of 1. (As in getting attacked once.)
amount = 10
The achievement is only triggered if the attacking group of enemies contains at least one of the entities listed here.
"autonomous"
or "distraction"
or "scripted"
optional newThe type of attack that triggers this achievement. "autonomous" attacks are triggered in response to pollution or a territory disturbance. "distraction" attacks are in response to taking damage or seeing a nearby enemy. "scripted" attacks are triggered from mods.