Factorio Runtime DocsVersion 2.0.14

EntityPrototypeFlag :: union

A string specifying an entity prototype flag.

Union members

"not-rotatable"

Prevents the entity from being rotated before or after placement.

"placeable-neutral"

Determines the default force when placing entities in the map editor and using the "AUTO" option for the force.

"placeable-player"

Determines the default force when placing entities in the map editor and using the "AUTO" option for the force.

"placeable-enemy"

Determines the default force when placing entities in the map editor and using the "AUTO" option for the force.

"placeable-off-grid"

Determines whether the entity needs to be aligned with the invisible grid within the world. Most entities are confined in this way, with a few exceptions such as trees and land mines.

"player-creation"

Makes it possible to blueprint, deconstruct, and repair the entity (which can be turned off again using the specific flags). Makes it possible for the biter AI to target the entity as a distraction. Enables dust to automatically be created when building the entity. If the entity does not have a map_color set, this flag makes the entity appear on the map with the default color specified by the UtilityConstants.

"building-direction-8-way"

Uses 45 degree angle increments when selecting direction.

"filter-directions"

Used to automatically detect the proper direction of the entity if possible. Used by the pump, train stop, and train signal by default.

"get-by-unit-number"

When set, entity will be possible to obtain by using LuaGameScript::get_entity_by_unit_number. It also changes input actions sent by a player to be selecting entity by unit number instead of a position which may help players in latency to select moving entities.

"breaths-air"

Used to specify that the entity breathes air, and is thus affected by poison.

"not-repairable"

Used to specify that the entity can not be 'healed' by repair packs.

"not-on-map"

Prevents the entity from being drawn on the map.

"not-deconstructable"

Prevents the entity from being deconstructed.

"not-blueprintable"

Prevents the entity from being part of a blueprint.

"hide-alt-info"

Hides the alt-info of this entity when in alt-mode.

"no-gap-fill-while-building"
"not-flammable"

Does not apply fire stickers to the entity.

"no-automated-item-removal"

Prevents inserters and loaders from taking items from this entity.

"no-automated-item-insertion"

Prevents inserters and loaders from inserting items into this entity.

"no-copy-paste"

Prevents the entity from being copy-pasted.

"not-selectable-in-game"

Disallows selection of the entity even when a selection box is specified for other reasons. For example, selection boxes are used to determine the size of outlines to be shown when highlighting entities inside electric pole ranges.

"not-upgradable"

Prevents the entity from being selected by the upgrade planner.

"not-in-kill-statistics"

Prevents the entity from being shown in the kill statistics.

"building-direction-16-way"
"snap-to-rail-support-spot"
"not-in-made-in"

Prevents the entity from being shown in the "made in" list in recipe tooltips.

Classes

Concepts

Events

Defines