Prototype/Reactor: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Set prototype parent)
(Converted to SMW format)
Line 1: Line 1:
{{Prototype parent|Prototype/EntityWithHealth}}
{{Prototype parent|Prototype/EntityWithHealth}}
A [[nuclear reactor|reactor]].


== Basics ==
{{Prototype TOC|reactor}}
Prototype type: '''reactor'''
 
A [[nuclear reactor|reactor]]. Extends [[Prototype/EntityWithHealth]].


== Mandatory properties ==
== Mandatory properties ==
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].


=== connection_patches_connected ===
{{Prototype property|connection_patches_connected|[[Types/SpriteVariations|SpriteVariations]]}}
'''Type''': [[Types/SpriteVariations]]
 
Must have 12 variations.
Must have 12 variations.


=== connection_patches_disconnected ===
{{Prototype property|connection_patches_disconnected|[[Types/SpriteVariations|SpriteVariations]]}}
'''Type''': [[Types/SpriteVariations]]
 
Must have 12 variations.
Must have 12 variations.


=== working_light_picture ===
{{Prototype property|working_light_picture|[[Types/Sprite|Sprite]]}}
'''Type''': [[Types/Sprite]]


=== heat_buffer ===
{{Prototype property|heat_buffer|[[Types/HeatBuffer|HeatBuffer]]}}
'''Type''': [[Types/HeatBuffer]]
 
=== energy_source ===
'''Type''': [[Types/EnergySource]]


{{Prototype property|energy_source|[[Types/EnergySource|EnergySource]]}}
May not be a heat energy source.
May not be a heat energy source.


=== consumption ===
{{Prototype property|consumption|[[Types/Energy|Energy]]}}
'''Type''': [[Types/Energy]]


== Optional properties ==
== Optional properties ==


=== lower_layer_picture ===
{{Prototype property|lower_layer_picture|[[Types/Sprite|Sprite]]|optional=true}}
'''Type''': [[Types/Sprite]]


=== picture ===
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}}
'''Type''': [[Types/Sprite]]


=== light ===
{{Prototype property|light|[[Types/LightDefinition|LightDefinition]]|optional=true}}
'''Type''': [[Types/LightDefinition]]
 
=== meltdown_action ===
'''Type''': [[Types/Trigger]]


{{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.
The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature.


=== neighbour_bonus ===
{{Prototype property|neighbour_bonus|[[Types/double|double]]|1|optional=true}}
'''Type''': [[Types/double]]
 
'''Default''': 1
 
=== neighbour_collision_increase ===
'''Type''': [[Types/double]]
 
'''Default''': 0.25


{{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.
The collision box of a reactor is increased by this on the sides where it connects to another reactor. Cannot be negative.


=== scale_energy_usage ===
{{Prototype property|scale_energy_usage|[[Types/bool|bool]]|false|optional=true}}
'''Type''': [[Types/bool]]
 
'''Default''': false
 
=== use_fuel_glow_color ===
'''Type''': [[Types/bool]]
 
'''Default''': false


{{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]
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]


=== default_fuel_glow_color ===
{{Prototype property|default_fuel_glow_color|[[Types/Color|Color]]|<nowiki>{1, 1, 1, 1} (white)</nowiki>|optional=true}}
'''Type''': [[Types/Color]]
 
'''Default''': {1, 1, 1, 1} (white)
 
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.
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.

Revision as of 17:10, 5 August 2019

Template:Prototype parent A reactor.

Template:Prototype TOC

Mandatory properties

This prototype inherits all the properties from Prototype/EntityWithHealth.

Template:Prototype property Must have 12 variations.

Template:Prototype property Must have 12 variations.

Template:Prototype property

Template:Prototype property

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

Template:Prototype property

Optional properties

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 The collision box of a reactor is increased by this on the sides where it connects to another reactor. Cannot be negative.

Template:Prototype property

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.