From 8ae4ddf2e5b6480c8de5ee1bb22034fa47f5f148 Mon Sep 17 00:00:00 2001 From: "Standing-StormStanding-Storm git config --global user.name Standing-Storm git config --global user.name Standing-Storm" Date: Sun, 22 Sep 2024 14:49:19 -0500 Subject: [PATCH] Add flag --- data/mods/Magiclysm/items/ethereal_items.json | 30 +++++++++++++------ doc/JSON_FLAGS.md | 1 + 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/data/mods/Magiclysm/items/ethereal_items.json b/data/mods/Magiclysm/items/ethereal_items.json index 3319fecb4b060..404180d2d06e9 100644 --- a/data/mods/Magiclysm/items/ethereal_items.json +++ b/data/mods/Magiclysm/items/ethereal_items.json @@ -25,7 +25,7 @@ ] }, "qualities": [ [ "HAMMER", 1 ] ], - "flags": [ "ONLY_ONE", "STURDY", "DURABLE_MELEE", "NONCONDUCTIVE", "MAGIC_FOCUS" ], + "flags": [ "ONLY_ONE", "STURDY", "DURABLE_MELEE", "NONCONDUCTIVE", "MAGIC_FOCUS", "UNRESTRICTED" ], "techniques": [ "WBLOCK_3" ], "melee_damage": { "bash": 20 } }, @@ -106,7 +106,7 @@ "sided": true, "material_thickness": 4, "techniques": [ "WBLOCK_3" ], - "flags": [ "OVERSIZE", "BELTED", "RESTRICT_HANDS", "BLOCK_WHILE_WORN" ], + "flags": [ "OVERSIZE", "BELTED", "RESTRICT_HANDS", "BLOCK_WHILE_WORN", "UNRESTRICTED" ], "armor": [ { "encumbrance": 10, "coverage": 70, "covers": [ "arm_l", "arm_r", "hand_l", "hand_r" ] } ], "melee_damage": { "bash": 14 } }, @@ -127,7 +127,7 @@ "material_thickness": 0.2, "environmental_protection": 2, "relic_data": { "passive_effects": [ { "has": "WORN", "condition": "ALWAYS", "values": [ { "value": "MOVE_COST", "add": -5 } ] } ] }, - "flags": [ "OVERSIZE", "WATERPROOF", "ROLLER_QUAD", "BELTED" ], + "flags": [ "OVERSIZE", "WATERPROOF", "ROLLER_QUAD", "BELTED", "UNRESTRICTED" ], "armor": [ { "encumbrance": 0, "coverage": 100, "covers": [ "foot_l", "foot_r" ] } ], "melee_damage": { "bash": 6 } }, @@ -179,7 +179,8 @@ "TRADER_AVOID", "NO_REPAIR", "NO_SALVAGE", - "MAGIC_FOCUS" + "MAGIC_FOCUS", + "UNRESTRICTED" ], "relic_data": { "passive_effects": [ { "id": "ench_stormglove" } ] }, "to_hit": { "grip": "weapon", "length": "hand", "surface": "any", "balance": "neutral" }, @@ -282,7 +283,8 @@ "ONLY_ONE", "NO_REPAIR", "NO_SALVAGE", - "ZERO_WEIGHT" + "ZERO_WEIGHT", + "UNRESTRICTED" ], "armor": [ { "encumbrance": [ 5, 10 ], "coverage": 40, "covers": [ "torso" ] } ] }, @@ -377,7 +379,7 @@ "moves": 20 } ], - "flags": [ "BELTED", "OVERSIZE", "TRADER_AVOID", "WATER_FRIENDLY", "TARDIS", "ONLY_ONE" ], + "flags": [ "BELTED", "OVERSIZE", "TRADER_AVOID", "WATER_FRIENDLY", "TARDIS", "ONLY_ONE", "UNRESTRICTED" ], "armor": [ { "encumbrance": [ 3, 5 ], @@ -411,7 +413,7 @@ "moves": 20 } ], - "flags": [ "BELTED", "OVERSIZE", "TRADER_AVOID", "WATER_FRIENDLY", "TARDIS", "ONLY_ONE" ], + "flags": [ "BELTED", "OVERSIZE", "TRADER_AVOID", "WATER_FRIENDLY", "TARDIS", "ONLY_ONE", "UNRESTRICTED" ], "armor": [ { "encumbrance": [ 3, 5 ], @@ -516,7 +518,8 @@ "STURDY", "NO_TAKEOFF", "NONCONDUCTIVE", - "PADDED" + "PADDED", + "UNRESTRICTED" ], "armor": [ { @@ -848,7 +851,16 @@ "qualities": [ [ "CUT", 2 ], [ "CUT_FINE", 1 ], [ "BUTCHER", 12 ] ], "to_hit": { "grip": "weapon", "length": "hand", "surface": "every", "balance": "good" }, "weapon_category": [ "CLAWS" ], - "flags": [ "UNBREAKABLE_MELEE", "NONCONDUCTIVE", "NO_UNWIELD", "MAGIC_FOCUS", "TRADER_AVOID", "NO_REPAIR", "NO_SALVAGE" ], + "flags": [ + "UNBREAKABLE_MELEE", + "NONCONDUCTIVE", + "NO_UNWIELD", + "MAGIC_FOCUS", + "TRADER_AVOID", + "NO_REPAIR", + "NO_SALVAGE", + "UNRESTRICTED" + ], "techniques": [ "WBLOCK_2", "RAPID" ], "relic_data": { "passive_effects": [ { "id": "ench_subzero_talons" } ] }, "armor": [ diff --git a/doc/JSON_FLAGS.md b/doc/JSON_FLAGS.md index 8d2c276adb2bf..3ee394930220f 100644 --- a/doc/JSON_FLAGS.md +++ b/doc/JSON_FLAGS.md @@ -242,6 +242,7 @@ Some armor flags, such as `WATCH` and `ALARMCLOCK` are compatible with other ite - ```THERMOMETER``` This gear is equipped with an accurate thermometer (which is used to measure temperature). - ```TOUGH_FEET``` This armor provide effect similar to wearing a proper boots (like scale on your legs), so you don't have a debuff from not wearing footwear. - ```UNDERSIZE``` This clothes can be worn comfortably by mutants with Tiny or Unassuming. Too small for anyone else. +- ```UNRESTRICTED``` Can always be worn, no exceptions. - ```VARSIZE``` Can be made to fit via tailoring. - ```WAIST``` Layer for belts other things worn on the waist. - ```WATCH``` Acts as a watch and allows the player to see actual time.