Prototype/ElectricEnergyInterface: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Protected "Prototype/ElectricEnergyInterface": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Updated styling of prototype doc migration note)
Line 1: Line 1:
'''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 https://lua-api.factorio.com/latest/prototypes/ElectricEnergyInterfacePrototype.html]
<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/prototypes/ElectricEnergyInterfacePrototype.html 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 [https://forums.factorio.com/viewforum.php?f=233 on the forums].
</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>





Revision as of 10:42, 21 September 2023

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