Factorio.com|Forums|Wiki|Mod Portal|API Docs

# Factorio Prototype Docs Version 2.0.77

# DontUseEntityInEnergyProductionAchievementPrototype - Prototype Docs

## DontUseEntityInEnergyProductionAchievementPrototype 'dont-use-entity-in-energy-production-achievement'

This prototype is used for receiving an achievement when the player finishes the game without receiving energy from a specific energy source.

Inherits from AchievementPrototypeWithCondition « AchievementPrototype « Prototype « PrototypeBase

## Properties

- default
- sorted

excluded | :: EntityID or array[EntityID] | This will not disable the achievement, if this entity is placed, and you have received any amount of power from it.
This will not disable the achievement, if this entity is placed, and you have received any amount of power from it.
included optional | :: EntityID or array[EntityID] | This will disable the achievement, if this entity is placed, and you have received any amount of power from it. [...]
This will disable the achievement, if this entity is placed, and you have received any amount of power from it. [...]
last_hour_only optional | :: boolean | If `true`, the achievements will only be checked for the last hour of the game, independently of finishing the game.
If `true`, the achievements will only be checked for the last hour of the game, independently of finishing the game.
minimum_energy_produced optional | :: Energy | The minimum amount of energy that needs to be produced by the allowed entities to trigger the achievement.
The minimum amount of energy that needs to be produced by the allowed entities to trigger the achievement.

Inherited from AchievementPrototypeWithCondition

objective_condition optional | :: `"game-finished"` or `"rocket-launched"` or `"late-research"` | The condition that needs to be met to receive the achievement. [...]
The condition that needs to be met to receive the achievement. [...]

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

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

excluded | :: EntityID or array[EntityID] | This will not disable the achievement, if this entity is placed, and you have received any amount of power from it.
This will not disable the achievement, if this entity is placed, and you have received any amount of power from it.
included optional | :: EntityID or array[EntityID] | This will disable the achievement, if this entity is placed, and you have received any amount of power from it. [...]
This will disable the achievement, if this entity is placed, and you have received any amount of power from it. [...]
last_hour_only optional | :: boolean | If `true`, the achievements will only be checked for the last hour of the game, independently of finishing the game.
If `true`, the achievements will only be checked for the last hour of the game, independently of finishing the game.
minimum_energy_produced optional | :: Energy | The minimum amount of energy that needs to be produced by the allowed entities to trigger the achievement.
The minimum amount of energy that needs to be produced by the allowed entities to trigger the achievement.

Inherited from AchievementPrototypeWithCondition

objective_condition optional | :: `"game-finished"` or `"rocket-launched"` or `"late-research"` | The condition that needs to be met to receive the achievement. [...]
The condition that needs to be met to receive the achievement. [...]

Inherited from AchievementPrototype

allowed_without_fight optional | :: boolean | 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.
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.

Inherited from Prototype

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

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_description optional | :: LocalisedString | Provides additional description used in factoriopedia.
Provides additional description used in factoriopedia.
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.
hidden optional | :: boolean |
hidden_in_factoriopedia optional | :: boolean |
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. [...]
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.
subgroup optional | :: ItemSubGroupID | The name of an ItemSubGroup.
The name of an ItemSubGroup.

## Properties

### excluded :: EntityID or array[EntityID]

This will not disable the achievement, if this entity is placed, and you have received any amount of power from it.

#### Example

    excluded = {"steam-engine", "steam-turbine"}

### included :: EntityID or array[EntityID] optional

This will disable the achievement, if this entity is placed, and you have received any amount of power from it. If you finish the game without receiving power from this entity, you receive the achievement.

#### Example

    included = "solar-panel"

### last_hour_only :: boolean optional

Default: `false`

If `true`, the achievements will only be checked for the last hour of the game, independently of finishing the game.

### minimum_energy_produced :: Energy optional

Default: `"0J"`

The minimum amount of energy that needs to be produced by the allowed entities to trigger the achievement.