Skip to content

Commit

Permalink
Increase the batch size of the calcium carbide producing reaction wit…
Browse files Browse the repository at this point in the history
…h the arc furnace

Also makes arc furnace into an appliance, which mitigates issues with attempting such a power-intensive recipe without a power grid
  • Loading branch information
kevingranade committed Oct 2, 2024
1 parent e50203b commit a60b749
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 3 deletions.
22 changes: 22 additions & 0 deletions data/json/furniture_and_terrain/appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions data/json/furniture_and_terrain/furniture-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
13 changes: 13 additions & 0 deletions data/json/items/appliances.json
Original file line number Diff line number Diff line change
Expand Up @@ -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", "str_pl": "disconnected arc furnaces" },

Check failure on line 51 in data/json/items/appliances.json

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

(~[slow] ~[.],starting_items)=> "str_pl" is not necessary here since the plural form can be automatically generated. "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", "str_pl": "disconnected arc furnaces" }, ▲▲▲ "material": [ "budget_steel" ], "longest_side": "200 cm",

Check failure on line 51 in data/json/items/appliances.json

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

([slow] ~starting_items)=> "str_pl" is not necessary here since the plural form can be automatically generated. "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", "str_pl": "disconnected arc furnaces" }, ▲▲▲ "material": [ "budget_steel" ], "longest_side": "200 cm",
"material": [ "budget_steel" ],
"longest_side": "200 cm",
"volume": "400 L",
"weight": "1024 kg"
},
{
"type": "GENERIC",
"id": "drill_press",
Expand Down
7 changes: 4 additions & 3 deletions data/json/recipes/recipe_medsandchemicals.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a60b749

Please sign in to comment.