# What part of an ememy being made of steel make them immune to heat (found, is hardcoded)

**URL:** <https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228>\
**Category:** The Lab\
**Created:** [April 24, 2024, 9:38pm UTC](https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228 "2024-04-24T21:38:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [April 24, 2024, 9:38pm UTC](https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228/1 "2024-04-24T21:38:27Z")

</div>

If an enemy has it’s material listed as steel it is immune to all heat damage. I want to know if it is something in the materials.json entry or if it is a hardcoded thing.

---

<div class="post-metadata">

**Author:** ![Wasserlaufer](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@Wasserlaufer](https://discourse.cataclysmdda.org/u/Wasserlaufer)\
**Post date:** [April 25, 2024, 2:18am UTC](https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228/2 "2024-04-25T02:18:20Z")

</div>

A monster has only one material and there’s no different material for different parts.

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [April 25, 2024, 2:29am UTC](https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228/3 "2024-04-25T02:29:45Z")

</div>

the rust zombies have their material listed as [flesh, steel]

---

<div class="post-metadata">

**Author:** ![Wasserlaufer](https://avatars.discourse-cdn.com/v4/letter/w/e0b2c6/32.png) [@Wasserlaufer](https://discourse.cataclysmdda.org/u/Wasserlaufer)\
**Post date:** [April 27, 2024, 2:44am UTC](https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228/4 "2024-04-27T02:44:59Z")

</div>

I didn’t know that.

I guess, a monster is fire-proof when all of its material is fire-proof.

---

<div class="post-metadata">

**Author:** ![DeWolf](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@DeWolf](https://discourse.cataclysmdda.org/u/DeWolf)\
**Post date:** [May 4, 2024, 12:30am UTC](https://discourse.cataclysmdda.org/t/what-part-of-an-ememy-being-made-of-steel-make-them-immune-to-heat-found-is-hardcoded/29228/5 "2024-05-04T00:30:57Z")

</div>

Just looked in monster.cpp in the source code on github and yep.

if( dt == damage\_heat && ( made\_of( material\_steel ) || made\_of( material\_stone ) ) ) {  
return true;

steel heat immunity is hardcoded. Well guess ill just change all the materials to one of the variety of steels then.
