Prototype/Reactor: Difference between revisions
m (wording) |
(neighbour_bonus can be negative (leads to funky behaviour, but it is possible and applied), scale_energy_usage has to be "true" for the scaling behaviour) |
||
Line 46: | Line 46: | ||
{{Prototype property|neighbour_bonus|[[Types/double|double]]|1|optional=true}} | {{Prototype property|neighbour_bonus|[[Types/double|double]]|1|optional=true}} | ||
{{Prototype property|scale_energy_usage|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|scale_energy_usage|[[Types/bool|bool]]|false|optional=true}} | ||
When this is | When this is true, the reactor will stop consuming fuel/energy when the temperature has reached the maximum. | ||
{{Prototype property|use_fuel_glow_color|[[Types/bool|bool]]|false|optional=true}} | {{Prototype property|use_fuel_glow_color|[[Types/bool|bool]]|false|optional=true}} |
Revision as of 14:55, 24 March 2022
Template:Prototype parent A reactor.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithOwner.
Template:Prototype property The energy output as heat.
Template:Prototype property May not be a heat energy source.
The input energy source, in vanilla it is a burner energy source.
Template:Prototype property How much energy this reactor can consume (from the input energy source) and then output as heat.
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 When this is true, the reactor will stop consuming fuel/energy when the temperature has reached the maximum.
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.