Prototype/ElectricEnergyInterface

From Official Factorio Wiki
Revision as of 10:42, 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/ElectricEnergyInterfacePrototype.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 Entity with electric energy source with that can have some of its values changed runtime. Useful for modding in energy consumers/producers.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithOwner.

Template:Prototype property Must be an electric energy source.

Optional properties

Template:Prototype property

Template:Prototype property

Template:Prototype property Possible options: "all", "none", "admins".

Template:Prototype property Whether the electric energy interface animation always runs instead of being scaled to activity.

Template:Prototype property

Template:Prototype property The light that this electric energy interface emits.

One of the below properties has to exist:

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Differing defaults

The defaults of the ElectricEnergyInterfacePrototype differ from the defaults of the EntityPrototype:

  • allow_copy_paste defaults to false