From c19e95bc96d27d8bef8e2e246a63cd4cd6f89974 Mon Sep 17 00:00:00 2001 From: kuutekitty Date: Thu, 1 Oct 2026 16:12:08 +0300 Subject: [PATCH] obsolete small_repairkit and large_repairkit (#88520) * remove mentions of the kits from some things but not all and replace their spawns with guns_toolbox ? this was a rebase why are we being asked for a commit message * obsolete the item repairkits * remove install difficult from m240semi and m249semi --- .../itemgroups/Clothing_Gear/clothing.json | 2 +- .../Locations_MapExtras/locations.json | 3 +- .../Weapons_Mods_Ammo/arsenal/armor.json | 3 +- .../Weapons_Mods_Ammo/arsenal/mics.json | 3 +- data/json/itemgroups/activities_hobbies.json | 2 +- data/json/itemgroups/tools.json | 14 ++- data/json/items/gunmod/mechanism.json | 4 +- data/json/items/tool/workshop.json | 106 ----------------- data/json/npcs/NC_JUNK_SHOPKEEP.json | 2 +- data/json/npcs/items_generic.json | 3 +- .../NPC_Old_Guard_FOB_quartermaster.json | 2 +- .../surface_staff/Smokes/NPC_Smokes.json | 2 +- .../repairkits.json | 108 ++++++++++++++++++ data/json/recipes/recipe_others.json | 30 ----- data/json/recipes/weapon/magazines.json | 29 ++--- data/json/recipes/weapon/mods.json | 7 +- data/json/requirements/toolsets.json | 30 ++--- data/mods/Magiclysm/recipes/weapons.json | 1 - data/mods/TEST_DATA/known_bad_uncrafts.json | 1 - .../augustmoon_gun_trader.json | 3 +- .../salvor_fabricator_groups.json | 2 +- 21 files changed, 154 insertions(+), 203 deletions(-) create mode 100644 data/json/obsoletion_and_migration_0.J/repairkits.json diff --git a/data/json/itemgroups/Clothing_Gear/clothing.json b/data/json/itemgroups/Clothing_Gear/clothing.json index e65233ecf1c..9c2cd2e2538 100644 --- a/data/json/itemgroups/Clothing_Gear/clothing.json +++ b/data/json/itemgroups/Clothing_Gear/clothing.json @@ -2029,7 +2029,7 @@ { "prob": 5, "group": "antiparasitic_bottle_plastic_pill_prescription_1_10" }, { "prob": 1, "group": "diazepam_bottle_plastic_pill_prescription_1_10" }, [ "throw_extinguisher", 2 ], - { "item": "small_repairkit", "prob": 14, "charges": [ 0, 500 ] }, + { "group": "guns_toolbox", "prob": 12 }, [ "grapnel", 6 ], { "item": "misc_repairkit", "prob": 8 }, { "distribution": [ { "group": "full_survival_kit" }, { "group": "used_survival_kit" } ], "prob": 3 }, diff --git a/data/json/itemgroups/Locations_MapExtras/locations.json b/data/json/itemgroups/Locations_MapExtras/locations.json index 820bceccd4a..4ff4d682d8b 100644 --- a/data/json/itemgroups/Locations_MapExtras/locations.json +++ b/data/json/itemgroups/Locations_MapExtras/locations.json @@ -109,9 +109,8 @@ { "group": "guns_shotgun_common", "prob": 2 }, { "group": "guns_survival", "prob": 1 }, { "item": "flaregun", "prob": 25 }, - { "item": "large_repairkit", "prob": 5, "charges": [ 0, 500 ] }, { "item": "signal_flare", "prob": 20 }, - { "item": "small_repairkit", "prob": 5, "charges": [ 0, 500 ] } + { "group": "guns_toolbox", "prob": 10 } ] }, { diff --git a/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/armor.json b/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/armor.json index 4cfbc8a86fb..1700749b5ad 100644 --- a/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/armor.json +++ b/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/armor.json @@ -10,8 +10,7 @@ { "group": "arsenal_mics_rare", "prob": 10 }, { "group": "full_ifak", "prob": 80, "count": [ 1, 2 ] }, { "group": "arsenal_mics_tools", "count": [ 1, 4 ] }, - { "item": "large_repairkit", "prob": 2 }, - { "item": "small_repairkit", "prob": 1 } + { "group": "guns_toolbox", "prob": 3 } ] }, { diff --git a/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/mics.json b/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/mics.json index eaaaaeee2da..48355152a8a 100644 --- a/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/mics.json +++ b/data/json/itemgroups/Weapons_Mods_Ammo/arsenal/mics.json @@ -8,8 +8,7 @@ { "group": "arsenal_mics_mods", "prob": 25, "count": [ 1, 2 ] }, { "group": "full_ifak", "prob": 80, "count": [ 1, 2 ] }, { "group": "arsenal_mics_tools", "count": [ 1, 4 ] }, - { "item": "large_repairkit", "prob": 2 }, - { "item": "small_repairkit", "prob": 1 } + { "group": "guns_toolbox", "prob": 3 } ] }, { diff --git a/data/json/itemgroups/activities_hobbies.json b/data/json/itemgroups/activities_hobbies.json index 43a6ff2faae..ccd7c9a3c93 100644 --- a/data/json/itemgroups/activities_hobbies.json +++ b/data/json/itemgroups/activities_hobbies.json @@ -225,7 +225,7 @@ { "item": "m_fishspear", "prob": 10 }, { "item": "c_fishspear", "prob": 10 }, { "item": "diveknife", "prob": 12 }, - { "item": "small_repairkit", "prob": 2 }, + { "group": "guns_toolbox", "prob": 2 }, { "item": "slingshot", "prob": 10 }, { "item": "wristrocket", "prob": 5 }, { "item": "powered_earmuffs", "prob": 80, "charges": [ 0, 50 ] }, diff --git a/data/json/itemgroups/tools.json b/data/json/itemgroups/tools.json index 6cc2e417725..74ab2091bf7 100644 --- a/data/json/itemgroups/tools.json +++ b/data/json/itemgroups/tools.json @@ -731,7 +731,7 @@ "subtype": "collection", "//": "Tools used for working with guns and ammo", "entries": [ - { "item": "large_repairkit", "prob": 50, "charges": [ 0, 500 ] }, + { "group": "guns_toolbox", "prob": 50 }, { "item": "puller", "prob": 100 }, { "item": "press", "prob": 100 }, { "item": "arbor_press", "prob": 100 } @@ -1279,5 +1279,17 @@ { "item": "glue_strong", "container-item": "bottle_twoliter_glue", "charges": 2000 }, { "item": "glue_strong", "container-item": "jug_plastic_glue", "charges": 3750 } ] + }, + { + "type": "item_group", + "subtype": "collection", + "id": "guns_toolbox", + "container-item": "toolbox_empty", + "items": [ + { "item": "pipe_cleaner", "prob": 100 }, + { "item": "screwdriver_set", "prob": 90 }, + { "item": "wrench", "prob": 100 }, + { "item": "hammer", "prob": 85 } + ] } ] diff --git a/data/json/items/gunmod/mechanism.json b/data/json/items/gunmod/mechanism.json index e890c89e127..6b9c3140961 100644 --- a/data/json/items/gunmod/mechanism.json +++ b/data/json/items/gunmod/mechanism.json @@ -135,7 +135,7 @@ "//durability_modifier": -3, "mode_modifier": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "burst", 4 ] ], "min_skills": [ [ "mechanics", 4 ], [ "rifle", 5 ] ], - "flags": [ "INSTALL_DIFFICULT", "CONSUMABLE" ] + "flags": [ "CONSUMABLE" ] }, { "id": "condenser_pristine", @@ -182,6 +182,6 @@ "//durability_modifier": -3, "mode_modifier": [ [ "DEFAULT", "semi-auto", 1 ], [ "AUTO", "burst", 4 ] ], "min_skills": [ [ "mechanics", 4 ], [ "rifle", 5 ] ], - "flags": [ "INSTALL_DIFFICULT", "CONSUMABLE" ] + "flags": [ "CONSUMABLE" ] } ] diff --git a/data/json/items/tool/workshop.json b/data/json/items/tool/workshop.json index 25cb664a7b3..e1636dc500d 100644 --- a/data/json/items/tool/workshop.json +++ b/data/json/items/tool/workshop.json @@ -692,57 +692,6 @@ "melee_damage": { "bash": 12 }, "tool_ammo": [ "battery" ] }, - { - "id": "large_repairkit", - "type": "ITEM", - "subtypes": [ "TOOL" ], - "name": { "str": "gunsmith repair kit" }, - "description": "A complete tool kit made to repair damaged firearms. Powered by standard batteries, it is a vital tool for long-term firearms maintenance. It requires 1 charge of battery power per use.", - "weight": "9860 g", - "volume": "2500 ml", - "longest_side": "36 cm", - "price": "50 USD", - "price_postapoc": "15 USD", - "material": [ "steel", "aluminum" ], - "symbol": ";", - "color": "dark_gray", - "charges_per_use": 1, - "qualities": [ - [ "HAMMER_FINE", 1 ], - [ "HAMMER", 3 ], - [ "PRY", 1 ], - [ "SAW_M_FINE", 1 ], - [ "SAW_M", 2 ], - [ "SAW_W", 1 ], - [ "WRENCH_FINE", 1 ], - [ "WRENCH", 2 ], - [ "SCREW_FINE", 1 ], - [ "SCREW", 1 ], - [ "CHISEL", 3 ], - [ "CHISEL_WOOD", 3 ], - [ "PRYING_NAIL", 1 ] - ], - "use_action": [ - "GUN_REPAIR", - [ "CROWBAR", 0 ], - [ "HACKSAW", 0 ], - { - "type": "repair_item", - "item_action_type": "repair_metal", - "materials": [ "plastic", "lead", "tin", "zinc" ], - "skill": "fabrication", - "cost_scaling": 0.1, - "move_cost": 1500 - }, - { "type": "link_up", "cable_length": 3, "charge_rate": "70 W" } - ], - "flags": [ "ALLOWS_REMOTE_USE" ], - "pocket_data": [ - { "pocket_type": "MAGAZINE_WELL", "flag_restriction": [ "BATTERY_HEAVY" ], "default_magazine": "heavy_battery_cell" } - ], - "melee_damage": { "bash": 8 }, - "tool_ammo": [ "battery" ] - }, { "id": "makeshift_hammer", "type": "ITEM", @@ -1245,61 +1194,6 @@ "flags": [ "BELT_CLIP", "NO_SALVAGE" ], "melee_damage": { "bash": 4 } }, - { - "id": "small_repairkit", - "type": "ITEM", - "subtypes": [ "TOOL" ], - "name": { "str": "firearm repair kit" }, - "description": "A portable tool kit made to repair damaged firearms. Powered by standard batteries, it is a vital tool for long-term firearms maintenance. It requires one charge of battery power per use.", - "weight": "2420 g", - "volume": "1500 ml", - "longest_side": "32 cm", - "price": "15 USD", - "price_postapoc": "7 USD 50 cent", - "material": [ "steel", "plastic" ], - "symbol": ";", - "color": "light_gray", - "charges_per_use": 1, - "qualities": [ - [ "HAMMER_FINE", 1 ], - [ "HAMMER", 3 ], - [ "PRY", 1 ], - [ "SAW_M_FINE", 1 ], - [ "SAW_M", 2 ], - [ "SAW_W", 1 ], - [ "WRENCH_FINE", 1 ], - [ "WRENCH", 2 ], - [ "SCREW_FINE", 1 ], - [ "SCREW", 1 ], - [ "CHISEL", 3 ], - [ "CHISEL_WOOD", 3 ], - [ "PRYING_NAIL", 1 ] - ], - "use_action": [ - "GUN_REPAIR", - [ "CROWBAR", 0 ], - [ "HACKSAW", 0 ], - { - "type": "repair_item", - "item_action_type": "repair_metal", - "materials": [ "plastic", "lead", "tin", "zinc" ], - "skill": "fabrication", - "cost_scaling": 0.1, - "move_cost": 1500 - }, - { "type": "link_up", "cable_length": 3, "charge_rate": "70 W" } - ], - "flags": [ "ALLOWS_REMOTE_USE" ], - "pocket_data": [ - { - "pocket_type": "MAGAZINE_WELL", - "rigid": true, - "flag_restriction": [ "BATTERY_MEDIUM" ], - "default_magazine": "medium_battery_cell" - } - ], - "tool_ammo": [ "battery" ] - }, { "id": "soldering_iron", "type": "ITEM", diff --git a/data/json/npcs/NC_JUNK_SHOPKEEP.json b/data/json/npcs/NC_JUNK_SHOPKEEP.json index 9b2d7ae016d..4364e923c76 100644 --- a/data/json/npcs/NC_JUNK_SHOPKEEP.json +++ b/data/json/npcs/NC_JUNK_SHOPKEEP.json @@ -98,7 +98,7 @@ { "prob": 20, "group": "antifungal_bottle_plastic_pill_prescription_5" }, { "prob": 20, "group": "antiparasitic_bottle_plastic_pill_prescription_5" }, { "prob": 15, "group": "diazepam_bottle_plastic_pill_prescription_10" }, - { "item": "small_repairkit", "prob": 20 }, + { "group": "guns_toolbox", "prob": 20 }, { "item": "grapnel", "prob": 5 }, { "item": "misc_repairkit", "prob": 15 }, { "group": "tools_toolbox", "prob": 20 }, diff --git a/data/json/npcs/items_generic.json b/data/json/npcs/items_generic.json index dde80a726bb..3b22222de26 100644 --- a/data/json/npcs/items_generic.json +++ b/data/json/npcs/items_generic.json @@ -707,7 +707,6 @@ [ "knitting_needles", 1 ], [ "lamp_oil", 2 ], [ "laptop", 3 ], - [ "large_repairkit", 1 ], [ "lasagne_raw", 2 ], [ "laser_sight", 1 ], [ "lead", 5 ], @@ -997,7 +996,7 @@ [ "sloppyjoe", 3 ], [ "sm_extinguisher", 2 ], [ "small_lcd_screen", 1 ], - [ "small_repairkit", 3 ], + { "group": "guns_toolbox", "prob": 3 }, [ "smart_lamp", 2 ], [ "smokebomb", 2 ], [ "smoxygen_tank", 1 ], diff --git a/data/json/npcs/old_guard/NPC_Old_Guard_FOB_quartermaster.json b/data/json/npcs/old_guard/NPC_Old_Guard_FOB_quartermaster.json index 36ad01e368f..d82cba82f40 100644 --- a/data/json/npcs/old_guard/NPC_Old_Guard_FOB_quartermaster.json +++ b/data/json/npcs/old_guard/NPC_Old_Guard_FOB_quartermaster.json @@ -98,7 +98,7 @@ [ "holster", 25 ], [ "bandana", 20 ], { "item": "balclava", "variant": "black", "prob": 10 }, - [ "small_repairkit", 20 ], + { "group": "guns_toolbox", "prob": 20 }, [ "grapnel", 5 ], [ "misc_repairkit", 15 ], { "group": "tools_toolbox", "prob": 20 }, diff --git a/data/json/npcs/refugee_center/surface_staff/Smokes/NPC_Smokes.json b/data/json/npcs/refugee_center/surface_staff/Smokes/NPC_Smokes.json index b4904a758ef..7aa4c45175e 100644 --- a/data/json/npcs/refugee_center/surface_staff/Smokes/NPC_Smokes.json +++ b/data/json/npcs/refugee_center/surface_staff/Smokes/NPC_Smokes.json @@ -190,7 +190,7 @@ [ "antifungal", 20 ], [ "antiparasitic", 20 ], [ "diazepam", 15 ], - [ "small_repairkit", 20 ], + { "group": "guns_toolbox", "prob": 20 }, [ "grapnel", 5 ], [ "misc_repairkit", 15 ], { "group": "tools_toolbox", "prob": 20 }, diff --git a/data/json/obsoletion_and_migration_0.J/repairkits.json b/data/json/obsoletion_and_migration_0.J/repairkits.json new file mode 100644 index 00000000000..97af23a7ae9 --- /dev/null +++ b/data/json/obsoletion_and_migration_0.J/repairkits.json @@ -0,0 +1,108 @@ +[ + { + "id": "small_repairkit", + "type": "ITEM", + "subtypes": [ "TOOL" ], + "name": { "str": "firearm repair kit" }, + "description": "A portable tool kit made to repair damaged firearms. Powered by standard batteries, it is a vital tool for long-term firearms maintenance. It requires one charge of battery power per use.", + "weight": "2420 g", + "volume": "1500 ml", + "longest_side": "32 cm", + "price": "15 USD", + "price_postapoc": "7 USD 50 cent", + "material": [ "steel", "plastic" ], + "symbol": ";", + "color": "light_gray", + "charges_per_use": 1, + "qualities": [ + [ "HAMMER_FINE", 1 ], + [ "HAMMER", 3 ], + [ "PRY", 1 ], + [ "SAW_M_FINE", 1 ], + [ "SAW_M", 2 ], + [ "SAW_W", 1 ], + [ "WRENCH_FINE", 1 ], + [ "WRENCH", 2 ], + [ "SCREW_FINE", 1 ], + [ "SCREW", 1 ], + [ "CHISEL", 3 ], + [ "CHISEL_WOOD", 3 ], + [ "PRYING_NAIL", 1 ] + ], + "use_action": [ + "GUN_REPAIR", + [ "CROWBAR", 0 ], + [ "HACKSAW", 0 ], + { + "type": "repair_item", + "item_action_type": "repair_metal", + "materials": [ "plastic", "lead", "tin", "zinc" ], + "skill": "fabrication", + "cost_scaling": 0.1, + "move_cost": 1500 + }, + { "type": "link_up", "cable_length": 3, "charge_rate": "70 W" } + ], + "flags": [ "ALLOWS_REMOTE_USE" ], + "pocket_data": [ + { + "pocket_type": "MAGAZINE_WELL", + "rigid": true, + "flag_restriction": [ "BATTERY_MEDIUM" ], + "default_magazine": "medium_battery_cell" + } + ], + "tool_ammo": [ "battery" ] + }, + { + "id": "large_repairkit", + "type": "ITEM", + "subtypes": [ "TOOL" ], + "name": { "str": "gunsmith repair kit" }, + "description": "A complete tool kit made to repair damaged firearms. Powered by standard batteries, it is a vital tool for long-term firearms maintenance. It requires 1 charge of battery power per use.", + "weight": "9860 g", + "volume": "2500 ml", + "longest_side": "36 cm", + "price": "50 USD", + "price_postapoc": "15 USD", + "material": [ "steel", "aluminum" ], + "symbol": ";", + "color": "dark_gray", + "charges_per_use": 1, + "qualities": [ + [ "HAMMER_FINE", 1 ], + [ "HAMMER", 3 ], + [ "PRY", 1 ], + [ "SAW_M_FINE", 1 ], + [ "SAW_M", 2 ], + [ "SAW_W", 1 ], + [ "WRENCH_FINE", 1 ], + [ "WRENCH", 2 ], + [ "SCREW_FINE", 1 ], + [ "SCREW", 1 ], + [ "CHISEL", 3 ], + [ "CHISEL_WOOD", 3 ], + [ "PRYING_NAIL", 1 ] + ], + "use_action": [ + "GUN_REPAIR", + [ "CROWBAR", 0 ], + [ "HACKSAW", 0 ], + { + "type": "repair_item", + "item_action_type": "repair_metal", + "materials": [ "plastic", "lead", "tin", "zinc" ], + "skill": "fabrication", + "cost_scaling": 0.1, + "move_cost": 1500 + }, + { "type": "link_up", "cable_length": 3, "charge_rate": "70 W" } + ], + "flags": [ "ALLOWS_REMOTE_USE" ], + "pocket_data": [ + { "pocket_type": "MAGAZINE_WELL", "flag_restriction": [ "BATTERY_HEAVY" ], "default_magazine": "heavy_battery_cell" } + ], + "melee_damage": { "bash": 8 }, + "tool_ammo": [ "battery" ] + } +] diff --git a/data/json/recipes/recipe_others.json b/data/json/recipes/recipe_others.json index 1dc4c12503b..f7d226367f6 100644 --- a/data/json/recipes/recipe_others.json +++ b/data/json/recipes/recipe_others.json @@ -1165,36 +1165,6 @@ [ [ "leather", 1 ], [ "fur", 1 ], [ "faux_fur", 1 ], [ "felt_patch", 1 ], [ "cotton_patchwork", 1 ] ] ] }, - { - "type": "recipe", - "activity_level": "NO_EXERCISE", - "result": "small_repairkit", - "category": "CC_OTHER", - "subcategory": "CSC_OTHER_TOOLS", - "skill_used": "mechanics", - "difficulty": 1, - "time": "2 m", - "reversible": true, - "book_learn": [ - [ "manual_shotgun", 0 ], - [ "manual_rifle", 0 ], - [ "manual_smg", 0 ], - [ "manual_pistol", 0 ], - [ "recipe_bullets", 0 ], - [ "textbook_mechanics", 1 ], - [ "mag_mechanics", 2 ], - [ "mag_rifle", 2 ] - ], - "components": [ - [ [ "pipe_cleaner", 1 ] ], - [ [ "soldering_iron_portable", 1 ] ], - [ [ "screwdriver_set", 1 ] ], - [ [ "wrench", 1 ] ], - [ [ "chisel", 1 ] ], - [ [ "hacksaw", 1 ] ], - [ [ "hammer", 1 ] ] - ] - }, { "type": "recipe", "activity_level": "LIGHT_EXERCISE", diff --git a/data/json/recipes/weapon/magazines.json b/data/json/recipes/weapon/magazines.json index 8b7db9589c5..b904df3c041 100644 --- a/data/json/recipes/weapon/magazines.json +++ b/data/json/recipes/weapon/magazines.json @@ -10,7 +10,6 @@ "skills_required": [ "gun", 2 ], "time": "20 m", "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_rifle", 3 ] ], - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "using": [ [ "3006_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ] ] @@ -28,7 +27,6 @@ "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_rifle", 3 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], "using": [ [ "762_casehead", 1 ] ], - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "components": [ [ [ "sheet_metal_small", 1 ] ] ] }, { @@ -44,7 +42,6 @@ "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_rifle", 3 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], "using": [ [ "762R_casehead", 1 ] ], - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "components": [ [ [ "sheet_metal_small", 1 ] ] ] }, { @@ -60,7 +57,6 @@ "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_pistol", 3 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], "using": [ [ "9mm_casehead", 1 ] ], - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "components": [ [ [ "sheet_metal_small", 1 ] ] ] }, { @@ -76,7 +72,7 @@ "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_rifle", 3 ] ], "using": [ [ "3006_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], - "tools": [ [ [ "garand", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "garand", -1 ] ] ], "components": [ [ [ "sheet_metal_small", 1 ] ] ] }, { @@ -91,7 +87,6 @@ "time": "20 m", "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_rifle", 3 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "components": [ [ [ "pipe", 1 ], [ "scrap", 1 ] ] ] }, { @@ -128,8 +123,7 @@ [ "modular_ar15", -1 ], [ "m249", -1 ], [ "modular_m16a4", -1 ] - ], - [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] + ] ], "using": [ [ "223_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], @@ -146,7 +140,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "ruger_mini", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "ruger_mini", -1 ] ] ], "using": [ [ "223_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -162,7 +156,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "m14ebr", -1 ], [ "m1a", -1 ], [ "M24", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "m14ebr", -1 ], [ "m1a", -1 ], [ "M24", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -178,7 +172,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "hk417_13", -1 ], [ "m110a1", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "hk417_13", -1 ], [ "m110a1", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -194,7 +188,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "ar10", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "ar10", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -210,7 +204,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "steyr_scout", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "steyr_scout", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -226,7 +220,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "hk_g3", -1 ], [ "m1a", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "hk_g3", -1 ], [ "m1a", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -242,7 +236,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "fn_fal_semi", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "fn_fal_semi", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -258,7 +252,7 @@ "skills_required": [ "gun", 1 ], "time": "20 m", "autolearn": true, - "tools": [ [ [ "scar_h", -1 ] ], [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], + "tools": [ [ [ "scar_h", -1 ] ] ], "using": [ [ "308_casehead", 1 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "SCREW_FINE", "level": 1 } ], "components": [ [ [ "sheet_metal_small", 1 ] ], [ [ "spring_medium", 1 ] ], [ [ "duct_tape", 40 ] ] ] @@ -274,7 +268,6 @@ "difficulty": 3, "time": "1 h", "autolearn": true, - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "DRILL", "level": 1 } ], "components": [ [ [ "fal_makeshiftmag", 1 ] ] ] }, @@ -288,7 +281,6 @@ "difficulty": 3, "time": "1 h", "autolearn": true, - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "DRILL", "level": 1 } ], "components": [ [ [ "falmag", 1 ] ] ] }, @@ -302,7 +294,6 @@ "difficulty": 3, "time": "1 h", "autolearn": true, - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 }, { "id": "DRILL", "level": 1 } ], "components": [ [ [ "falbigmag", 1 ] ] ] }, diff --git a/data/json/recipes/weapon/mods.json b/data/json/recipes/weapon/mods.json index 97c2c4af6e0..811cdbd08fc 100644 --- a/data/json/recipes/weapon/mods.json +++ b/data/json/recipes/weapon/mods.json @@ -589,8 +589,7 @@ [ "glock_21", -1 ], [ "glock_20", -1 ], [ "glock_29", -1 ] - ], - [ [ "small_repairkit", 40 ], [ "large_repairkit", 40 ] ] + ] ], "//": "5cm weld", "using": [ [ "welding_standard", 5 ] ], @@ -692,7 +691,7 @@ "qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SCREW", "level": 1 }, { "id": "WRENCH", "level": 1 } ], "//": "20cm weld", "using": [ [ "soldering_standard", 20 ], [ "welding_standard", 20 ] ], - "tools": [ [ [ "m249", -1 ] ], [ [ "small_repairkit", 40 ], [ "large_repairkit", 40 ] ] ], + "tools": [ [ [ "m249", -1 ] ] ], "components": [ [ [ "sheet_metal_small", 6 ] ] ] }, { @@ -710,7 +709,7 @@ "qualities": [ { "id": "HAMMER", "level": 2 }, { "id": "SCREW", "level": 1 }, { "id": "WRENCH", "level": 1 } ], "//": "20cm weld", "using": [ [ "soldering_standard", 20 ], [ "welding_standard", 20 ] ], - "tools": [ [ [ "m240", -1 ] ], [ [ "small_repairkit", 40 ], [ "large_repairkit", 40 ] ] ], + "tools": [ [ [ "m240", -1 ] ] ], "components": [ [ [ "sheet_metal_small", 5 ] ] ] }, { diff --git a/data/json/requirements/toolsets.json b/data/json/requirements/toolsets.json index 3000b5c4c52..c6213dd4fd4 100644 --- a/data/json/requirements/toolsets.json +++ b/data/json/requirements/toolsets.json @@ -44,7 +44,7 @@ "type": "requirement", "//": "Gun cleaning", "qualities": [ { "id": "SCREW", "level": 1 } ], - "tools": [ [ [ "pipe_cleaner", -1 ], [ "small_repairkit", -1 ], [ "large_repairkit", -1 ] ] ], + "tools": [ [ [ "pipe_cleaner", -1 ] ] ], "components": [ [ [ "gasoline", 125 ], @@ -69,10 +69,7 @@ "type": "requirement", "//": "BP requires hot soapy water", "qualities": [ { "id": "SCREW", "level": 1 } ], - "tools": [ - [ [ "pipe_cleaner", -1 ], [ "small_repairkit", -1 ], [ "large_repairkit", -1 ] ], - [ [ "water_boiling_heat", 2, "LIST" ] ] - ], + "tools": [ [ [ "pipe_cleaner", -1 ] ], [ [ "water_boiling_heat", 2, "LIST" ] ] ], "components": [ [ [ "soapy_water", 3 ] ], [ [ "cotton_patchwork", 1 ], [ "fur", 1 ], [ "faux_fur", 1 ], [ "felt_patch", 1 ], [ "cotton_ball", 2 ] ] @@ -82,7 +79,7 @@ "id": "gun_cleaning_quick", "type": "requirement", "//": "Requires a rod/wire and cloth patch or similar item.", - "tools": [ [ [ "pipe_cleaner", -1 ], [ "small_repairkit", -1 ], [ "large_repairkit", -1 ] ] ], + "tools": [ [ [ "pipe_cleaner", -1 ] ] ], "components": [ [ [ "cotton_patchwork", 1 ], [ "fur", 1 ], [ "faux_fur", 1 ], [ "felt_patch", 1 ], [ "cotton_ball", 2 ] ] ] }, { @@ -90,7 +87,7 @@ "type": "requirement", "//": "Gun Lubrication", "qualities": [ ], - "tools": [ [ [ "pipe_cleaner", -1 ], [ "small_repairkit", -1 ], [ "large_repairkit", -1 ] ] ], + "tools": [ [ [ "pipe_cleaner", -1 ] ] ], "components": [ [ [ "cotton_patchwork", 1 ], [ "fur", 1 ], [ "faux_fur", 1 ], [ "felt_patch", 1 ], [ "cotton_ball", 2 ] ], [ [ "lamp_oil", 5 ], [ "cooking_oil", 1 ], [ "motor_oil", 5 ] ] @@ -297,9 +294,7 @@ [ "soldering_iron", 1 ], [ "integrated_electrokit", 1 ], [ "soldering_iron_portable", 1 ], - [ "integrated_welder", 1 ], - [ "small_repairkit", 1 ], - [ "large_repairkit", 1 ] + [ "integrated_welder", 1 ] ] ], "components": [ [ [ "solder_wire", 1 ] ] ] @@ -337,9 +332,7 @@ "type": "requirement", "name": "Wire cutters", "//": "Cutting wires", - "tools": [ - [ [ "hacksaw", -1 ], [ "multitool", -1 ], [ "boltcutters", -1 ], [ "small_repairkit", -1 ], [ "large_repairkit", -1 ] ] - ] + "tools": [ [ [ "hacksaw", -1 ], [ "multitool", -1 ], [ "boltcutters", -1 ] ] ] }, { "id": "pliers_standard", @@ -491,16 +484,7 @@ "type": "requirement", "//": "Tools for removing metal bars / rebar / etc", "qualities": [ { "id": "SAW_M", "level": 2 } ], - "tools": [ - [ - [ "hacksaw", -1 ], - [ "small_repairkit", -1 ], - [ "large_repairkit", -1 ], - [ "angle_grinder", 200 ], - [ "reciprocating_saw", 200 ], - [ "exodii_prybar", 200 ] - ] - ] + "tools": [ [ [ "hacksaw", -1 ], [ "angle_grinder", 200 ], [ "reciprocating_saw", 200 ], [ "exodii_prybar", 200 ] ] ] }, { "id": "metal_removal_high_standard", diff --git a/data/mods/Magiclysm/recipes/weapons.json b/data/mods/Magiclysm/recipes/weapons.json index 200db4082e5..9231b3af820 100644 --- a/data/mods/Magiclysm/recipes/weapons.json +++ b/data/mods/Magiclysm/recipes/weapons.json @@ -645,7 +645,6 @@ "book_learn": [ [ "recipe_bullets", 2 ], [ "mag_rifle", 3 ], [ "techno_basic", 3 ] ], "qualities": [ { "id": "SAW_M", "level": 1 }, { "id": "HAMMER", "level": 1 } ], "using": [ [ "308_casehead", 1 ] ], - "tools": [ [ [ "small_repairkit", 10 ], [ "large_repairkit", 5 ] ] ], "components": [ [ [ "sheet_metal_small", 1 ] ] ] }, { diff --git a/data/mods/TEST_DATA/known_bad_uncrafts.json b/data/mods/TEST_DATA/known_bad_uncrafts.json index bc3ce5eb8c5..9e9e9d57b36 100644 --- a/data/mods/TEST_DATA/known_bad_uncrafts.json +++ b/data/mods/TEST_DATA/known_bad_uncrafts.json @@ -1324,7 +1324,6 @@ "small_lcd_screen", "small_mc_steel_bar_round", "small_relic", - "small_repairkit", "small_space_heater", "smart_phone", "smart_phone_locked", diff --git a/data/mods/aftershock_exoplanet/npcs/Augustmoon_Salvors/augustmoon_gun_trader.json b/data/mods/aftershock_exoplanet/npcs/Augustmoon_Salvors/augustmoon_gun_trader.json index 94b49b623e5..d4daa06ce9c 100644 --- a/data/mods/aftershock_exoplanet/npcs/Augustmoon_Salvors/augustmoon_gun_trader.json +++ b/data/mods/aftershock_exoplanet/npcs/Augustmoon_Salvors/augustmoon_gun_trader.json @@ -45,8 +45,7 @@ { "group": "afs_augustmoon_guntrader_seyfert", "count": 1 }, { "group": "augustmoon_shop_money" }, { "item": "UPS_OFF", "charges": 1000, "count": 1 }, - { "item": "small_repairkit", "count": 1 }, - { "item": "large_repairkit", "count": 1 }, + { "group": "guns_toolbox" }, { "group": "afs_augustmoon_guntrader_energy_cells" }, { "item": "chem_acetone", "count": [ 1, 2 ] } ] diff --git a/data/mods/aftershock_exoplanet/npcs/Salvor_Market/salvor_fabricator_groups.json b/data/mods/aftershock_exoplanet/npcs/Salvor_Market/salvor_fabricator_groups.json index b12b89e84e6..d40c18b73a0 100644 --- a/data/mods/aftershock_exoplanet/npcs/Salvor_Market/salvor_fabricator_groups.json +++ b/data/mods/aftershock_exoplanet/npcs/Salvor_Market/salvor_fabricator_groups.json @@ -121,7 +121,7 @@ { "item": "crash_axe", "prob": 20 }, { "item": "crowbar", "prob": 20 }, { "item": "geiger_off", "prob": 20 }, - { "item": "small_repairkit", "prob": 10 }, + { "group": "guns_toolbox", "prob": 10 }, { "item": "hacksaw", "prob": 10 }, { "item": "chisel", "prob": 5 }, { "item": "hammer_sledge", "prob": 20 },