Fix vessel stats.

This commit is contained in:
Adamo 2023-11-29 03:09:11 -05:00
parent 1d39d92009
commit 071e21d3b9
Signed by: Otho
GPG Key ID: 41B5569B22EAAA7A

View File

@ -253,6 +253,7 @@ local process_vessel_item = {
place_result = "adamo-chemical-process-vessel", place_result = "adamo-chemical-process-vessel",
stack_size = 10 stack_size = 10
} }
local chemplant = data.raw["assembling-machine"]["chemical-plant"]
local process_vessel_entity = { local process_vessel_entity = {
type = "assembling-machine", type = "assembling-machine",
name = "adamo-chemical-process-vessel", name = "adamo-chemical-process-vessel",
@ -267,7 +268,7 @@ local process_vessel_entity = {
result = "adamo-chemical-process-vessel" result = "adamo-chemical-process-vessel"
}, },
fast_replaceable_group = "assembling-machine", fast_replaceable_group = "assembling-machine",
max_health = 750, max_health = chemplant.max_health*2.5,
corpse = "medium-remnants", corpse = "medium-remnants",
dying_explosion = "big-explosion", dying_explosion = "big-explosion",
collision_box = {{-2.4, -2.4}, {2.4, 2.4}}, collision_box = {{-2.4, -2.4}, {2.4, 2.4}},
@ -292,13 +293,13 @@ local process_vessel_entity = {
"adamo-chemical-disassociation" "adamo-chemical-disassociation"
}, },
result_inventory_size = 0, result_inventory_size = 0,
crafting_speed = 3, crafting_speed = chemplant.crafting_speed*3,
energy_source = { energy_source = {
type = "electric", type = "electric",
usage_priority = "secondary-input", usage_priority = "secondary-input",
emissions_per_minute = 0.06, emissions_per_minute = chemplant.energy_source.emissions_per_minute*2,
}, },
energy_usage = "750kW", energy_usage = energy_mult(chemplant.energy_usage,3.5),
ingredient_count = 4, ingredient_count = 4,
animation = { animation = {
layers = vessel_layers() layers = vessel_layers()