From cf1d1f1e1eaae147c733f794ee3aa8356f65fca0 Mon Sep 17 00:00:00 2001 From: Nymall Date: Sat, 11 Dec 2021 17:52:03 -0800 Subject: [PATCH] Kneepads - update XL greaves and kneepads to allow tails, fix Magicalysm tail mutations to work with "ALLOWS_TAIL" tag (#53355) * XL Leg guards changed to allow tails The normal versions allow tails - updated to match. * adding allowed items tag ALLOWS_TAIL to tail --- data/json/items/armor/legs_armor.json | 6 +++--- data/mods/Magiclysm/mutations/mutations.json | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/data/json/items/armor/legs_armor.json b/data/json/items/armor/legs_armor.json index ace5e607d686d..5785657a8776b 100644 --- a/data/json/items/armor/legs_armor.json +++ b/data/json/items/armor/legs_armor.json @@ -202,7 +202,7 @@ "color": "dark_gray", "warmth": 10, "material_thickness": 3, - "flags": [ "OUTER" ], + "flags": [ "OUTER", "ALLOWS_TAIL" ], "armor": [ { "encumbrance": 3, "coverage": 65, "covers": [ "leg_l", "leg_r" ] } ] }, { @@ -426,7 +426,7 @@ "name": { "str": "pair of XL iron greaves", "str_pl": "pairs of XL iron greaves" }, "description": "A pair of extra large iron leg guards with a simple leather lining.", "proportional": { "weight": 1.25, "volume": 1.13, "price": 1.25 }, - "flags": [ "OUTER", "WATER_FRIENDLY", "OVERSIZE" ] + "flags": [ "OUTER", "WATER_FRIENDLY", "OVERSIZE", "ALLOWS_TAIL" ] }, { "id": "legguard_metal_sheets", @@ -466,7 +466,7 @@ "name": { "str": "pair of XL metal leg guards", "str_pl": "pairs of XL metal leg guards" }, "description": "A pair of extra large hammered metal plates tied to your legs.", "proportional": { "weight": 1.25, "volume": 1.13, "price": 1.25 }, - "flags": [ "OUTER", "WATER_FRIENDLY", "OVERSIZE" ] + "flags": [ "OUTER", "WATER_FRIENDLY", "OVERSIZE", "ALLOWS_TAIL" ] }, { "id": "legguard_paper", diff --git a/data/mods/Magiclysm/mutations/mutations.json b/data/mods/Magiclysm/mutations/mutations.json index dfce66773b613..e51d43ac2fd2f 100644 --- a/data/mods/Magiclysm/mutations/mutations.json +++ b/data/mods/Magiclysm/mutations/mutations.json @@ -556,6 +556,7 @@ "prereqs2": [ "SCALES", "DRAGON_SCALES_BLACK" ], "changes_to": [ "DRAGON_TAIL" ], "restricts_gear": [ "leg_l", "leg_r" ], + "allowed_items": [ "ALLOWS_TAIL" ], "allow_soft_gear": true, "attacks": { "attack_text_u": "You whap %s with your tail", @@ -576,6 +577,7 @@ "prereqs": [ "DRAGON_TAIL_SCALED" ], "category": [ "DRAGON_BLACK" ], "restricts_gear": [ "leg_l", "leg_r" ], + "allowed_items": [ "ALLOWS_TAIL" ], "allow_soft_gear": true, "attacks": { "attack_text_u": "You smash %s with your tail",