From 071e21d3b9c06883622d6179c130c8c3efead998 Mon Sep 17 00:00:00 2001 From: Adamo Date: Wed, 29 Nov 2023 03:09:11 -0500 Subject: [PATCH] Fix vessel stats. --- machines.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/machines.lua b/machines.lua index 4c6f90c..9459e17 100644 --- a/machines.lua +++ b/machines.lua @@ -253,6 +253,7 @@ local process_vessel_item = { place_result = "adamo-chemical-process-vessel", stack_size = 10 } +local chemplant = data.raw["assembling-machine"]["chemical-plant"] local process_vessel_entity = { type = "assembling-machine", name = "adamo-chemical-process-vessel", @@ -267,7 +268,7 @@ local process_vessel_entity = { result = "adamo-chemical-process-vessel" }, fast_replaceable_group = "assembling-machine", - max_health = 750, + max_health = chemplant.max_health*2.5, corpse = "medium-remnants", dying_explosion = "big-explosion", collision_box = {{-2.4, -2.4}, {2.4, 2.4}}, @@ -292,13 +293,13 @@ local process_vessel_entity = { "adamo-chemical-disassociation" }, result_inventory_size = 0, - crafting_speed = 3, + crafting_speed = chemplant.crafting_speed*3, energy_source = { type = "electric", 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, animation = { layers = vessel_layers()