From 04b3b6fd2ab09c0e66c765545b6e845c02689d96 Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Mon, 31 Jul 2023 11:17:31 -0700 Subject: Add denatured alcohol via shim container. --- Readme.txt | 1 + json/items/fuel.json | 26 +++++++++++++++++++++++++- json/recipes/basecamps/recipe_groups.json | 1 + json/recipes/chem/fuel.json | 26 ++++++++++++++++++++++++++ 4 files changed, 53 insertions(+), 1 deletion(-) diff --git a/Readme.txt b/Readme.txt index d98f98d..e630023 100644 --- a/Readme.txt +++ b/Readme.txt @@ -26,6 +26,7 @@ Concrete. Cured Hides and Pelts, Leather Patches and Fur Pelts. Superglue. Reloaded Ammunition. +Denatured Alcohol. (via shim item) Biodiesel. (via shim item) Renamed several recipes to make the resulting item more clear. diff --git a/json/items/fuel.json b/json/items/fuel.json index 31ceb7c..9214bb5 100644 --- a/json/items/fuel.json +++ b/json/items/fuel.json @@ -19,7 +19,31 @@ "msg": "You open the jerrycan, exposing it to the atmosphere.", "container": "jerrycan", "target_charges": 10000, - "menu_text": "Open jerrycan", + "menu_text": "Unseal jerrycan", + "type": "transform" + } + }, + { + "id": "denat_alocohol_sealed", + "type": "TOOL", + "category": "tools", + "looks_like": "bottle_plastic", + "name": { "str": "sealed plastic bottle of denatured alcohol", "str_pl": "sealed plastic bottle of denatured alcohol" }, + "description": "This is a sealed plastic bottle containing denatured alcohol. Use to open.", + "weight": "513 g", + "volume": "500 ml", + "price": 250, + "price_postapoc": 750, + "to_hit": -2, + "material": [ "plastic", "alcohol" ], + "symbol": ")", + "color": "green", + "use_action": { + "target": "denat_alcohol", + "msg": "You open the plastic bottle, exposing it to the atmosphere.", + "container": "bottle_plastic", + "target_charges": 10000, + "menu_text": "Unseal plastic bottle", "type": "transform" } } diff --git a/json/recipes/basecamps/recipe_groups.json b/json/recipes/basecamps/recipe_groups.json index f30e682..8b4661b 100644 --- a/json/recipes/basecamps/recipe_groups.json +++ b/json/recipes/basecamps/recipe_groups.json @@ -240,6 +240,7 @@ { "id": "chem_sulphur", "description": " Craft: Sulfur" }, { "id": "zinc_metal", "description": " Craft: Zinc" }, { "id": "chem_zinc_powder", "description": " Craft: Zinc, Powder" }, + { "id": "denat_alocohol_sealed", "description": " Craft: Denatuted Alcohol" }, { "id": "anvil", "description": " Craft: Anvil" }, { "id": "tongs", "description": " Craft: Metal Tongs" }, { "id": "caltrops_glass", "description": " Craft: Glass Caltrops" } diff --git a/json/recipes/chem/fuel.json b/json/recipes/chem/fuel.json index e1a1717..b99e148 100644 --- a/json/recipes/chem/fuel.json +++ b/json/recipes/chem/fuel.json @@ -5,6 +5,8 @@ "category": "CC_CHEM", "subcategory": "CSC_CHEM_FUEL", "skill_used": "cooking", + "autolearn": false, + "never_learn": true, "difficulty": 6, "time": "420 m", "batch_time_factors": [ 83, 1 ], @@ -27,5 +29,29 @@ [ [ "jerrycan", 1 ] ] ], "flags": [ "ALLOW_ROTTEN" ] + }, + { + "result": "denat_alocohol_sealed", + "type": "recipe", + "category": "CSC_CHEM_FUEL", + "skill_used": "cooking", + "autolearn": false, + "never_learn": true, + "difficulty": 3, + "time": "30 m", + "batch_time_factors": [ 83, 3 ], + "qualities": [ { "id": "BOIL", "level": 2 }, { "id": "DISTILL", "level": 1 } ], + "tools": [ [ [ "surface_heat", 40, "LIST" ] ] ], + "components": [ + [ + [ "hard_liquor", 28, "LIST" ], + [ "weak_liquor", 20, "LIST" ], + [ "wash_liquor", 84, "LIST" ], + [ "cheap_wine", 112, "LIST" ], + [ "worthy_wine", 80, "LIST" ] + ], + [ [ "bottle_plastic", 1 ] ] + ], + "flags": [ "ALLOW_ROTTEN" ] } ] -- cgit v1.2.1