From fe9af4c74b488fd64a60847c5ae0d385db338719 Mon Sep 17 00:00:00 2001 From: Merrygin <64795375+merrygin@users.noreply.github.com> Date: Thu, 21 Apr 2022 23:43:29 +0200 Subject: [PATCH] Sewing and Tailor Kit innawood changes (#56929) Co-authored-by: merrygin --- data/mods/innawood/items/tool_tailoring.json | 91 +++++++++++++++++++ data/mods/innawood/recipes/recipe_others.json | 25 +++++ data/mods/innawood/recipes/tool.json | 16 ++++ 3 files changed, 132 insertions(+) diff --git a/data/mods/innawood/items/tool_tailoring.json b/data/mods/innawood/items/tool_tailoring.json index 6026c85929b19..810d77720abac 100644 --- a/data/mods/innawood/items/tool_tailoring.json +++ b/data/mods/innawood/items/tool_tailoring.json @@ -17,5 +17,96 @@ "qualities": [ [ "CUT", 2 ], [ "BUTCHER", 5 ], [ "FABRIC_CUT", 2 ], [ "SHEAR", 1 ] ], "flags": [ "STAB", "BELT_CLIP", "SHEATH_KNIFE" ], "weapon_category": [ "SHIVS" ] + }, + { + "id": "sewing_kit", + "type": "TOOL", + "name": { "str": "sewing kit" }, + "description": "This is a wrapped leather kit with a variety of needles, some wooden spools for thread, small scissors, and a few other useful textile tools. Use a sewing kit on an article of clothing to attempt to repair or reinforce that clothing. This uses your tailoring skill.", + "weight": "85 g", + "volume": "250 ml", + "price": 1000, + "price_postapoc": 500, + "to_hit": -1, + "material": [ "wood", "steel" ], + "symbol": ",", + "color": "red", + "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "thread": 200 } } ], + "charges_per_use": 1, + "qualities": [ [ "SEW", 3 ], [ "FABRIC_CUT", 1 ], [ "CUT", 2 ] ], + "use_action": { + "type": "repair_item", + "item_action_type": "repair_fabric", + "materials": [ "cotton", "leather", "lycra", "nylon", "wool", "fur", "faux_fur", "nomex", "kevlar", "kevlar_layered", "gutskin" ], + "skill": "tailor", + "tool_quality": 0, + "cost_scaling": 0.1, + "move_cost": 1000 + }, + "flags": [ "ALLOWS_REMOTE_USE" ] + }, + { + "id": "tailors_kit", + "type": "TOOL", + "name": { "str": "tailor's kit" }, + "description": "This is a high quality kit consisting of a variety of needles, some wooden spools for thread, some small scissors, and an awl. Use a tailor's kit to customize your clothing and armor. This uses your tailoring skill.", + "weight": "100 g", + "volume": "500 ml", + "price": 1000, + "price_postapoc": 1000, + "to_hit": -2, + "material": [ "wood", "steel" ], + "symbol": ";", + "color": "red", + "ammo": [ "thread" ], + "sub": "sewing_kit", + "charges_per_use": 1, + "qualities": [ [ "SEW", 4 ], [ "SEW_CURVED", 1 ], [ "KNIT", 1 ], [ "LEATHER_AWL", 2 ], [ "CUT", 2 ], [ "FABRIC_CUT", 2 ] ], + "pocket_data": [ { "pocket_type": "MAGAZINE", "ammo_restriction": { "thread": 400 } } ], + "use_action": [ + { + "type": "repair_item", + "item_action_type": "repair_fabric", + "materials": [ + "cotton", + "leather", + "lycra", + "nylon", + "wool", + "fur", + "faux_fur", + "nomex", + "kevlar", + "kevlar_layered", + "neoprene", + "gutskin" + ], + "skill": "tailor", + "tool_quality": 1, + "cost_scaling": 0.1, + "move_cost": 800 + }, + { + "type": "sew_advanced", + "materials": [ + "cotton", + "leather", + "lycra", + "nylon", + "wool", + "fur", + "faux_fur", + "nomex", + "kevlar", + "neoprene", + "gutskin", + "plastic", + "kevlar_rigid" + ], + "skill": "tailor", + "clothing_mods": [ "leather_padded", "steel_padded", "kevlar_padded", "furred", "wooled" ] + } + ], + "flags": [ "ALLOWS_REMOTE_USE" ] } ] diff --git a/data/mods/innawood/recipes/recipe_others.json b/data/mods/innawood/recipes/recipe_others.json index a77eba95e8424..1de6dcea8d90a 100644 --- a/data/mods/innawood/recipes/recipe_others.json +++ b/data/mods/innawood/recipes/recipe_others.json @@ -151,5 +151,30 @@ [ [ "2x4", 4 ] ], [ [ "rope_superior_short", 2, "LIST" ] ] ] + }, + { + "type": "recipe", + "activity_level": "LIGHT_EXERCISE", + "result": "tailors_kit", + "category": "CC_OTHER", + "subcategory": "CSC_OTHER_TOOLS", + "skill_used": "tailor", + "difficulty": 3, + "time": "1 m", + "autolearn": true, + "reversible": true, + "decomp_learn": 3, + "book_learn": [ [ "textbook_tailor", 3 ], [ "manual_tailor", 3 ] ], + "flags": [ "BLIND_EASY" ], + "//": "The tailoring kit is an expanded sewing kit, so a bone/wood needle is inappropriate.", + "components": [ + [ [ "sewing_kit", 1 ] ], + [ [ "scissors", 1 ] ], + [ [ "knitting_needles", 1 ] ], + [ [ "awl_steel", 1 ] ], + [ [ "needle_curved", 1 ] ], + [ [ "splinter", 3 ], [ "bone", 2 ] ], + [ [ "leather", 2 ] ] + ] } ] diff --git a/data/mods/innawood/recipes/tool.json b/data/mods/innawood/recipes/tool.json index c853bd9c16769..edd8175500aac 100644 --- a/data/mods/innawood/recipes/tool.json +++ b/data/mods/innawood/recipes/tool.json @@ -76,5 +76,21 @@ "proficiencies": [ { "proficiency": "prof_metalworking" } ], "qualities": [ { "id": "SAW_M_FINE", "level": 1 }, { "id": "SCREW", "level": 1 }, { "id": "WRENCH", "level": 1 } ], "components": [ [ [ "pipe", 4 ] ], [ [ "scrap", 2 ] ] ] + }, + { + "type": "recipe", + "activity_level": "BRISK_EXERCISE", + "result": "sewing_kit", + "category": "CC_OTHER", + "subcategory": "CSC_OTHER_TOOLS", + "skill_used": "fabrication", + "difficulty": 7, + "time": "6 h", + "autolearn": true, + "using": [ [ "forging_standard", 4 ] ], + "proficiencies": [ { "proficiency": "prof_metalworking" }, { "proficiency": "prof_blacksmithing" } ], + "qualities": [ { "id": "ANVIL", "level": 3 }, { "id": "HAMMER", "level": 3 }, { "id": "GRIND", "level": 2 } ], + "tools": [ [ [ "tongs", -1 ] ], [ [ "hotcut", -1 ] ] ], + "components": [ [ [ "scrap", 2 ] ], [ [ "splinter", 5 ], [ "bone", 2 ] ], [ [ "leather", 2 ] ] ] } ]