Types/EntityPrototypeFlags: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
(Removed old prototype docs)
 
(33 intermediate revisions by 10 users not shown)
Line 1: Line 1:
Flags are specified by list of string values.
<div class="stub"><p>'''The prototype docs have moved to a new website with an improved format.''' This documentation page can now be found here: [https://lua-api.factorio.com/latest/types/EntityPrototypeFlags.html https://lua-api.factorio.com/latest/types/EntityPrototypeFlags.html]


{| class="wikitable"
</p><p>This wiki page is no longer updated and '''will be removed at some point in the future''', so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback [https://forums.factorio.com/viewforum.php?f=233 on the forums].</p></div>
|-
! 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 determine what kind of entities should be damaged by the poison cloud
|}
    flags = {"placeable-neutral", "player-creation"}

Latest revision as of 14:32, 25 October 2024

The prototype docs have moved to a new website with an improved format. This documentation page can now be found here: https://lua-api.factorio.com/latest/types/EntityPrototypeFlags.html

This wiki page is no longer updated and will be removed at some point in the future, so please update your browser bookmarks or other links that sent you here. If you'd like to contribute to the new docs, you can leave your feedback on the forums.