From 04a061cfa538c7f44f9307a18f3f4b9c4a0c0833 Mon Sep 17 00:00:00 2001 From: FuelType-Memes <42695732+FuelType-Memes@users.noreply.github.com> Date: Thu, 4 Mar 2021 09:58:46 +0300 Subject: [PATCH] Add book strap carrier (#47665) --- .../itemgroups/Clothing_Gear/clothing.json | 1 + .../Clothing_Gear/gear_civilian.json | 1 + data/json/itemgroups/art_antiques_crafts.json | 3 +- data/json/items/armor/storage.json | 31 +++++++++++++++++++ data/json/recipes/armor/storage.json | 13 ++++++++ .../mods/Magiclysm/itemgroups/itemgroups.json | 10 +++++- 6 files changed, 57 insertions(+), 2 deletions(-) diff --git a/data/json/itemgroups/Clothing_Gear/clothing.json b/data/json/itemgroups/Clothing_Gear/clothing.json index 64189a8b98fd9..dd18e2cd61dea 100644 --- a/data/json/itemgroups/Clothing_Gear/clothing.json +++ b/data/json/itemgroups/Clothing_Gear/clothing.json @@ -3015,6 +3015,7 @@ { "distribution": [ { "item": "case_violin", "prob": 5 }, + { "item": "bookstrap", "prob": 5 }, { "item": "quiver", "prob": 20 }, { "item": "quiver_large", "prob": 15 }, { "item": "solarpack", "prob": 5 }, diff --git a/data/json/itemgroups/Clothing_Gear/gear_civilian.json b/data/json/itemgroups/Clothing_Gear/gear_civilian.json index f17999e578193..2b008a3c61d89 100644 --- a/data/json/itemgroups/Clothing_Gear/gear_civilian.json +++ b/data/json/itemgroups/Clothing_Gear/gear_civilian.json @@ -100,6 +100,7 @@ [ "slingpack", 19 ], [ "travelpack", 10 ], [ "petpack", 1 ], + [ "bookstrap", 1 ], [ "pockknife", 14 ], [ "roller_shoes_off", 10 ], [ "knife_swissarmy", 10 ], diff --git a/data/json/itemgroups/art_antiques_crafts.json b/data/json/itemgroups/art_antiques_crafts.json index 1fc319800412c..d1e5a376777c1 100644 --- a/data/json/itemgroups/art_antiques_crafts.json +++ b/data/json/itemgroups/art_antiques_crafts.json @@ -194,7 +194,8 @@ { "item": "coin_quarter", "prob": 1 }, { "item": "bronze_medal", "prob": 1 }, { "item": "silver_medal", "prob": 1 }, - { "item": "gold_medal", "prob": 1 } + { "item": "gold_medal", "prob": 1 }, + { "item": "bookstrap", "prob": 5 } ] }, { diff --git a/data/json/items/armor/storage.json b/data/json/items/armor/storage.json index b410c75b32f3b..fd01f42405db0 100644 --- a/data/json/items/armor/storage.json +++ b/data/json/items/armor/storage.json @@ -1964,5 +1964,36 @@ "warmth": 2, "material_thickness": 1, "flags": [ "BELTED", "WATER_FRIENDLY" ] + }, + { + "id": "bookstrap", + "type": "ARMOR", + "name": { "str": "bookstrap" }, + "description": "An old-fashioned book strap carrier. Guaranteed to make you feel like a proper scholar.", + "weight": "204 g", + "volume": "350 ml", + "price": 12000, + "price_postapoc": 450, + "material": [ "leather" ], + "symbol": "[", + "looks_like": "leather_belt", + "color": "brown", + "covers": [ "leg_l", "leg_r" ], + "sided": true, + "coverage": 5, + "encumbrance": 0, + "max_encumbrance": 11, + "pocket_data": [ + { + "pocket_type": "CONTAINER", + "min_item_volume": "500 ml", + "max_contains_volume": "3 L", + "max_contains_weight": "4 kg", + "max_item_length": "40 cm", + "moves": 400 + } + ], + "material_thickness": 1, + "flags": [ "BELTED", "WATER_FRIENDLY" ] } ] diff --git a/data/json/recipes/armor/storage.json b/data/json/recipes/armor/storage.json index 974de7a3a2569..ed0db71e93ea3 100644 --- a/data/json/recipes/armor/storage.json +++ b/data/json/recipes/armor/storage.json @@ -1388,5 +1388,18 @@ { "proficiency": "prof_leatherworking" }, { "proficiency": "prof_leatherworking_basic" } ] + }, + { + "result": "bookstrap", + "type": "recipe", + "activity_level": "LIGHT_EXERCISE", + "category": "CC_ARMOR", + "subcategory": "CSC_ARMOR_STORAGE", + "skill_used": "tailor", + "time": "1 h 30 m", + "autolearn": true, + "reversible": true, + "using": [ [ "tailoring_leather_small", 4 ], [ "clasps", 2 ] ], + "proficiencies": [ { "proficiency": "prof_closures" }, { "proficiency": "prof_leatherworking_basic" } ] } ] diff --git a/data/mods/Magiclysm/itemgroups/itemgroups.json b/data/mods/Magiclysm/itemgroups/itemgroups.json index 4fdd8c2b56daf..373b05549db6f 100644 --- a/data/mods/Magiclysm/itemgroups/itemgroups.json +++ b/data/mods/Magiclysm/itemgroups/itemgroups.json @@ -237,7 +237,15 @@ { "type": "item_group", "id": "magic_shop_clothes", - "items": [ [ "cloak", 3 ], [ "cloak_wool", 5 ], [ "jedi_cloak", 3 ], [ "robe", 5 ], [ "tophat", 5 ], [ "leathersandals", 6 ] ] + "items": [ + [ "cloak", 3 ], + [ "cloak_wool", 5 ], + [ "jedi_cloak", 3 ], + [ "robe", 5 ], + [ "tophat", 5 ], + [ "leathersandals", 6 ], + [ "bookstrap", 2 ] + ] }, { "type": "item_group",