Prototype/Reactor: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Converted to SMW format)
(Removed old prototype docs)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
<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]
A [[nuclear reactor|reactor]].


{{Prototype TOC|reactor}}
</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]].
 
{{Prototype property|connection_patches_connected|[[Types/SpriteVariations|SpriteVariations]]}}
Must have 12 variations.
 
{{Prototype property|connection_patches_disconnected|[[Types/SpriteVariations|SpriteVariations]]}}
Must have 12 variations.
 
{{Prototype property|working_light_picture|[[Types/Sprite|Sprite]]}}
 
{{Prototype property|heat_buffer|[[Types/HeatBuffer|HeatBuffer]]}}
 
{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}}
May not be a heat energy source.
 
{{Prototype property|consumption|[[Types/Energy|Energy]]}}
 
== Optional properties ==
 
{{Prototype property|lower_layer_picture|[[Types/Sprite|Sprite]]|optional=true}}
 
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}}
 
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
 
{{Prototype property|meltdown_action|[[Types/Trigger|Trigger]]|optional=true}}
The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature.
 
{{Prototype property|neighbour_bonus|[[Types/double|double]]|1|optional=true}}
 
{{Prototype property|neighbour_collision_increase|[[Types/double|double]]|0.25|optional=true}}
The collision box of a reactor is increased by this on the sides where it connects to another reactor. Cannot be negative.
 
{{Prototype property|scale_energy_usage|[[Types/bool|bool]]|false|optional=true}}
 
{{Prototype property|use_fuel_glow_color|[[Types/bool|bool]]|false|optional=true}}
Whether the reactor should use [[Prototype/Item#fuel_glow_color|fuel_glow_color]] from the fuel item prototype as light color and tint for <code>working_light_picture</code>.[https://forums.factorio.com/71121]
 
{{Prototype property|default_fuel_glow_color|[[Types/Color|Color]]|<nowiki>{1, 1, 1, 1} (white)</nowiki>|optional=true}}
When <code>use_fuel_glow_color</code> is true, this is the color used as <code>working_light_picture</code> tint for fuels that don't have glow color defined.

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.