Inherits from AchievementPrototype « PrototypeBase |
to_kill optional | :: 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. |
||
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 | :: bool |
This defines if the player needs to be in a vehicle. |
This defines if the player needs to be in a vehicle. |
||
personally optional | :: bool |
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, e.g. |
The size of the square icon, in pixels, e.g. |
||
icon_mipmaps optional | :: IconMipMapType |
Icons of reduced size will be used at decreased scale. |
Icons of reduced size will be used at decreased scale. |
||
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 |
||
hidden optional | :: bool |
|
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. |
type_to_kill = "inserter"
damage_type = "impact"
amount = 100
in_vehicle = true
personally = true