Prototype/RailSignalBase

From Official Factorio Wiki
Revision as of 10:43, 21 September 2023 by BilkaBot (talk | contribs) (Updated styling of prototype doc migration note)
Jump to navigation Jump to search

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/prototypes/RailSignalBasePrototype.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.


Template:Prototype parent The abstract base entity for both rail signals.

Template:Prototype TOC

Extensions

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithOwner.

Template:Prototype property

Optional properties

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The maximum circuit wire distance for this entity.

Template:Prototype property

Template:Prototype property

Template:Prototype property Mandatory if circuit_wire_max_distance > 0.

Template:Prototype property Mandatory if circuit_wire_max_distance > 0.

Mandatory values

The collision_box of rail signals is hardcoded to {{-0.2, -0.2}, {0.2, 0.2}}.

Rail signals have additional requirements for the properties inherited from Prototype/Entity:

  • The "placeable-off-grid" flag will be ignored.
  • Rail signals must collide with each other, can be achieved by having the "rail-layer" collision mask layer on all rail signals.