Prototype/ElectricEnergyInterface: Difference between revisions
(Migrated prototype doc to separate website) |
m (Protected "Prototype/ElectricEnergyInterface": Migrated prototype doc to separate website ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))) |
Revision as of 17:52, 16 August 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.
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 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 The light that this electric energy interface emits.
One of the below properties has to exist:
Differing defaults
The defaults of the ElectricEnergyInterfacePrototype differ from the defaults of the EntityPrototype:
- allow_copy_paste defaults to false