Prototype/DontUseEntityInEnergyProductionAchievement: Difference between revisions
(Added prototype type to page) |
Muppet9010 (talk | contribs) (excluded and include both support a string or a table of strings) |
||
Line 15: | Line 15: | ||
=== excluded === | === excluded === | ||
'''Type''': [[Types/string]] | '''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. | This will '''not''' disable the achievement, if this entity is placed, and you have received any amount of power from it. | ||
Line 22: | Line 22: | ||
=== included === | === included === | ||
'''Type''': [[Types/string]] | '''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. | 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", | included = "solar-panels", |
Revision as of 21:23, 20 April 2019
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",