Prototype/Reactor: Difference between revisions
(neighbour_bonus can be negative (leads to funky behaviour, but it is possible and applied), scale_energy_usage has to be "true" for the scaling behaviour) |
(Migrated prototype doc to separate website) |
||
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] | |||
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]. | |||
{{Prototype parent|Prototype/EntityWithOwner}} | {{Prototype parent|Prototype/EntityWithOwner}} | ||
A [[nuclear reactor|reactor]]. | A [[nuclear reactor|reactor]]. |
Revision as of 17:53, 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/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.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
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 The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature.
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.