From 49e4e2b3257d90ffc66b4e8fa2e7666b1440b751 Mon Sep 17 00:00:00 2001 From: YeOldeMiller <36291373+YeOldeMiller@users.noreply.github.com> Date: Thu, 26 Oct 2023 03:22:35 +0300 Subject: [PATCH] feat(content): semi-plausible smokeless gunpowder recipe (#3503) * Introduce a semi-plausible smokeless gunpowder recipe * style(autofix.ci): automated formatting * Define id_suffix for gunpowder recipe, add ether to components * Remove obsolete gunpowder recipe from Craftable Gun Pack mod * Revert "Define id_suffix for gunpowder recipe" * Reapply ether addition for gunpowder recipe --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> --- data/json/recipes/ammo/components.json | 23 ++++++++++++++++++++++ data/mods/Craft_Gunpowder/cgp_recipes.json | 21 -------------------- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/data/json/recipes/ammo/components.json b/data/json/recipes/ammo/components.json index 3a29dfb51561..7610be60b253 100644 --- a/data/json/recipes/ammo/components.json +++ b/data/json/recipes/ammo/components.json @@ -44,6 +44,29 @@ "tools": [ [ [ "hotplate", 5 ], [ "toolset", 5 ] ] ], "components": [ [ [ "oxy_powder", 5 ] ], [ [ "lye_powder", 5 ] ], [ [ "charcoal", 1 ], [ "coal_lump", 1 ] ] ] }, + { + "type": "recipe", + "result": "gunpowder", + "category": "CC_AMMO", + "subcategory": "CSC_AMMO_COMPONENTS", + "skill_used": "cooking", + "skills_required": [ "fabrication", 6 ], + "difficulty": 8, + "time": "2 h 40 m", + "charges": 200, + "book_learn": [ [ "textbook_anarch", 7 ], [ "adv_chemistry", 8 ], [ "textbook_chemistry", 8 ] ], + "batch_time_factors": [ 50, 3 ], + "qualities": [ { "id": "CHEM", "level": 3 } ], + "tools": [ [ [ "surface_heat", 250, "LIST" ] ], [ [ "pastaextruder", -1 ] ] ], + "components": [ + [ [ "cotton_ball", 5 ] ], + [ [ "chem_nitric_acid", 3 ] ], + [ [ "acid", 3 ], [ "chem_sulphuric_acid", 2 ] ], + [ [ "ether", 125 ] ], + [ [ "water", 9 ], [ "water_clean", 9 ] ], + [ [ "edible_tallow_lard", 2, "LIST" ], [ "tallow_tainted", 2 ], [ "cooking_oil", 16 ], [ "cooking_oil2", 16 ] ] + ] + }, { "type": "recipe", "result": "exploding_arrow_warhead", diff --git a/data/mods/Craft_Gunpowder/cgp_recipes.json b/data/mods/Craft_Gunpowder/cgp_recipes.json index 4302b8f86dc4..a7df98c48926 100644 --- a/data/mods/Craft_Gunpowder/cgp_recipes.json +++ b/data/mods/Craft_Gunpowder/cgp_recipes.json @@ -27,27 +27,6 @@ [ [ "sheet_metal", 2 ] ] ] }, - { - "type": "recipe", - "result": "gunpowder", - "category": "CC_AMMO", - "subcategory": "CSC_AMMO_COMPONENTS", - "skill_used": "fabrication", - "skills_required": [ "cooking", 1 ], - "difficulty": 4, - "time": 8000, - "book_learn": [ - [ "textbook_anarch", 4 ], - [ "recipe_bullets", 2 ], - [ "manual_shotgun", 3 ], - [ "manual_pistol", 3 ], - [ "adv_chemistry", 3 ], - [ "textbook_chemistry", 3 ] - ], - "qualities": [ { "id": "CHEM", "level": 2 } ], - "tools": [ [ [ "chemistry_set", 50 ], [ "hotplate", 50 ], [ "toolset", 50 ] ] ], - "components": [ [ [ "oxy_powder", 200 ] ], [ [ "ammonia", 2 ], [ "lye_powder", 200 ] ], [ [ "charcoal", 5 ] ] ] - }, { "type": "recipe", "result": "smg_9mm",