Prototype/Reactor: Difference between revisions
(Set prototype parent) |
(Converted to SMW format) |
||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/EntityWithHealth}} | {{Prototype parent|Prototype/EntityWithHealth}} | ||
A [[nuclear reactor|reactor]]. | |||
{{Prototype TOC|reactor}} | |||
Prototype | |||
== Mandatory properties == | == Mandatory properties == | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | This prototype inherits all the properties from [[Prototype/EntityWithHealth]]. | ||
{{Prototype property|connection_patches_connected|[[Types/SpriteVariations|SpriteVariations]]}} | |||
Must have 12 variations. | Must have 12 variations. | ||
{{Prototype property|connection_patches_disconnected|[[Types/SpriteVariations|SpriteVariations]]}} | |||
Must have 12 variations. | 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. | May not be a heat energy source. | ||
{{Prototype property|consumption|[[Types/Energy|Energy]]}} | |||
== Optional properties == | == 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. | 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. | 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] | 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. | 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.
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 May not be a heat energy source.
Optional properties
Template:Prototype property The action is triggered when the reactor dies (is destroyed) at over 90% of max temperature.
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
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.