# Where are the codes for passive bionics effects

**URL:** https://discourse.cataclysmdda.org/t/where-are-the-codes-for-passive-bionics-effects/8709
**Category:** The Garage
**Created:** [January 22, 2015, 10:07am UTC](https://discourse.cataclysmdda.org/t/where-are-the-codes-for-passive-bionics-effects/8709 "2015-01-22T10:07:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aierce](https://avatars.discourse-cdn.com/v4/letter/a/b487fb/32.png) [@aierce](https://discourse.cataclysmdda.org/u/aierce)
#### Post date: [January 22, 2015, 10:07am UTC](https://discourse.cataclysmdda.org/t/where-are-the-codes-for-passive-bionics-effects/8709/1 "2015-01-22T10:07:08Z")

</div>

I’m trying to find effects for air filtration system. I searched for “bio\_purifier”, “air filtration system”, neither came up with anything. and src/bionics.cpp only has activated bionics effects.

Where are the codes for passive bionics?

---

<div class="post-metadata">

### Author: ![i2amroy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/i2amroy/32/909_2.png) [@i2amroy](https://discourse.cataclysmdda.org/u/i2amroy)
#### Post date: [January 22, 2015, 8:58pm UTC](https://discourse.cataclysmdda.org/t/where-are-the-codes-for-passive-bionics-effects/8709/2 "2015-01-22T20:58:26Z")

</div>

They are tied in wherever they would have an effect, similar to how mutations are. So for example the air purifier code probably is present anywhere that deals with breathing.

The easiest way I find to track it down is just to do a mass file search (either through snazzy stuff or through something as simple as opening up all of the various source files in N++ and then doing a “find in all files”) for the id (i.e. bio\_purifier).

---

<div class="post-metadata">

### Author: ![Florin](https://avatars.discourse-cdn.com/v4/letter/f/91b2a8/32.png) [@Florin](https://discourse.cataclysmdda.org/u/Florin)
#### Post date: [January 23, 2015, 3:38am UTC](https://discourse.cataclysmdda.org/t/where-are-the-codes-for-passive-bionics-effects/8709/3 "2015-01-23T03:38:09Z")

</div>

In this particular case it’s in player.cpp, under get\_env\_resist.
