# Questions about mutation/trait making

**URL:** https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894
**Category:** The Toolbox
**Created:** [July 10, 2023, 6:15am UTC](https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894 "2023-07-10T06:15:52Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ragna\_Jorm](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ragna_jorm/32/12416_2.png) [@Ragna\_Jorm](https://discourse.cataclysmdda.org/u/Ragna_Jorm)
#### Post date: [July 10, 2023, 6:15am UTC](https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894/1 "2023-07-10T06:15:52Z")

</div>

So I’m a newb here, and I know nothing of coding or anything along these lines. I only downloaded Notepad++ a day ago and have learned some stuff about json from looking at other mods’ json files. But thats all i know, so i’d still say that I’ve only scratched the surface.

So I’m thinking about creating a set of mutations inspired from mutations such as Chitin Plate, meaning with integarted armors, in to a separate mod rather than just modifying files in /data/json.

What im curious about is:

1. Can I use black dragon scales from Magiclysm as armour material? If so how?  
Do i need to add its id, function and all? Cuz i had to do something similar when making a recipe mod. I had to add the item id, description, everything after making a craft and uncraft recipe and I had to write where to copy it from just in case.

2. Even if i create the mutation, what will dictate its appearance?  
Cuz appearance has confused me in base game Json files too. Like Thick Scales have “colour”: “light\_red” but appear dark green like its description. Or how CHITIN3 has “colour”: “brown”, but the sprite apears dark gray.

3. Does creating my own sprites, or modifying a pre-existing one need me to do something about tilesets? Because unlike json, i have no idea what tilesets are and how they usually work.  
Or is it like in items which have a “looks like” code i could use. Like i could set an integrated armour to look like integrated\_chitin3\_armour or the Crustacean Carapace (dont remember its id) but change its sprite colour?

4. Is it possible to add mutations like Disease Immune or Infection Immune (also forgot their ids) in the "flag"s of other mutations?  
Like how Mycus Fireproofing has “HEATIMMUNE” flag?

---

<div class="post-metadata">

### Author: ![RenechCDDA](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/renechcdda/32/12231_2.png) [@RenechCDDA](https://discourse.cataclysmdda.org/u/RenechCDDA)
#### Post date: [July 10, 2023, 6:21am UTC](https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894/2 "2023-07-10T06:21:21Z")

</div>

> **[Guide to adding new content to CDDA for first time contributors](https://github.com/CleverRaven/Cataclysm-DDA/wiki/Guide-to-adding-new-content-to-CDDA-for-first-time-contributors)**
>
> Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world. - CleverRaven/Cataclysm-DDA

> Can I use black dragon scales from Magiclysm as armour material? If so how?

If they are defined in the mod’s material.json sure, otherwise you’ll have to add them as such

> Even if i create the mutation, what will dictate its appearance?

The tileset you are using.

> Does creating my own sprites, or modifying a pre-existing one need me to do something about tilesets?

Yes.

Looks\_like for items will make them copy that item’s sprite. (I do not know if looks\_like functions for mutations, check the docs)

> 1. Is it possible to add mutations like Disease Immune or Infection Immune (also forgot their ids) in the "flag"s of other mutations?  
> Like how Mycus Fireproofing has “HEATIMMUNE” flag?

If they are flags, sure.

> <https://github.com/CleverRaven/Cataclysm-DDA/blob/6fac4abdcdc62913c80162bdc2eacffb94e38182/data/json/mutations/mutations.json#L2473>

---

<div class="post-metadata">

### Author: ![Ragna\_Jorm](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ragna_jorm/32/12416_2.png) [@Ragna\_Jorm](https://discourse.cataclysmdda.org/u/Ragna_Jorm)
#### Post date: [July 10, 2023, 6:24am UTC](https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894/3 "2023-07-10T06:24:40Z")

</div>

Thank you!  
Is there a tileset editor you’d recommend?  
In general where can i download tilesets? haven’t touched them at all.

---

<div class="post-metadata">

### Author: ![Gilliph](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/gilliph/32/10493_2.png) [@Gilliph](https://discourse.cataclysmdda.org/u/Gilliph)
#### Post date: [July 10, 2023, 10:56am UTC](https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894/4 "2023-07-10T10:56:30Z")

</div>

If your looking to make tiles, got recommended this before for making tiles for CDDA.

Aseprite:

> **[Aseprite](https://www.aseprite.org/)**
>
> Animated sprite editor & pixel art tool

---

<div class="post-metadata">

### Author: ![Ragna\_Jorm](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/ragna_jorm/32/12416_2.png) [@Ragna\_Jorm](https://discourse.cataclysmdda.org/u/Ragna_Jorm)
#### Post date: [July 10, 2023, 2:58pm UTC](https://discourse.cataclysmdda.org/t/questions-about-mutation-trait-making/28894/5 "2023-07-10T14:58:24Z")

</div>

Thank you for answering!
