From 65aca7f154933aa62002d95d3e178a0fe8619452 Mon Sep 17 00:00:00 2001 From: Kevin Granade Date: Fri, 4 Oct 2024 21:21:33 -0700 Subject: [PATCH] Increase the batch size of the calcium carbide producing reaction (#76788) * Increase the batch size of the calcium carbide producing reaction with the arc furnace Also makes arc furnace into an appliance, which mitigates issues with attempting such a power-intensive recipe without a power grid * Update data/json/items/appliances.json Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com> --------- Co-authored-by: Karol1223 <68503002+Karol1223@users.noreply.github.com> --- .../furniture_and_terrain/appliances.json | 22 +++++++++++++++++++ .../furniture-tools.json | 1 + data/json/items/appliances.json | 13 +++++++++++ .../json/recipes/recipe_medsandchemicals.json | 7 +++--- 4 files changed, 40 insertions(+), 3 deletions(-) diff --git a/data/json/furniture_and_terrain/appliances.json b/data/json/furniture_and_terrain/appliances.json index b8ef1cd16872d..39b11c1458d46 100644 --- a/data/json/furniture_and_terrain/appliances.json +++ b/data/json/furniture_and_terrain/appliances.json @@ -93,6 +93,28 @@ "type": "vehicle_part", "variants": [ { "symbols": "6", "symbols_broken": "x" } ] }, + { + "type": "vehicle_part", + "id": "ap_arc_furnace", + "name": { "str": "arc furnace" }, + "looks_like": "f_arc_furnace", + "color": "blue", + "categories": [ "utility" ], + "description": "An arc furnace designed to burn a powdery mix of coke and limestone to create calcium carbide. Plugged in and ready to go.", + "broken_color": "yellow_red", + "damage_modifier": 10, + "damage_reduction": { "all": 30 }, + "durability": 80, + "flags": [ "OBSTACLE", "APPLIANCE" ], + "pseudo_tools": [ { "id": "fake_arc_furnace" } ], + "item": "arc_furnace", + "breaks_into": [ + { "item": "scrap", "count": [ 2, 4 ] }, + { "item": "steel_chunk", "count": [ 0, 3 ] }, + { "item": "pipe", "count": [ 0, 4 ] } + ], + "variants": [ { "symbols": "U", "symbols_broken": "x" } ] + }, { "type": "vehicle_part", "id": "ap_forge", diff --git a/data/json/furniture_and_terrain/furniture-tools.json b/data/json/furniture_and_terrain/furniture-tools.json index 5f20810a9d898..11acdd2b4d668 100644 --- a/data/json/furniture_and_terrain/furniture-tools.json +++ b/data/json/furniture_and_terrain/furniture-tools.json @@ -454,6 +454,7 @@ "required_str": -1, "max_volume": "200 L", "flags": [ "CONTAINER", "FIRE_CONTAINER", "PLACE_ITEM" ], + "examine_action": { "type": "appliance_convert", "furn_set": "f_null", "item": "arc_furnace" }, "deconstruct": { "items": [ { "item": "metal_tank", "count": [ 1, 4 ] }, { "item": "pipe", "count": [ 2, 4 ] } ] }, "bash": { "str_min": 18, diff --git a/data/json/items/appliances.json b/data/json/items/appliances.json index c2850aa8969e9..b7a8dcbbb1b1b 100644 --- a/data/json/items/appliances.json +++ b/data/json/items/appliances.json @@ -41,6 +41,19 @@ "volume": "290 L", "weight": "77 kg" }, + { + "type": "GENERIC", + "id": "arc_furnace", + "looks_like": "f_arc_furnace", + "symbol": "U", + "description": "An arc furnace designed to burn a powdery mix of coke and limestone to create calcium carbide. Needs to be placed and plugged into a power source.", + "color": "blue", + "name": { "str": "disconnected arc furnace" }, + "material": [ "budget_steel" ], + "longest_side": "200 cm", + "volume": "400 L", + "weight": "1024 kg" + }, { "type": "GENERIC", "id": "drill_press", diff --git a/data/json/recipes/recipe_medsandchemicals.json b/data/json/recipes/recipe_medsandchemicals.json index b58ca4d62e5a9..c7e582a52de10 100644 --- a/data/json/recipes/recipe_medsandchemicals.json +++ b/data/json/recipes/recipe_medsandchemicals.json @@ -2645,14 +2645,15 @@ "//1": "multiple batches worth can be smelted and cooled at once, but grinding time dominates", "batch_time_factors": [ 25, 2 ], "//2": "some loss/waste, e.g. imperfect smelting; powder escaping", - "charges": 95, + "//2a": "Lower limit is based on a guesstimate about how much charge you need in the furnace for it to operate", + "charges": 95000, "book_learn": [ [ "textbook_chemistry", 4 ], [ "textbook_gaswarfare", 4 ], [ "atomic_survival", 3 ] ], "//3": "At least some knowledge on chemicals handling is required.", "proficiencies": [ { "proficiency": "prof_intro_chemistry" } ], "qualities": [ { "id": "FINE_GRIND", "level": 1 } ], "//4": "460kJ per mole @ 70% energy efficiency", - "tools": [ [ [ "fake_arc_furnace", 650 ] ] ], - "components": [ [ [ "cac2powder", 100 ] ] ] + "tools": [ [ [ "fake_arc_furnace", 650000 ] ] ], + "components": [ [ [ "cac2powder", 100000 ] ] ] }, { "type": "recipe",