Prototype/DontBuildEntityAchievement: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 0.16  | 
				m →dont_build:  typo  | 
				||
| Line 3: | Line 3: | ||
== Properties ==  | == Properties ==  | ||
=== dont_build ===  | === dont_build ===  | ||
'''Type''': [[Types/table  | '''Type''': [[Types/table]] of [[Types/string]] or [[Types/string]]  | ||
This will disable the achievement, if this entity is placed. If you finish the game without building this entity, you receive the achievement.  | This will disable the achievement, if this entity is placed. If you finish the game without building this entity, you receive the achievement.  | ||
Revision as of 17:47, 19 May 2018
Basics
This prototype definition is used for receiving an achievement when the player finishes the game without building a specific entity. This is an extension of Prototype/Achievement.
Properties
dont_build
Type: Types/table of Types/string or Types/string
This will disable the achievement, if this entity is placed. If you finish the game without building this entity, you receive the achievement.
 dont_build = {"oil-barrel", fluid-wagon"},
amount
Type: Types/uint
Default: 0