# Is there an easy way to remove the "FILTHY" flag from all zombies?

**URL:** <https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376>\
**Category:** The Toolbox\
**Created:** [March 24, 2019, 8:40pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376 "2019-03-24T20:40:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![harison86](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/harison86/32/10005_2.png) [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Post date:** [March 24, 2019, 8:40pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376/1 "2019-03-24T20:40:17Z")

</div>

Title. I know that in the Zombie Nightvision mod and some other obsolete mods, “monster\_adjustment” is used to make an adjustment to everything with the “ZOMBIE” species. Can that be used to remove the “FILTHY” flag, is there another way to do it, or would I just have to manually use copy-from and delete to remove the flag from the 80 or so monsters with the flag?

---

<div class="post-metadata">

**Author:** ![monny](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/monny/32/4985_2.png) [@monny](https://discourse.cataclysmdda.org/u/monny)\
**Post date:** [March 24, 2019, 8:44pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376/2 "2019-03-24T20:44:58Z")

</div>

If you just want to remove filthy clothing, just take off the filthy clothing mod which is on by default.

---

<div class="post-metadata">

**Author:** ![harison86](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/harison86/32/10005_2.png) [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Post date:** [March 24, 2019, 8:51pm UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376/3 "2019-03-24T20:51:09Z")

</div>

I know that, but even without the mod dropped clothing is still flagged and described as filthy. It doesn’t do anything, it just bothers me.

---

<div class="post-metadata">

**Author:** ![Vastin](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vastin/32/9912_2.png) [@Vastin](https://discourse.cataclysmdda.org/u/Vastin)\
**Post date:** [March 25, 2019, 12:43am UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376/4 "2019-03-25T00:43:50Z")

</div>

Soap. Lots and lots of soap.

---

<div class="post-metadata">

**Author:** ![harison86](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/harison86/32/10005_2.png) [@harison86](https://discourse.cataclysmdda.org/u/harison86)\
**Post date:** [March 25, 2019, 2:01am UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376/5 "2019-03-25T02:01:40Z")

</div>

That isn’t what I’m talking about. Zombies have a “flag” attached to them _in the code_ that makes it so that clothing dropped by them is filthy. I’m asking if there’s an easy way to remove that flag from _all_ zombies instead of removing it manually from each monster’s entry (80 or so different entries) in the code.

---

<div class="post-metadata">

**Author:** ![Axema](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/axema/32/10822_2.png) [@Axema](https://discourse.cataclysmdda.org/u/Axema)\
**Post date:** [March 25, 2019, 3:21am UTC](https://discourse.cataclysmdda.org/t/is-there-an-easy-way-to-remove-the-filthy-flag-from-all-zombies/19376/6 "2019-03-25T03:21:00Z")

</div>

Nope, you still need to do it manually. But I think you can ease your work with this 😉

```
{
    "id": "mon_zombie",
    "type": "MONSTER",
    "copy-from": "mon_zombie",
    "delete": { "flags": [
  "SEES",
  "HEARS",
  "SMELLS",
  "STUMBLES",
  "WARM",
  "BASHES",
  "GROUP_BASH",
  "POISON",
  "BLEED",
  "NO_BREATHE",
  "REVIVES",
  "PUSH_MON",
  "FILTHY"
] },
  "extend": { "flags": [
  "SEES",
  "HEARS",
  "SMELLS",
  "STUMBLES",
  "WARM",
  "BASHES",
  "GROUP_BASH",
  "POISON",
  "BLEED",
  "NO_BREATHE",
  "REVIVES",
  "PUSH_MON"
] }
  }

```

Wherein `"delete"` is the monster’s original flags and `"extend"` is the modified one 🙂
