Prototype/DontUseEntityInEnergyProductionAchievement

From Official Factorio Wiki
Revision as of 15:03, 24 July 2019 by Bilka (talk | contribs) (Set prototype parent)
Jump to navigation Jump to search

Prototype definitions » PrototypeBase » Prototype/Achievement » Prototype/DontUseEntityInEnergyProductionAchievement


Basics

Prototype type: dont-use-entity-in-energy-production-achievement

This prototype definition is used for receiving an achievement when the player finishes the game without receiving energy from a specific energy source. This is an extension of Prototype/Achievement.

Properties

last_hour_only

Type: Types/bool

Default: false

minimum_energy_produced

Type: Types/Energy

Default: 0W

excluded

Type: Types/string or Types/table of Types/string

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

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

included

Type: Types/string or Types/table of Types/string

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.

 included = "solar-panels",