Prototype/Reactor: Difference between revisions
 Converted to SMW format  | 
				 0.17.67 changes: connection_patches_connected, connection_patches_disconnected were made optional; added heat_connection_patches_connected, heat_connection_patches_disconnected and heat_lower_layer_picture  | 
				||
| Line 6: | Line 6: | ||
== Mandatory properties ==  | == Mandatory properties ==  | ||
This prototype inherits all the properties from [[Prototype/EntityWithHealth]].  | This prototype inherits all the properties from [[Prototype/EntityWithHealth]].  | ||
{{Prototype property|working_light_picture|[[Types/Sprite|Sprite]]}}  | {{Prototype property|working_light_picture|[[Types/Sprite|Sprite]]}}  | ||
| Line 23: | Line 17: | ||
== Optional properties ==  | == Optional properties ==  | ||
{{Prototype property|connection_patches_connected|[[Types/SpriteVariations|SpriteVariations]]|optional=true}}  | |||
If defined, number of variations must be at least equal to count of [[Types/HeatBuffer#connections|connections]] defined in <code>heat_buffer</code>. Each variation represents connected heat buffer connection of corresponding index.  | |||
{{Prototype property|connection_patches_disconnected|[[Types/SpriteVariations|SpriteVariations]]|optional=true}}  | |||
If defined, number of variations must be at least equal to count of [[Types/HeatBuffer#connections|connections]] defined in <code>heat_buffer</code>. Each variation represents unconnected heat buffer connection of corresponding index.  | |||
{{Prototype property|heat_connection_patches_connected|[[Types/SpriteVariations|SpriteVariations]]|optional=true}}  | |||
If defined, number of variations must be at least equal to count of [[Types/HeatBuffer#connections|connections]] defined in <code>heat_buffer</code>. When reactor is heated, corresponding variations are drawn over <code>connection_patches_connected</code>.  | |||
{{Prototype property|heat_connection_patches_disconnected|[[Types/SpriteVariations|SpriteVariations]]|optional=true}}  | |||
If defined, number of variations must be at least equal to count of [[Types/HeatBuffer#connections|connections]] defined in <code>heat_buffer</code>. When reactor is heated, corresponding variations are drawn over <code>connection_patches_disconnected</code>.  | |||
{{Prototype property|lower_layer_picture|[[Types/Sprite|Sprite]]|optional=true}}  | {{Prototype property|lower_layer_picture|[[Types/Sprite|Sprite]]|optional=true}}  | ||
{{Prototype property|heat_lower_layer_picture|[[Types/Sprite|Sprite]]|optional=true}}  | |||
{{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}}  | {{Prototype property|picture|[[Types/Sprite|Sprite]]|optional=true}}  | ||
Revision as of 17:29, 3 September 2019
Template:Prototype parent A reactor.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
Template:Prototype property May not be a heat energy source.
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 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.