Prototype/Reactor: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
m (Protected "Prototype/Reactor": 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/ReactorPrototype.html https://lua-api.factorio.com/latest/prototypes/ReactorPrototype.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/ReactorPrototype.html https://lua-api.factorio.com/latest/prototypes/ReactorPrototype.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:43, 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/ReactorPrototype.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 A reactor.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithOwner.

Template:Prototype property

Template:Prototype property The energy output as heat.

Template:Prototype property May not be a heat energy source.

The input energy source, in vanilla it is a burner energy source.

Template:Prototype property How much energy this reactor can consume (from the input energy source) and then output as heat.

Optional properties

Template:Prototype property If defined, number of variations must be at least equal to count of connections defined in heat_buffer. Each variation represents connected heat buffer connection of corresponding index.

Template:Prototype property If defined, number of variations must be at least equal to count of connections defined in heat_buffer. Each variation represents unconnected heat buffer connection of corresponding index.

Template:Prototype property If defined, number of variations must be at least equal to count of connections defined in heat_buffer. When reactor is heated, corresponding variations are drawn over connection_patches_connected.

Template:Prototype property If defined, number of variations must be at least equal to count of connections defined in heat_buffer. When reactor is heated, corresponding variations are drawn over connection_patches_disconnected.

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property

Template:Prototype property The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature.

Template:Prototype property

Template:Prototype property When this is true, the reactor will stop consuming fuel/energy when the temperature has reached the maximum.

Template:Prototype property Whether the reactor should use fuel_glow_color from the fuel item prototype as light color and tint for working_light_picture.[1]

Template:Prototype property When use_fuel_glow_color is true, this is the color used as working_light_picture tint for fuels that don't have glow color defined.