diff --git a/data/json/items/fake.json b/data/json/items/fake.json index c87c7d1fdd15..fb62ec6c159c 100644 --- a/data/json/items/fake.json +++ b/data/json/items/fake.json @@ -62,7 +62,7 @@ "description": "A system of surgical grade scalpels. They allow you to make precise cuts and can also be used as a high-quality butchering tool.", "to_hit": 2, "cutting": 8, - "techniques": "PRECISE", + "techniques": [ "PRECISE" ], "flags": [ "TRADER_AVOID", "NO_DROP", "UNBREAKABLE_MELEE", "STAB" ], "qualities": [ [ "CUT", 1 ], [ "CUT_FINE", 5 ], [ "BUTCHER", 50 ] ] }, diff --git a/data/json/items/melee/spears_and_polearms.json b/data/json/items/melee/spears_and_polearms.json index 4b83b49cc1c6..b94322f43100 100644 --- a/data/json/items/melee/spears_and_polearms.json +++ b/data/json/items/melee/spears_and_polearms.json @@ -67,7 +67,7 @@ "color": "brown", "symbol": "/", "material": [ "wood" ], - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "volume": "1750 ml", "bashing": 4, "cutting": 13, @@ -91,7 +91,7 @@ "material": [ "wood", "iron" ], "symbol": "/", "color": "brown", - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "qualities": [ [ "COOK", 1 ] ], "flags": [ "SPEAR", "REACH_ATTACK", "NONCONDUCTIVE", "SHEATH_SPEAR", "STAB" ] }, @@ -112,7 +112,7 @@ "material": [ "wood", "iron" ], "symbol": "/", "color": "brown", - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "qualities": [ [ "CUT", 1 ], [ "COOK", 1 ] ], "flags": [ "SPEAR", "REACH_ATTACK", "NONCONDUCTIVE", "SHEATH_SPEAR", "STAB" ] }, @@ -331,7 +331,7 @@ "material": [ "steel", "wood" ], "symbol": "/", "color": "light_gray", - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "qualities": [ [ "CUT", 1 ], [ "BUTCHER", -42 ] ], "flags": [ "REACH_ATTACK", "POLEARM", "NONCONDUCTIVE", "SHEATH_SPEAR", "FRAGILE_MELEE", "SPEAR" ] }, @@ -438,7 +438,7 @@ "color": "brown", "symbol": "/", "material": [ "wood" ], - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "volume": "1 L", "cutting": 11, "thrown_damage": [ { "damage_type": "bash", "amount": 5 }, { "damage_type": "stab", "amount": 11 } ], diff --git a/data/json/items/melee/swords_and_blades.json b/data/json/items/melee/swords_and_blades.json index 568ea2d07050..073cd9fd08d5 100644 --- a/data/json/items/melee/swords_and_blades.json +++ b/data/json/items/melee/swords_and_blades.json @@ -127,7 +127,7 @@ "mod_target_category": [ [ "SUBMACHINE_GUNS" ], [ "RIFLES" ], [ "MACHINE_GUNS" ], [ "GATLING_GUNS" ], [ "SHOTGUNS" ], [ "M_XBOWS" ] ], "mode_modifier": [ [ "REACH", "bayonet", 2, [ "MELEE", "REACH_ATTACK" ] ] ] }, - "techniques": "RAPID", + "techniques": [ "RAPID" ], "qualities": [ [ "CUT", 1 ], [ "CUT_FINE", 1 ], [ "BUTCHER", 19 ] ], "thrown_damage": [ { "damage_type": "stab", "amount": 14 } ], "flags": [ "STAB", "DURABLE_MELEE", "SHEATH_KNIFE", "NPC_THROWN" ] @@ -339,7 +339,7 @@ "material": "steel", "symbol": "/", "color": "dark_gray", - "techniques": "WBLOCK_2", + "techniques": [ "WBLOCK_2" ], "qualities": [ [ "CUT", 1 ], [ "BUTCHER", 15 ] ], "flags": [ "DURABLE_MELEE", "SHEATH_SWORD", "NONCONDUCTIVE" ] }, @@ -867,7 +867,7 @@ "material": "steel", "symbol": "/", "color": "dark_gray", - "techniques": "RAPID", + "techniques": [ "RAPID" ], "qualities": [ [ "CUT", 1 ], [ "CUT_FINE", 1 ], [ "BUTCHER", 18 ] ], "flags": [ "STAB", "DURABLE_MELEE", "SHEATH_KNIFE", "NONCONDUCTIVE" ] }, @@ -1021,7 +1021,7 @@ "material": "steel", "symbol": "/", "color": "dark_gray", - "techniques": "RAPID", + "techniques": [ "RAPID" ], "qualities": [ [ "CUT", 1 ], [ "BUTCHER", 8 ] ], "flags": [ "STAB", "SHEATH_KNIFE" ] }, @@ -1614,7 +1614,7 @@ "material": "steel", "symbol": "/", "color": "dark_gray", - "techniques": "WBLOCK_2", + "techniques": [ "WBLOCK_2" ], "qualities": [ [ "CUT", 1 ], [ "BUTCHER", 9 ] ], "flags": [ "DURABLE_MELEE", "SHEATH_SWORD", "NONCONDUCTIVE" ] }, diff --git a/data/json/items/resources/wood.json b/data/json/items/resources/wood.json index 092d49d9ec97..ef9a43077e3d 100644 --- a/data/json/items/resources/wood.json +++ b/data/json/items/resources/wood.json @@ -80,7 +80,7 @@ "color": "brown", "symbol": "/", "material": [ "wood" ], - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "weight": "2250 g", "volume": "3750 ml", "bashing": 25, diff --git a/data/json/items/tool/firefighting.json b/data/json/items/tool/firefighting.json index 5ab85ea4c6d3..566ba0322463 100644 --- a/data/json/items/tool/firefighting.json +++ b/data/json/items/tool/firefighting.json @@ -147,7 +147,7 @@ "id": "ny_hook", "type": "GENERIC", "category": "tools", - "weapon_category": "HOOKED_POLES", + "weapon_category": [ "HOOKED_POLES" ], "symbol": "/", "color": "yellow", "looks_like": "iceaxe", diff --git a/data/json/items/tool/landscaping.json b/data/json/items/tool/landscaping.json index c4f8ac2bf2f0..6ed6e2c4dc85 100644 --- a/data/json/items/tool/landscaping.json +++ b/data/json/items/tool/landscaping.json @@ -54,7 +54,7 @@ "symbol": "/", "color": "brown", "qualities": [ [ "DIG", 1 ] ], - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "use_action": "MAKEMOUND" }, { diff --git a/data/json/items/tool/med.json b/data/json/items/tool/med.json index b032bf055ae1..4a1cc3baa5a2 100644 --- a/data/json/items/tool/med.json +++ b/data/json/items/tool/med.json @@ -94,7 +94,7 @@ "material": "steel", "symbol": ",", "color": "light_gray", - "techniques": "PRECISE", + "techniques": [ "PRECISE" ], "qualities": [ [ "CUT", 1 ], [ "CUT_FINE", 3 ] ], "flags": [ "STAB", "SHEATH_KNIFE" ] }, diff --git a/data/json/items/tool/toiletries.json b/data/json/items/tool/toiletries.json index 3fc8748d4a10..1b7de366c6d8 100644 --- a/data/json/items/tool/toiletries.json +++ b/data/json/items/tool/toiletries.json @@ -71,7 +71,7 @@ "material": "wood", "symbol": "/", "color": "light_gray", - "techniques": "WBLOCK_1", + "techniques": [ "WBLOCK_1" ], "use_action": "MOP" }, { diff --git a/data/json/items/tool/woodworking.json b/data/json/items/tool/woodworking.json index bfecac34b4ee..7a89d6522983 100644 --- a/data/json/items/tool/woodworking.json +++ b/data/json/items/tool/woodworking.json @@ -50,7 +50,7 @@ "ammo": "gasoline", "charges_per_use": 50, "max_charges": 450, - "techniques": "SWEEP", + "techniques": [ "SWEEP" ], "qualities": [ [ "AXE", 4 ] ], "use_action": { "type": "transform", @@ -75,7 +75,7 @@ "turns_per_charge": 4, "charges_per_use": 0, "revert_to": "chainsaw_off", - "techniques": "SWEEP", + "techniques": [ "SWEEP" ], "qualities": [ [ "BUTCHER", -100 ] ], "revert_msg": "Your chainsaw goes quiet", "use_action": { "type": "transform", "target": "chainsaw_off", "msg": "You turn off the chainsaw." }, @@ -185,7 +185,7 @@ "color": "red", "ammo": "battery", "charges_per_use": 125, - "techniques": "SWEEP", + "techniques": [ "SWEEP" ], "qualities": [ [ "AXE", 4 ] ], "use_action": { "type": "transform", diff --git a/data/json/items/tool/workshop.json b/data/json/items/tool/workshop.json index 4fabd544d4c3..28572aced703 100644 --- a/data/json/items/tool/workshop.json +++ b/data/json/items/tool/workshop.json @@ -1356,7 +1356,7 @@ "material": [ "steel", "plastic" ], "symbol": ";", "color": "light_gray", - "techniques": "PRECISE", + "techniques": [ "PRECISE" ], "qualities": [ [ "CUT", 1 ], [ "CUT_FINE", 2 ] ], "flags": [ "STAB", "SHEATH_KNIFE" ] }, diff --git a/data/json/obsoletion/items.json b/data/json/obsoletion/items.json index 3374a91c0b5e..2a73dd0855c5 100644 --- a/data/json/obsoletion/items.json +++ b/data/json/obsoletion/items.json @@ -1296,7 +1296,7 @@ "ammo": "gasoline", "charges_per_use": 1, "max_charges": 50, - "techniques": "WBLOCK_2", + "techniques": [ "WBLOCK_2" ], "use_action": { "type": "fireweapon_off", "target_id": "firemachete_on", @@ -1425,7 +1425,7 @@ "ammo": "gasoline", "charges_per_use": 1, "max_charges": 50, - "techniques": "WBLOCK_2", + "techniques": [ "WBLOCK_2" ], "use_action": { "type": "fireweapon_off", "target_id": "broadfire_on", diff --git a/data/mods/Magiclysm/items/ethereal_items.json b/data/mods/Magiclysm/items/ethereal_items.json index ff0f16c53514..0d8eb614beaa 100644 --- a/data/mods/Magiclysm/items/ethereal_items.json +++ b/data/mods/Magiclysm/items/ethereal_items.json @@ -187,7 +187,7 @@ { "type": "GENERIC", "id": "stormglove", - "weapon_category": "FIST_WEAPONS", + "weapon_category": [ "FIST_WEAPONS" ], "symbol": "3", "color": "light_gray", "name": { "str": "Stormfist" }, diff --git a/data/mods/No_Hope/Items/tools.json b/data/mods/No_Hope/Items/tools.json index 68f414d80b21..2b5687cd0cce 100644 --- a/data/mods/No_Hope/Items/tools.json +++ b/data/mods/No_Hope/Items/tools.json @@ -204,7 +204,7 @@ "ammo": [ "gasoline" ], "charges_per_use": 1, "max_charges": 50, - "techniques": "WBLOCK_2", + "techniques": [ "WBLOCK_2" ], "use_action": { "type": "fireweapon_off", "target_id": "firemachete_on", @@ -335,7 +335,7 @@ "ammo": [ "gasoline" ], "charges_per_use": 1, "max_charges": 50, - "techniques": "WBLOCK_2", + "techniques": [ "WBLOCK_2" ], "use_action": { "type": "fireweapon_off", "target_id": "broadfire_on", diff --git a/doc/src/content/docs/en/mod/json/reference/json_info.md b/doc/src/content/docs/en/mod/json/reference/json_info.md index 97dd8e07ba7c..2b8924a97cb6 100644 --- a/doc/src/content/docs/en/mod/json/reference/json_info.md +++ b/doc/src/content/docs/en/mod/json/reference/json_info.md @@ -2016,7 +2016,7 @@ gunmod_data: "description": "A large stick, wrapped in gasoline soaked rags. This is burning, producing plenty of light", // In-game description "price": 0, // Used when bartering with NPCs. Can use string "cent" "USD" or "kUSD". "material": "wood", // Material types. See materials.json for possible options -"techniques": "FLAMING", // Combat techniques used by this tool +"techniques": [ "FLAMING" ], // Combat techniques used by this tool "flags": "FIRE", // Indicates special effects "weight": 831, // Weight, measured in grams "volume": "1500 ml", // Volume, volume in ml and L can be used - "50 ml" or "2 L"