
| Inherits from AchievementPrototype « Prototype « PrototypeBase |
| to_kill optional | :: EntityID or array[EntityID] | This defines which entity needs to be destroyed in order to receive the achievement. |
This defines which entity needs to be destroyed in order to receive the achievement. | ||
| type_to_kill optional | :: string | This defines what entity type needs to be destroyed in order to receive the achievement. |
This defines what entity type needs to be destroyed in order to receive the achievement. | ||
| damage_type optional | :: DamageTypeID | This defines how the player needs to destroy the specific entity. |
This defines how the player needs to destroy the specific entity. | ||
| damage_dealer optional | :: EntityID or array[EntityID] | The killer of the entity must be one of these entities. |
The killer of the entity must be one of these entities. | ||
| amount optional | :: uint32 | This is the amount of entity of the specified type the player needs to destroy to receive the achievement. |
This is the amount of entity of the specified type the player needs to destroy to receive the achievement. | ||
| in_vehicle optional | :: boolean | This defines if the player needs to be in a vehicle. |
This defines if the player needs to be in a vehicle. | ||
| personally optional | :: boolean | This defines to make sure you are the one driving, for instance, in a tank rather than an automated train. |
This defines to make sure you are the one driving, for instance, in a tank rather than an automated train. | ||
| 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 | :: boolean | 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. [...] | ||
| 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. | ||
| 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. | ||

type_to_kill = "inserter"

damage_type = "impact"

damage_dealer = "artillery-turret"
damage_dealer = {"artillery-turret", "artillery-wagon"}

amount = 100

in_vehicle = true

personally = true