Factorio Prototype DocsVersion 2.0.26

ProduceAchievementPrototype 'produce-achievement'

This prototype is used for receiving an achievement when the player produces more than the specified amount of items.

Inherits from AchievementPrototype « Prototype « PrototypeBase

Properties

amount :: MaterialAmountType

This will set the amount of items or fluids needed to craft, for the player to complete the achievement.

This will set the amount of items or fluids needed to craft, for the player to complete the achievement.

limited_to_one_game :: bool

If this is false, the player carries over their statistics from this achievement through all their saves.

If this is false, the player carries over their statistics from this achievement through all their saves.

item_productchanged optional :: ItemIDFilter

Mandatory if fluid_product is not defined. [...]

Mandatory if fluid_product is not defined. [...]

fluid_product optional :: FluidID

Mandatory if item_product is not defined. [...]

Mandatory if item_product is not defined. [...]

Inherited from AchievementPrototype
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 false, it is not possible to complete the achievement on the peaceful difficulty setting or when the enemy base generation settings have been changed.

If this is set to false, it is not possible to complete the achievement on the peaceful difficulty setting or when the enemy base generation settings have been changed.

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. [...]

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_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.

Properties

amount :: MaterialAmountType

This will set the amount of items or fluids needed to craft, for the player to complete the achievement.

Example

amount = 100

limited_to_one_game :: bool

If this is false, the player carries over their statistics from this achievement through all their saves.

item_product :: ItemIDFilter optional changed

Mandatory if fluid_product is not defined.

This will tell the achievement what item the player needs to craft, to get the achievement.

Example

item_product = "pistol"

fluid_product :: FluidID optional

Mandatory if item_product is not defined.

This will tell the achievement what fluid the player needs to craft, to get the achievement.

Example

fluid_product = "heavy-oil"

Prototypes

Types

Defines