From a256e1afc2b60cf32c30738107a63c8541605113 Mon Sep 17 00:00:00 2001 From: natsirt721 Date: Tue, 21 May 2024 16:36:15 -0400 Subject: [PATCH 1/3] add multimeter bionic, item, and integrated tool --- data/json/bionics.json | 32 +++++++++ .../Monsters_Animals_Lairs/harvest_cbm.json | 2 + data/json/itemgroups/bionics.json | 4 ++ data/json/items/bionics.json | 22 ++++++ data/json/items/tool/integrated.json | 72 +++++++++++++++++++ .../npcs/exodii/exodii_merchant_itemlist.json | 2 + data/json/recipes/appliances/oven.json | 9 ++- data/json/recipes/armor/head.json | 5 ++ data/json/recipes/armor/suit.json | 3 + .../recipe_modular_outpost_cross.json | 6 +- .../recipe_modular_outpost_normal.json | 6 +- data/json/recipes/practice/electronics.json | 6 +- data/json/recipes/recipe_others.json | 7 +- data/json/recipes/weapon/explosive.json | 3 +- data/json/requirements/toolsets.json | 1 + data/json/uncraft/vehicle/alternator.json | 10 ++- 16 files changed, 181 insertions(+), 9 deletions(-) diff --git a/data/json/bionics.json b/data/json/bionics.json index b9af6429eede9..6e82341a95a77 100644 --- a/data/json/bionics.json +++ b/data/json/bionics.json @@ -1679,6 +1679,38 @@ "passive_pseudo_items": [ "toolset", "integrated_welder" ], "flags": [ "BIONIC_SHOCKPROOF", "BIONIC_NPC_USABLE" ] }, + { + "id": "bio_multimeter", + "type": "bionic", + "name": { "str": "Integrated Multimeter" }, + "description": "Your fingers and arms have been implanted with retractable electrical probes connected to a multimeter embedded in your arm, allowing you to measure electrical voltage, resistance, and current by touch. This also provides your hands and arms with a modicum of protection against electric shocks.", + "occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ] ], + "passive_pseudo_items": [ "integrated_multimeter" ], + "flags": [ "BIONIC_SHOCKPROOF", "BIONIC_NPC_USABLE" ], + "protec": [ + [ "hand_l", { "electric": 3 } ], + [ "hand_r", { "electric": 3 } ], + [ "arm_l", { "electric": 3 } ], + [ "arm_r", { "electric": 3 } ] + ], + "available_upgrades": [ "bio_electrokit" ] + }, + { + "id": "bio_electrokit", + "type": "bionic", + "name": { "str": "Integrated Circuitry Toolset" }, + "description": "Your fingers and arms have been implanted a soldering iron, a multimeter, and a set of small screwdrivers, providing all the tools required for working with bench-scale electrical circuits. This also provides your hands and arms with a modicum of protection against electric shocks.", + "occupied_bodyparts": [ [ "hand_l", 2 ], [ "hand_r", 2 ] ], + "passive_pseudo_items": [ "integrated_electrokit", "integrated_multimeter" ], + "flags": [ "BIONIC_SHOCKPROOF", "BIONIC_NPC_USABLE" ], + "protec": [ + [ "hand_l", { "electric": 3 } ], + [ "hand_r", { "electric": 3 } ], + [ "arm_l", { "electric": 3 } ], + [ "arm_r", { "electric": 3 } ] + ], + "upgraded_bionic": "bio_multimeter" + }, { "id": "bio_torsionratchet", "type": "bionic", diff --git a/data/json/itemgroups/Monsters_Animals_Lairs/harvest_cbm.json b/data/json/itemgroups/Monsters_Animals_Lairs/harvest_cbm.json index 6923183824891..7e0c8c32c28b7 100644 --- a/data/json/itemgroups/Monsters_Animals_Lairs/harvest_cbm.json +++ b/data/json/itemgroups/Monsters_Animals_Lairs/harvest_cbm.json @@ -82,6 +82,7 @@ { "distribution": [ { "item": "bio_tools", "prob": 15 }, + { "item": "bio_electrokit", "prob": 15 }, { "item": "bio_magnet", "prob": 15 }, { "item": "bio_soporific", "prob": 20 }, { "item": "bio_sunglasses", "prob": 25 }, @@ -160,6 +161,7 @@ [ "bio_radscrubber", 20 ], [ "bio_recycler", 20 ], [ "bio_tools", 30 ], + [ "bio_electrokit", 20 ], [ "bio_ar", 30 ], [ "bio_taste_blocker", 50 ], [ "bio_water_extractor", 40 ] diff --git a/data/json/itemgroups/bionics.json b/data/json/itemgroups/bionics.json index 6b53d83148341..15099dc4cd1aa 100644 --- a/data/json/itemgroups/bionics.json +++ b/data/json/itemgroups/bionics.json @@ -10,6 +10,8 @@ [ "bio_fuel_cell_gasoline", 10 ], [ "bio_lampoil", 10 ], [ "bio_tools", 10 ], + [ "bio_multimeter", 10 ], + [ "bio_electrokit", 10 ], [ "bio_ups", 10 ], [ "bio_flashlight", 10 ], [ "bio_tattoo_led", 10 ], @@ -105,6 +107,8 @@ "items": [ [ "bio_power_storage", 10 ], [ "bio_tools", 10 ], + [ "bio_multimeter", 10 ], + [ "bio_electrokit", 10 ], [ "bio_flashlight", 10 ], [ "bio_fuel_cell_gasoline", 10 ], [ "bio_lampoil", 10 ], diff --git a/data/json/items/bionics.json b/data/json/items/bionics.json index 1bc0826427b9e..d75c800dfb8cb 100644 --- a/data/json/items/bionics.json +++ b/data/json/items/bionics.json @@ -1017,6 +1017,28 @@ "price_postapoc": "50 USD", "difficulty": 6 }, + { + "id": "bio_multimeter", + "copy-from": "bionic_general_npc_usable", + "type": "BIONIC_ITEM", + "name": { "str": "Integrated Multimeter CBM" }, + "looks_like": "bio_tools", + "description": "A set of electrical leads to be embedded in the user's fingers, connected to a multimeter unit in their hand. Allows the user to measure voltage, resistance, and current using their fingertips, and provides slight protection against electric shocks.", + "price": "2 kUSD", + "price_postapoc": "20 USD", + "difficulty": 3 + }, + { + "id": "bio_electrokit", + "copy-from": "bionic_general_npc_usable", + "type": "BIONIC_ITEM", + "name": { "str": "Integrated Circuitry Toolset CBM" }, + "looks_like": "bio_tools", + "description": "A soldering iron, multimeter, and set of fine screwdrivers implanted in the user's hands. Contains all the tools required for manipulating bench-scale electrical circuits, and provides slight protection against electric shocks.", + "price": "4 kUSD", + "price_postapoc": "35 USD", + "difficulty": 5 + }, { "id": "bio_torsionratchet", "copy-from": "bionic_general_npc_usable", diff --git a/data/json/items/tool/integrated.json b/data/json/items/tool/integrated.json index 176fbaa5b9b95..692de54e272d6 100644 --- a/data/json/items/tool/integrated.json +++ b/data/json/items/tool/integrated.json @@ -218,5 +218,77 @@ "charges_per_use": 20, "charged_qualities": [ [ "WELD", 2 ] ], "melee_damage": { "bash": 2, "cut": -1 } + }, + { + "id": "integrated_multimeter", + "type": "TOOL_ARMOR", + "category": "armor", + "weight": "50 g", + "volume": "25 ml", + "price": "0 cent", + "price_postapoc": "0 cent", + "symbol": ",", + "color": "brown", + "warmth": 0, + "environmental_protection": 0, + "material_thickness": 0.5, + "flags": [ + "INTEGRATED", + "UNBREAKABLE", + "PERSONAL", + "WATER_FRIENDLY", + "SOFT", + "NO_REPAIR", + "ALLOWS_NATURAL_ATTACKS", + "TRADER_AVOID", + "USES_BIONIC_POWER" + ], + "material": [ "superalloy", "copper" ], + "name": { "str_sp": "integrated multimeter" }, + "description": "Integrated bionic multimeter implanted in your fingers.", + "to_hit": -1, + "use_action": [ { "type": "VOLTMETER" } ] + }, + { + "id": "integrated_electrokit", + "type": "TOOL_ARMOR", + "category": "armor", + "weight": "50 g", + "volume": "25 ml", + "price": "0 cent", + "price_postapoc": "0 cent", + "symbol": ",", + "color": "brown", + "warmth": 0, + "environmental_protection": 0, + "material_thickness": 0.5, + "flags": [ + "INTEGRATED", + "UNBREAKABLE", + "PERSONAL", + "WATER_FRIENDLY", + "SOFT", + "NO_REPAIR", + "ALLOWS_NATURAL_ATTACKS", + "TRADER_AVOID", + "USES_BIONIC_POWER" + ], + "material": [ "superalloy", "copper" ], + "name": { "str_sp": "integrated soldering iron" }, + "description": "Integrated soldering iron and screwdriver set.", + "to_hit": -1, + "use_action": [ + { + "type": "repair_item", + "item_action_type": "repair_metal", + "materials": [ "plastic", "lead", "tin", "zinc" ], + "skill": "fabrication", + "cost_scaling": 0.1, + "move_cost": 1500 + } + ], + "ammo": [ "battery" ], + "charges_per_use": 1, + "qualities": [ [ "SCREW", 1 ], [ "SCREW_FINE", 1 ] ] } ] diff --git a/data/json/npcs/exodii/exodii_merchant_itemlist.json b/data/json/npcs/exodii/exodii_merchant_itemlist.json index 3afe112f94335..dff5086ec308c 100644 --- a/data/json/npcs/exodii/exodii_merchant_itemlist.json +++ b/data/json/npcs/exodii/exodii_merchant_itemlist.json @@ -222,6 +222,7 @@ "//": "These CBMs should be available in the Exodii store after at least 2 weeks.", "items": [ [ "bio_tools", 10 ], + [ "bio_electrokit", 10 ], [ "bio_ethanol", 10 ], [ "bio_eye_optic", 10 ], [ "bio_remote", 10 ], @@ -317,6 +318,7 @@ [ "bio_syringe", 10 ], [ "bio_flashlight", 10 ], [ "bio_lighter", 10 ], + [ "bio_multimeter", 5 ], [ "bio_magnet", 5 ], [ "bio_fingerhack", 2 ], [ "bio_geiger", 5 ] diff --git a/data/json/recipes/appliances/oven.json b/data/json/recipes/appliances/oven.json index 05e9eb82a62bf..63dd1bd3fc00b 100644 --- a/data/json/recipes/appliances/oven.json +++ b/data/json/recipes/appliances/oven.json @@ -136,7 +136,14 @@ { "proficiency": "prof_elec_circuits", "skill_penalty": 0 } ], "qualities": [ { "id": "SCREW", "level": 1 } ], - "tools": [ [ [ "soldering_iron", -1 ], [ "soldering_iron_portable", -1 ], [ "integrated_welder", -1 ] ] ], + "tools": [ + [ + [ "soldering_iron", -1 ], + [ "soldering_iron_portable", -1 ], + [ "integrated_electrokit", -1 ], + [ "integrated_welder", -1 ] + ] + ], "components": [ [ [ "plastic_chunk", 4 ] ], [ [ "sheet_metal_small", 1 ] ], diff --git a/data/json/recipes/armor/head.json b/data/json/recipes/armor/head.json index 1c4ff74bf917b..b093434f08952 100644 --- a/data/json/recipes/armor/head.json +++ b/data/json/recipes/armor/head.json @@ -2013,6 +2013,7 @@ [ "welder_crude", 84 ], [ "soldering_iron", 84 ], [ "soldering_iron_portable", 84 ], + [ "integrated_electrokit", 84 ], [ "integrated_welder", 84 ] ] ], @@ -2046,6 +2047,7 @@ [ "welder_crude", 84 ], [ "soldering_iron", 84 ], [ "soldering_iron_portable", 84 ], + [ "integrated_electrokit", 84 ], [ "integrated_welder", 84 ] ] ], @@ -2080,6 +2082,7 @@ [ "welder_crude", 84 ], [ "soldering_iron", 84 ], [ "soldering_iron_portable", 84 ], + [ "integrated_electrokit", 84 ], [ "integrated_welder", 84 ] ] ], @@ -2110,6 +2113,7 @@ [ "welder_crude", 84 ], [ "soldering_iron", 84 ], [ "soldering_iron_portable", 84 ], + [ "integrated_electrokit", 84 ], [ "integrated_welder", 84 ] ] ], @@ -2145,6 +2149,7 @@ [ "welder_crude", 84 ], [ "soldering_iron", 84 ], [ "soldering_iron_portable", 84 ], + [ "integrated_electrokit", 84 ], [ "integrated_welder", 84 ] ] ], diff --git a/data/json/recipes/armor/suit.json b/data/json/recipes/armor/suit.json index 756bc62e7bf89..639343821835a 100644 --- a/data/json/recipes/armor/suit.json +++ b/data/json/recipes/armor/suit.json @@ -1822,6 +1822,7 @@ [ "welder_crude", 97 ], [ "soldering_iron", 97 ], [ "soldering_iron_portable", 97 ], + [ "integrated_electrokit", 97 ], [ "integrated_welder", 97 ] ], [ [ "swage", -1 ] ], @@ -1851,6 +1852,7 @@ [ "welder_crude", 72 ], [ "soldering_iron", 72 ], [ "soldering_iron_portable", 72 ], + [ "integrated_electrokit", 72 ], [ "integrated_welder", 72 ] ], [ [ "swage", -1 ] ], @@ -1880,6 +1882,7 @@ [ "welder_crude", 109 ], [ "soldering_iron", 109 ], [ "soldering_iron_portable", 109 ], + [ "integrated_electrokit", 109 ], [ "integrated_welder", 109 ] ], [ [ "swage", -1 ] ], diff --git a/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_cross.json b/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_cross.json index b4f52539ce058..604042be4d3b7 100644 --- a/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_cross.json +++ b/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_cross.json @@ -137,7 +137,11 @@ "time": "1 d", "skills": [ [ "electronics", 8 ] ], "inline": { - "tools": [ [ [ "hazmat_suit", -1 ] ], [ [ "mask_gas", 50 ] ], [ [ "soldering_iron", 50 ], [ "soldering_iron_portable", 50 ] ] ], + "tools": [ + [ [ "hazmat_suit", -1 ] ], + [ [ "mask_gas", 50 ] ], + [ [ "soldering_iron", 50 ], [ "soldering_iron_portable", 50 ], [ "integrated_electrokit", 50 ] ] + ], "qualities": [ [ { "id": "SCREW" } ], [ { "id": "SCREW_FINE" } ], [ { "id": "WRENCH" } ], [ { "id": "WRENCH_FINE" } ] ], "components": [ [ [ "solder_wire", 50 ] ], diff --git a/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_normal.json b/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_normal.json index 8b6e3cfd7489e..bf9792dbf5fd2 100644 --- a/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_normal.json +++ b/data/json/recipes/basecamps/base/fbmc_outpost/recipe_modular_outpost_normal.json @@ -122,7 +122,11 @@ "time": "1 d", "skills": [ [ "electronics", 8 ] ], "inline": { - "tools": [ [ [ "hazmat_suit", -1 ] ], [ [ "mask_gas", 50 ] ], [ [ "soldering_iron", 50 ], [ "soldering_iron_portable", 50 ] ] ], + "tools": [ + [ [ "hazmat_suit", -1 ] ], + [ [ "mask_gas", 50 ] ], + [ [ "soldering_iron", 50 ], [ "soldering_iron_portable", 50 ], [ "integrated_electrokit", 50 ] ] + ], "qualities": [ [ { "id": "SCREW" } ], [ { "id": "SCREW_FINE" } ], [ { "id": "WRENCH" } ], [ { "id": "WRENCH_FINE" } ] ], "components": [ [ [ "solder_wire", 50 ] ], diff --git a/data/json/recipes/practice/electronics.json b/data/json/recipes/practice/electronics.json index f617320701d9c..3d4fe148345f1 100644 --- a/data/json/recipes/practice/electronics.json +++ b/data/json/recipes/practice/electronics.json @@ -31,7 +31,7 @@ "book_learn": [ [ "mag_electronics", 1 ], [ "manual_electronics", 1 ], [ "advanced_electronics", 2 ], [ "textbook_electronics", 3 ] ], "//": "Some parts are listed as tools so they are not destroyed during crafting, while the components are consumed.", "tools": [ - [ [ "voltmeter", 5 ], [ "multimeter", 5 ] ], + [ [ "voltmeter", 5 ], [ "multimeter", 5 ], [ "integrated_multimeter", 5 ] ], [ [ "antenna", -1 ], [ "circuit", -1 ], [ "element", -1 ], [ "light_bulb", -1 ], [ "motor_micro", -1 ] ] ], "components": [ [ [ "cable", 10 ] ], [ [ "e_scrap", 5 ] ] ], @@ -55,7 +55,7 @@ ], "book_learn": [ [ "manual_electronics", 1 ], [ "advanced_electronics", 2 ], [ "textbook_electronics", 3 ] ], "tools": [ - [ [ "multimeter", 50 ] ], + [ [ "multimeter", 50 ], [ "integrated_multimeter", 50 ] ], [ [ "breadboard", -1 ] ], [ [ "power_supply", -1 ] ], [ [ "amplifier", -1 ], [ "element", -1 ], [ "receiver", -1 ], [ "transponder", -1 ] ] @@ -82,7 +82,7 @@ ], "book_learn": [ [ "advanced_electronics", 4 ], [ "textbook_electronics", 4 ], [ "ic_reference_electronics", 3 ] ], "tools": [ - [ [ "multimeter", 100 ] ], + [ [ "multimeter", 100 ], [ "integrated_multimeter", 100 ] ], [ [ "breadboard", -1 ] ], [ [ "power_supply", -1 ] ], [ [ "processor", -1 ] ], diff --git a/data/json/recipes/recipe_others.json b/data/json/recipes/recipe_others.json index 59ee876ee33ff..0d30841a0b350 100644 --- a/data/json/recipes/recipe_others.json +++ b/data/json/recipes/recipe_others.json @@ -1213,6 +1213,7 @@ [ "integrated_welder", 300 ], [ "soldering_iron", 300 ], [ "soldering_iron_portable", 300 ], + [ "integrated_electrokit", 300 ], [ "oxy_torch", 40 ] ] ], @@ -1389,6 +1390,7 @@ [ "integrated_welder", 150 ], [ "soldering_iron", 150 ], [ "soldering_iron_portable", 150 ], + [ "integrated_electrokit", 150 ], [ "oxy_torch", 20 ] ] ], @@ -1428,6 +1430,7 @@ [ "integrated_welder", 75 ], [ "soldering_iron", 75 ], [ "soldering_iron_portable", 75 ], + [ "integrated_electrokit", 75 ], [ "oxy_torch", 10 ] ] ], @@ -1592,6 +1595,7 @@ [ "integrated_welder", 225 ], [ "soldering_iron", 225 ], [ "soldering_iron_portable", 225 ], + [ "integrated_electrokit", 225 ], [ "oxy_torch", 30 ] ] ], @@ -1762,7 +1766,8 @@ [ "welder_crude", 150 ], [ "integrated_welder", 150 ], [ "soldering_iron", 150 ], - [ "soldering_iron_portable", 150 ] + [ "soldering_iron_portable", 150 ], + [ "integrated_electrokit", 150 ] ] ], "components": [ [ [ "steel_chunk", 6 ], [ "scrap", 18 ] ], [ [ "pipe", 2 ] ] ] diff --git a/data/json/recipes/weapon/explosive.json b/data/json/recipes/weapon/explosive.json index f55a692193792..04112822de2d6 100644 --- a/data/json/recipes/weapon/explosive.json +++ b/data/json/recipes/weapon/explosive.json @@ -226,7 +226,8 @@ [ "welder_crude", 30 ], [ "integrated_welder", 30 ], [ "soldering_iron", 30 ], - [ "soldering_iron_portable", 30 ] + [ "soldering_iron_portable", 30 ], + [ "integrated_electrokit", 30 ] ] ], "components": [ diff --git a/data/json/requirements/toolsets.json b/data/json/requirements/toolsets.json index fd7549338d6fa..0fa85aa30258e 100644 --- a/data/json/requirements/toolsets.json +++ b/data/json/requirements/toolsets.json @@ -269,6 +269,7 @@ "tools": [ [ [ "soldering_iron", 1 ], + [ "integrated_electrokit", 1 ], [ "soldering_iron_portable", 1 ], [ "integrated_welder", 1 ], [ "small_repairkit", 1 ], diff --git a/data/json/uncraft/vehicle/alternator.json b/data/json/uncraft/vehicle/alternator.json index 81b43c56682c9..79342636bed9d 100644 --- a/data/json/uncraft/vehicle/alternator.json +++ b/data/json/uncraft/vehicle/alternator.json @@ -40,7 +40,15 @@ "difficulty": 4, "time": "40 m", "qualities": [ { "id": "SCREW", "level": 1 }, { "id": "WRENCH", "level": 1 }, { "id": "SAW_M", "level": 1 } ], - "tools": [ [ [ "soldering_iron", 80 ], [ "soldering_iron_portable", 80 ], [ "toolset", 80 ], [ "oxy_torch", 40 ] ] ], + "tools": [ + [ + [ "soldering_iron", 80 ], + [ "soldering_iron_portable", 80 ], + [ "integrated_electrokit", 80 ], + [ "toolset", 80 ], + [ "oxy_torch", 40 ] + ] + ], "components": [ [ [ "power_supply", 4 ] ], [ [ "cable", 400 ] ], From c2843bc199d814a4b66a2f67e5343b6467b592ba Mon Sep 17 00:00:00 2001 From: natsirt721 Date: Fri, 24 May 2024 12:00:45 -0400 Subject: [PATCH 2/3] s. fix tests --- data/json/bionics.json | 4 ++-- tests/iteminfo_test.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/json/bionics.json b/data/json/bionics.json index 6e82341a95a77..1636b1371b56e 100644 --- a/data/json/bionics.json +++ b/data/json/bionics.json @@ -1683,7 +1683,7 @@ "id": "bio_multimeter", "type": "bionic", "name": { "str": "Integrated Multimeter" }, - "description": "Your fingers and arms have been implanted with retractable electrical probes connected to a multimeter embedded in your arm, allowing you to measure electrical voltage, resistance, and current by touch. This also provides your hands and arms with a modicum of protection against electric shocks.", + "description": "Your fingers and arms have been implanted with retractable electrical probes connected to a multimeter embedded in your arm, allowing you to measure electrical voltage, resistance, and current by touch. This also provides your hands and arms with a modicum of protection against electric shocks.", "occupied_bodyparts": [ [ "hand_l", 1 ], [ "hand_r", 1 ] ], "passive_pseudo_items": [ "integrated_multimeter" ], "flags": [ "BIONIC_SHOCKPROOF", "BIONIC_NPC_USABLE" ], @@ -1699,7 +1699,7 @@ "id": "bio_electrokit", "type": "bionic", "name": { "str": "Integrated Circuitry Toolset" }, - "description": "Your fingers and arms have been implanted a soldering iron, a multimeter, and a set of small screwdrivers, providing all the tools required for working with bench-scale electrical circuits. This also provides your hands and arms with a modicum of protection against electric shocks.", + "description": "Your fingers and arms have been implanted a soldering iron, a multimeter, and a set of small screwdrivers, providing all the tools required for working with bench-scale electrical circuits. This also provides your hands and arms with a modicum of protection against electric shocks.", "occupied_bodyparts": [ [ "hand_l", 2 ], [ "hand_r", 2 ] ], "passive_pseudo_items": [ "integrated_electrokit", "integrated_multimeter" ], "flags": [ "BIONIC_SHOCKPROOF", "BIONIC_NPC_USABLE" ], diff --git a/tests/iteminfo_test.cpp b/tests/iteminfo_test.cpp index 4d9a54927f8db..6896f720e6060 100644 --- a/tests/iteminfo_test.cpp +++ b/tests/iteminfo_test.cpp @@ -2495,7 +2495,7 @@ TEST_CASE( "repairable_and_with_what_tools", "[iteminfo][repair]" ) // FIXME: Use an item that can only be repaired by test tools CHECK( item_info_str( hazmat, repaired ) == "--\n" - "Repair using integrated welder, gunsmith repair kit, firearm repair kit, soldering iron, portable soldering iron, or TEST soldering iron.\n" + "Repair using integrated welder, gunsmith repair kit, firearm repair kit, soldering iron, portable soldering iron, integrated soldering iron, or TEST soldering iron.\n" "With Plastic.\n" ); CHECK( item_info_str( rock, repaired ) == From 271ba9f591165976b09825f7a7dc5f7a1f66760e Mon Sep 17 00:00:00 2001 From: natsirt721 Date: Sun, 26 May 2024 14:03:01 -0400 Subject: [PATCH 3/3] s. fix test again --- tests/iteminfo_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/iteminfo_test.cpp b/tests/iteminfo_test.cpp index 6896f720e6060..d505be18e476a 100644 --- a/tests/iteminfo_test.cpp +++ b/tests/iteminfo_test.cpp @@ -2495,7 +2495,7 @@ TEST_CASE( "repairable_and_with_what_tools", "[iteminfo][repair]" ) // FIXME: Use an item that can only be repaired by test tools CHECK( item_info_str( hazmat, repaired ) == "--\n" - "Repair using integrated welder, gunsmith repair kit, firearm repair kit, soldering iron, portable soldering iron, integrated soldering iron, or TEST soldering iron.\n" + "Repair using integrated soldering iron, integrated welder, gunsmith repair kit, firearm repair kit, soldering iron, portable soldering iron, or TEST soldering iron.\n" "With Plastic.\n" ); CHECK( item_info_str( rock, repaired ) ==