# Smoke inhalation with Gas Mask Active

**URL:** <https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359>\
**Category:** The Garage\
**Created:** [August 4, 2020, 10:30am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359 "2020-08-04T10:30:05Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Post date:** [August 4, 2020, 10:30am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/1 "2020-08-04T10:30:05Z")

</div>

I have a gas mask with an active filter, but apparently I still get smoke inhalation? What the heck?

Edit: It also doesn’t stop poison gas apparently either…so what the hell is the point of mask with filters if they don’t do the thing they’re designed to do?

---

<div class="post-metadata">

**Author:** ![Profugo\_Barbatus](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@Profugo\_Barbatus](https://discourse.cataclysmdda.org/u/Profugo_Barbatus)\
**Post date:** [August 4, 2020, 1:35pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/2 "2020-08-04T13:35:14Z")

</div>

Last I remember, you have to activate the mask before putting it on, to prepare it. Failure to do so means the mask doesn’t work. Don’t remember the exact order of operations, been a while since I played.

---

<div class="post-metadata">

**Author:** ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Post date:** [August 4, 2020, 9:50pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/3 "2020-08-04T21:50:13Z")

</div>

Note how I said “active filter”? I did activate it, that’s how it’s always been, but in the past it’s actually offered some kind of protection!

---

<div class="post-metadata">

**Author:** ![Profugo\_Barbatus](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@Profugo\_Barbatus](https://discourse.cataclysmdda.org/u/Profugo_Barbatus)\
**Post date:** [August 4, 2020, 9:58pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/4 "2020-08-04T21:58:17Z")

</div>

I know what you said, and I still know what I said. I also know it sounds stupid, but you need to activate the mask _before_ putting it on, even if you have activated it previously. Perhaps this has changed since I last played (about a week before the new inventory system) but gas masks got real picky about a year ago.

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 4, 2020, 11:46pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/5 "2020-08-04T23:46:13Z")

</div>

I just tested this in build version 0.E-10845 (0.E-4197-g3b15cc4) and it works fine for smoke as well as hazy clouds.  
It also degrades the filter (as it should).

Testing perimeter:

1. Spawned in a `gas mask`. It came with the filter.
2. Activated it over the general use ([a]) menu.
3. Put it on with the general [W]ear menu.
4. Spawned in a `Smoker Zombie` and stood in its smoke.
5. Moved away and spawned in a `Bloated Zombie`, killed it and stood in the gas cloud.
6. 87/100 charges left in the mask and no smoke inhalation or poisoning effects/status.
7. Taking the `gas mask` off, dropping it or wielding it and walking into smoke causes inhalation.
8. Putting it back on prevents further inhalation.

Other perimeters:

- Naked, other than `gas mask (active) (100/100 gas mask cartridge)` (yellow colored).
- No traits.
- Under the effects of `Painkillers` and `Unhappy`.
- Monster speed set to 1%

---

<div class="post-metadata">

**Author:** ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Post date:** [August 5, 2020, 12:01am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/6 "2020-08-05T00:01:24Z")

</div>

> [@Profugo\_Barbatus](#):
>
> I know what you said, and I still know what I said. I also know it sounds stupid, but you need to activate the mask _before_ putting it on, even if you have activated it previously. Perhaps this has changed since I last played (about a week before the new inventory system) but gas masks got real picky about a year ago.

On 10891 I put it on, activated it, as I saw a smoker coming my way. it depleted the mask but did not protect against smoke.

I activated it again which did nothing, and almost immediately ran into a bloaters poison cloud, again it depleted the charges and did not protect me.

Just did it again, here’s a snip: [https://imgur.com/a/RXTgDNM](https://imgur.com/a/RXTgDNM)

Note the red text on the log.

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 5, 2020, 12:04am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/7 "2020-08-05T00:04:52Z")

</div>

Hold on, you stated above you used a _ **gas mask** _, but your screenshot shows a _ **extra-light survivor mask** _.  
I also can’t find that item in the unmodded base game, making me think that this is from a mod.  
Do you know which one?

Edit: A search over all the files included in the base game (build version 10895) showed no results. This includes official mods.  
So, unless this item was removed within the last 4 build versions, it is probably from an unofficial and unsupported mod and should be taken to the mod creater/maintainer.

---

<div class="post-metadata">

**Author:** ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Post date:** [August 5, 2020, 1:41am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/8 "2020-08-05T01:41:22Z")

</div>

@Valase good catch, turns out it is from an older mod that doesn’t seem to have problems loading, “More Survivor Stuff”.

I looked over the JSON and also compared it to the vanilla items, doesn’t appear to be any errors per se, but it does seem like maybe the old formatting is for some reason making it not function? Ammo type is the same, gasmask activatable property, and protection with filter values.

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 5, 2020, 2:28am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/9 "2020-08-05T02:28:25Z")

</div>

> [@Grimm\_Spector](#):
>
> I looked over the JSON and also compared it to the vanilla items, […]  
> Ammo type is the same, gasmask activatable property, and protection with filter values.

Indeed, but it (if you use it from @TheGoatgod’s Modpack where I’ve downloaded it) has no cover. It did throw some warnings when the item is examined:

```
invalid body part id "EYES"
invalid body part id "MOUTH"

```

And that’s also the problem. The game can’t load the old style and in the end it protects 100% of “nothing”.  
Open up the mod folder, navigate to the `More_Survivor_Stuff/items folder`, open up the `armor.json` file, search the `mss_mask_extralsurvivor` entry and replace the lines

```
"covers": ["MOUTH", "EYES"],
"coverage": 100,
"encumbrance": 16,

```

with

```
"armor_portion_data": [
  { "covers": ["eyes"], "coverage": 100, "encumbrance": 16 },
  { "covers": ["mouth"], "coverage": 100, "encumbrance": 16 }
],

```

That should fix it (tested it myself and works fine).

Be aware that this is not the only error in this file… All clothing and armor seem to suffer from the same problem.

With a little bit coding experience and/or the necessary tools you should be able to replace all instances pretty quickly.

---

<div class="post-metadata">

**Author:** ![games\_and\_glory](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/games_and_glory/32/9543_2.png) [@games\_and\_glory](https://discourse.cataclysmdda.org/u/games_and_glory)\
**Post date:** [August 5, 2020, 2:52am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/10 "2020-08-05T02:52:47Z")

</div>

I had a different issue with a pba mask where it got damaged to the point that it didn’t offer enough environmental protection even when active with filters repairing the mask fixed that issue

---

<div class="post-metadata">

**Author:** ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Post date:** [August 5, 2020, 2:58am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/11 "2020-08-05T02:58:51Z")

</div>

@Valase I thought about as much, thanks for the fix! Question, is that an abandoned mod and would it be worth my time to update for people?

Edit: I’ve already contributed some JSON work to the project by the way, and am a moderately experienced coder. I just feel reticent poking around in peoples mods without their blessings.

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 5, 2020, 3:24am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/12 "2020-08-05T03:24:52Z")

</div>

No problem, glad it was a quick fix 🙂 .

> [@Grimm\_Spector](#):
>
> Question, is that an abandoned mod and would it be worth my time to update for people?

Well, that’s something that someone else has to answer, as I’m not up to date on what mods are still developed or maintained and which are abandoned.  
Since that change happened (relatively) recently, it’s quite possible that it just wasn’t addressed yet. The last update to his/her git [happened 1 1/2 months ago](https://github.com/pawnishoovy/More-Survivor-Stuff), so it’s semi-maintained and it looks like TheGoatgod has changed up some stuff (adapted to the new name of kevlar plates) recently.  
The update of the body parts system probably caused temporary damage to quite a bit of mods…

As for if it’s worth the time… Well… You probably can judge that better than I could.  
It can be done fast and semi-automated if you know how to deal with RegExp.

---

<div class="post-metadata">

**Author:** ![Grimm\_Spector](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/grimm_spector/32/5132_2.png) [@Grimm\_Spector](https://discourse.cataclysmdda.org/u/Grimm_Spector)\
**Post date:** [August 5, 2020, 3:27am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/13 "2020-08-05T03:27:25Z")

</div>

@Valase I more so meant if it’s worthwhile to the community for me to spend that time. If @TheGoatgod is maintaining these then I won’t interfere, I wasn’t sure if there was active maintenance going on or if it was just removing loading errors and the like, since you mentioned it’s no longer supported.

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 5, 2020, 3:37am UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/14 "2020-08-05T03:37:28Z")

</div>

> [@Grimm\_Spector](#):
>
> […] since you mentioned it’s no longer supported.

Oh, no no, I meant it’s not supported by the official game support (as in, it’s not worth to create an issue on cataclysm’s github - it would just get dismissed).

> [@Grimm\_Spector](#):
>
> […] I won’t interfere […]

Personally, I don’t see fixing stuff and adding new things as “interference”. That’s what git is for… or at least what I think it’s for.

> [@Grimm\_Spector](#):
>
> I more so meant if it’s worthwhile to the community for me to spend that time.

Since TheGoatgod almost certainly has to run a script to fix all these broken items in all the mods, it’s probably not worth your time to fix a single one by hand, in my opinion… But, depending how long it takes to write and use that script, you might get it done faster than s-/he…

---

<div class="post-metadata">

**Author:** ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)\
**Post date:** [August 6, 2020, 3:36pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/15 "2020-08-06T15:36:32Z")

</div>

i started the community mod pack “goats mod compilation” anyone can change data and fix them i will fix mods regardless of them being maintained or not if im quick enough, im currently going through every error and linting mods im on 0.09d atm and only like 50 mods work properly expect 0.1 to be fully done and should be ready for F. well i hope to get most of them done sunday

---

<div class="post-metadata">

**Author:** ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)\
**Post date:** [August 6, 2020, 3:38pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/16 "2020-08-06T15:38:00Z")

</div>

a script? im confuesed i dont have anything that automaticly fixes stuff, i do it all by hand through atom reaper brought the json workflow over i took the astyle. this only tells me errors doesnt fix them saddly

---

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [August 6, 2020, 5:46pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/17 "2020-08-06T17:46:09Z")

</div>

> [@TheGoatgod](#):
>
> […] i do it all by hand […]

Uh, in that case, congratulation on your dedication!

But I would strongly suggest the use of a software with replace-all function that can handle multiple files/folders, it should make your life a lot easier.

And the usage of Regular Expressions can even replace over multiple lines to fix stuff like this clothing one.  
(But take the warning I was given when learning RegExp: “You **will** shoot yourself into your foot sometimes. Have a bandaid nearby and a backup ready and try again. Mastering RegExp does pay off.”  
And I can wholeheartedly agree on that. On all of it.)

---

<div class="post-metadata">

**Author:** ![TheGoatgod](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/thegoatgod/32/8026_2.png) [@TheGoatgod](https://discourse.cataclysmdda.org/u/TheGoatgod)\
**Post date:** [August 6, 2020, 10:46pm UTC](https://discourse.cataclysmdda.org/t/smoke-inhalation-with-gas-mask-active/24359/18 "2020-08-06T22:46:44Z")

</div>

atom has a replace all button but pretty much by hand most of it 1 file at a time, i have a search tool that i can search everything and im not changing, this is how i like wasting my free time sometimes
