Types/EntityPrototypeFlags: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| Line 23: | Line 23: | ||
| fast-replacable-no-rotate-only || Fast replacable logic cannot be used to just change direction. Used only for transport belt to ground.  | | fast-replacable-no-rotate-only || Fast replacable logic cannot be used to just change direction. Used only for transport belt to ground.  | ||
|-  | |-  | ||
| breaths-air || Used determine what kind of entities should be damaged by the poison cloud  | | breaths-air || Used to determine what kind of entities should be damaged by the poison cloud.  | ||
|}  | |}  | ||
     flags = {"placeable-neutral", "player-creation"}  |      flags = {"placeable-neutral", "player-creation"}  | ||
Revision as of 15:10, 13 October 2013
Flags are specified by list of string values.
| value | meaning | 
|---|---|
| pushable | When hit by car, it can be moved by the damage | 
| placeable-neutral | Entities with this flag will be offered in the neutral tab in the map editor. | 
| placeable-player | Player tab in map editor | 
| placeable-enemy | Enemy tab in the map editor. | 
| placeable-off-grid | |
| player-creation | Changes the creeper behavior when these are in the way. | 
| building-direction-8-way | Used for entities that have 8 rotation directions instead of 4, used only for rails and rail signals now. | 
| filter-direction | Automatically choose the working direction on the location when building, rotate only between working directions, used for pump, rail signal and rail stop. | 
| fast-replacable-no-rotate-only | Fast replacable logic cannot be used to just change direction. Used only for transport belt to ground. | 
| breaths-air | Used to determine what kind of entities should be damaged by the poison cloud. | 
   flags = {"placeable-neutral", "player-creation"}