Prototype/Reactor: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added prototype type to page)
(Removed old prototype docs)
 
(15 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Basics ==
<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]
Prototype type: '''reactor'''


A [[nuclear reactor|reactor]]. Extends [[Prototype/EntityWithHealth]].
</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>
 
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
 
=== connection_patches_connected ===
'''Type''': [[Types/SpriteVariations]]
 
Must have 12 variations.
 
=== connection_patches_disconnected ===
'''Type''': [[Types/SpriteVariations]]
 
Must have 12 variations.
 
=== working_light_picture ===
'''Type''': [[Types/Sprite]]
 
=== heat_buffer ===
'''Type''': [[Types/HeatBuffer]]
 
=== burner ===
'''Type''': [[Types/EnergySource]]
 
Must be a burner energy source.
 
=== consumption ===
'''Type''': [[Types/Energy]]
 
== Optional properties ==
 
=== lower_layer_picture ===
'''Type''': [[Types/Sprite]]
 
=== picture ===
'''Type''': [[Types/Sprite]]
 
=== light ===
'''Type''': [[Types/LightDefinition]]
 
=== meltdown_action ===
'''Type''': [[Types/Trigger]]
 
The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature.
 
=== neighbour_bonus ===
'''Type''': [[Types/double]]
 
'''Default''': 1
 
=== neighbour_collision_increase ===
'''Type''': [[Types/double]]
 
'''Default''': 0.25
 
The collision box of a reactor is increased by this on the sides where it connects to another reactor.

Latest revision as of 14:33, 25 October 2024

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.