Prototype/DontUseEntityInEnergyProductionAchievement: Difference between revisions
Muppet9010 (talk | contribs) (excluded and include both support a string or a table of strings) |
(Set prototype parent) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Achievement}} | |||
== Basics == | == Basics == | ||
Prototype type: '''dont-use-entity-in-energy-production-achievement''' | Prototype type: '''dont-use-entity-in-energy-production-achievement''' |
Revision as of 15:03, 24 July 2019
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",