# Mutation and bionic effects?

**URL:** <https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382>\
**Category:** The Toolbox\
**Created:** [October 19, 2017, 11:28pm UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382 "2017-10-19T23:28:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![veedanya](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/veedanya/32/3105_2.png) [@veedanya](https://discourse.cataclysmdda.org/u/veedanya)\
**Post date:** [October 19, 2017, 11:28pm UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/1 "2017-10-19T23:28:07Z")

</div>

I’ve been digging through file after file trying to find information on the exact impacts of various mutations and bionics, but can’t find any info on them.

Does anyone know where the information on their exact effects?

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [October 19, 2017, 11:36pm UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/2 "2017-10-19T23:36:00Z")

</div>

If you can’t find it in mutation.json and bionics.json, it’s probably spread somewhere in the sources, all over the place.  
Search for the bionic’s id in the sources. All code either addresses the values in the json or the id directly.

---

<div class="post-metadata">

**Author:** ![veedanya](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/veedanya/32/3105_2.png) [@veedanya](https://discourse.cataclysmdda.org/u/veedanya)\
**Post date:** [October 19, 2017, 11:57pm UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/3 "2017-10-19T23:57:23Z")

</div>

I’ve tried using fileseek (a word search engine that checks inside every file for plaintext words), searching for the IDs of specific bionics and mutations. But I only ever find superficial data like the text descriptions, weight of CBM, power requirements, etc. I can’t find anything what-so-ever for actual mutation/bionic impacts on needs, damage, etc.

So I suspect if it does exist, it’s in a file that can’t be opened in a traditional text reader. Or, bionics/mutations effects use files that have reference IDs completely unrelated to their actual IDs.

---

<div class="post-metadata">

**Author:** ![Coolthulhu](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/coolthulhu/32/2446_2.png) [@Coolthulhu](https://discourse.cataclysmdda.org/u/Coolthulhu)\
**Post date:** [October 20, 2017, 12:29am UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/4 "2017-10-20T00:29:10Z")

</div>

Search the source code, not the binary distribution.  
The “src” directory. If you don’t have it, you have to download the game sources from github.

---

<div class="post-metadata">

**Author:** ![veedanya](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/veedanya/32/3105_2.png) [@veedanya](https://discourse.cataclysmdda.org/u/veedanya)\
**Post date:** [October 20, 2017, 8:58am UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/5 "2017-10-20T08:58:24Z")

</div>

Ah, you’re right. Found relevant info searching the ccp files in the master (source) from github. Thanks for the help.

---

<div class="post-metadata">

**Author:** ![veedanya](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/veedanya/32/3105_2.png) [@veedanya](https://discourse.cataclysmdda.org/u/veedanya)\
**Post date:** [October 20, 2017, 9:25am UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/6 "2017-10-20T09:25:19Z")

</div>

I’m trying to add damage values to the cdda wiki, but can anyone that reads code decipher this formula? While I’m familiar with algebra and calculus, I don’t recall ever seeing question marks and colons used like that in formulas.

1 + (unarmed\_skill \> 8 ? 4 : unarmed\_skill / 2)

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [October 20, 2017, 2:00pm UTC](https://discourse.cataclysmdda.org/t/mutation-and-bionic-effects/14382/7 "2017-10-20T14:00:52Z")

</div>

if ((1 + unarmed skill) \> 8) then  
4  
else  
unarmed skill / 2
