This prototype is used for receiving an achievement when the player crafts a specified item a certain amount, in an hour.
Inherits from AchievementPrototype « PrototypeBase |
amount | :: MaterialAmountType | This is how much the player has to craft in an hour, to receive the achievement. |
This is how much the player has to craft in an hour, to receive the achievement. | ||
item_product optional | :: ItemID | Mandatory if |
Mandatory if | ||
fluid_product optional | :: FluidID | Mandatory if |
Mandatory if |
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. |
amount | :: MaterialAmountType | This is how much the player has to craft in an hour, to receive the achievement. |
This is how much the player has to craft in an hour, to receive the achievement. | ||
fluid_product optional | :: FluidID | Mandatory if |
Mandatory if | ||
item_product optional | :: ItemID | Mandatory if |
Mandatory if |
allowed_without_fight optional | :: bool | If this is set to |
If this is set to | ||
hidden optional | :: bool | |
icon optional | :: FileName | Path to the icon file. |
Path to the icon file. | ||
icon_mipmaps optional | :: IconMipMapType | Icons of reduced size will be used at decreased scale. |
Icons of reduced size will be used at decreased scale. | ||
icon_size optional | :: SpriteSizeType | The size of the square icon, in pixels, e.g. |
The size of the square icon, in pixels, e.g. | ||
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. |
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. | ||
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. |
This is how much the player has to craft in an hour, to receive the achievement.
amount = 1000
Mandatory if fluid_product
is not defined.
This will tell the achievement what item the player needs to craft, to get the achievement.
item_product = "landfill"
Mandatory if item_product
is not defined.
This will tell the achievement what fluid the player needs to craft, to get the achievement.
fluid_product = "light-oil"