# My torso and arms warmth drops to insane levels after loading a save

**URL:** <https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201>\
**Category:** The Garage\
**Created:** [July 20, 2020, 12:27pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201 "2020-07-20T12:27:36Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![sztosz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sztosz/32/1212_2.png) [@sztosz](https://discourse.cataclysmdda.org/u/sztosz)\
**Post date:** [July 20, 2020, 12:27pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/1 "2020-07-20T12:27:36Z")

</div>

My torso and arms warmth drops to insane levels after loading a save and moving a square or just waiting for a while.

Cataclysm DDA version 0.E-4297-g3c67e804d7

It’s a fresh master compiled from source today 2020-07-20 I always do make clean before compiling again.

Link to save: [https://drive.google.com/file/d/1sjPB3I7CScXjxX0hVFKi0hzgEdDnWKDU/view?usp=sharing](https://drive.google.com/file/d/1sjPB3I7CScXjxX0hVFKi0hzgEdDnWKDU/view?usp=sharing)

The funny thing is when I remove from my torso items I wear: flannel jacket, high-volume rucksack, ulitily vest, and kevlar-vest, warmth of torso goes back to normal level. Wearing them again drops my warmth again. Axe ring holster I wear too does not seem to have any impact on warmth though. If I wear travelpack from my car my torso goes down, same with sling pack from car. Wearing a pair of cut-resistant arm sleeves drops my arm warmth. Wearing filter mask over my mouth, on the other hand increase my mouth warmth.

Is it a bug in game, or is my save game somehow broken?

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 20, 2020, 12:31pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/2 "2020-07-20T12:31:55Z")

</div>

Sounds like a bug caused by [https://github.com/CleverRaven/Cataclysm-DDA/pull/41877](https://github.com/CleverRaven/Cataclysm-DDA/pull/41877) and is probably the same thing as [Warmth is broken?](https://discourse.cataclysmdda.org/t/warmth-is-broken/24200/2)

Can you open an issue about it?

---

<div class="post-metadata">

**Author:** ![11119](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/11119/32/6110_2.png) [@11119](https://discourse.cataclysmdda.org/u/11119)\
**Post date:** [July 20, 2020, 12:35pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/3 "2020-07-20T12:35:37Z")

</div>

All the same. Clothing is removed - heat is restored. It looks like a bug

---

<div class="post-metadata">

**Author:** ![sztosz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sztosz/32/1212_2.png) [@sztosz](https://discourse.cataclysmdda.org/u/sztosz)\
**Post date:** [July 20, 2020, 12:53pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/4 "2020-07-20T12:53:47Z")

</div>

I’ve checked out 12e8c9b84945abcee1a5a1a45e966a243935d695 on master that’s a commit just before [https://github.com/CleverRaven/Cataclysm-DDA/pull/41877/commits](https://github.com/CleverRaven/Cataclysm-DDA/pull/41877/commits) and it seems to be working correctly.

I tried to find where the bug is in that PR, but I wasn’t able to by just reading the code.

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 20, 2020, 12:56pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/5 "2020-07-20T12:56:29Z")

</div>

I’m hoping for a sign error somewhere, like just doing a - instead of a + but I don’t know without testing more.

---

<div class="post-metadata">

**Author:** ![sztosz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sztosz/32/1212_2.png) [@sztosz](https://discourse.cataclysmdda.org/u/sztosz)\
**Post date:** [July 20, 2020, 1:01pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/6 "2020-07-20T13:01:04Z")

</div>

I did not saw any sign error, but given how the warmth changes, I believe there may be some improper multiplication of something.

I need to get back to work. I only managed to make short bug report [https://github.com/CleverRaven/Cataclysm-DDA/issues/42302](https://github.com/CleverRaven/Cataclysm-DDA/issues/42302)

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 20, 2020, 1:07pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/7 "2020-07-20T13:07:55Z")

</div>

Thanks, I’ll try to look into it later today.

---

<div class="post-metadata">

**Author:** ![sztosz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sztosz/32/1212_2.png) [@sztosz](https://discourse.cataclysmdda.org/u/sztosz)\
**Post date:** [July 21, 2020, 11:53am UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/8 "2020-07-21T11:53:41Z")

</div>

I saw you had PR that tried to fix that problem [https://github.com/CleverRaven/Cataclysm-DDA/issues/42302](https://github.com/CleverRaven/Cataclysm-DDA/issues/42302)  
But the problem persists, and it has to do something with being wet. here’s save [https://drive.google.com/file/d/1G9Xo7T5CC3VwTdro77sCJCiLm3xdGtHV/view?usp=sharing](https://drive.google.com/file/d/1G9Xo7T5CC3VwTdro77sCJCiLm3xdGtHV/view?usp=sharing)

I’ve got wet feet and legs. If you were sleeping bag that is nearby your feet and legs get considerably colder that without it. If you spawn towel, and dry yourself. just after drying, all body parts are getting much colder. Temp shows -18C in UI, and it takes few turns to Temp in UI show +11C and warmth getting back to normal. It’s fresh master with your changes.

And loading same save in 12e8c9b84945abcee1a5a1a45e966a243935d695 (the one before all those changes) brings warmth back to “normal” level.

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 21, 2020, 12:40pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/9 "2020-07-21T12:40:12Z")

</div>

What happens if you save an reload?

My fix was to set drench\_capacity on load but laybe instead we should set it everytime the body temp is calculated

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 21, 2020, 12:43pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/10 "2020-07-21T12:43:54Z")

</div>

Bettet still, we could get drench capacoty directly from the id and not store it in the bodypart. I ll push that change later today.

---

<div class="post-metadata">

**Author:** ![sztosz](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/sztosz/32/1212_2.png) [@sztosz](https://discourse.cataclysmdda.org/u/sztosz)\
**Post date:** [July 22, 2020, 5:36pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/11 "2020-07-22T17:36:24Z")

</div>

Seems to be working great after last fixes 🙂 Thank you.

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 22, 2020, 5:39pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/12 "2020-07-22T17:39:59Z")

</div>

Finally! X)

---

<div class="post-metadata">

**Author:** ![Pullimulli](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Pullimulli](https://discourse.cataclysmdda.org/u/Pullimulli)\
**Post date:** [July 23, 2020, 4:10pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/13 "2020-07-23T16:10:44Z")

</div>

I have the latest experimental (10863) and I think I have the same problem as op. My legs are insanely cold, and get warmer as I take off clothing. Has nothing to do with being wet, at least with me.

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 23, 2020, 9:02pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/14 "2020-07-23T21:02:02Z")

</div>

Are you sure you’re on the latest version? Did you try to dry with a towel and wait a bit?

---

<div class="post-metadata">

**Author:** ![Vomgnar](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/vomgnar/32/9657_2.png) [@Vomgnar](https://discourse.cataclysmdda.org/u/Vomgnar)\
**Post date:** [July 23, 2020, 10:25pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/15 "2020-07-23T22:25:13Z")

</div>

I was having the same issue (build 10863). No visible indication that I was wet, but the towel trick worked! Thanks!

---

<div class="post-metadata">

**Author:** ![Pullimulli](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Pullimulli](https://discourse.cataclysmdda.org/u/Pullimulli)\
**Post date:** [July 24, 2020, 9:42am UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/16 "2020-07-24T09:42:34Z")

</div>

Well cut my legs and call me shorty, it worked! Thank you!

---

<div class="post-metadata">

**Author:** ![Fris0uman](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/fris0uman/32/8607_2.png) [@Fris0uman](https://discourse.cataclysmdda.org/u/Fris0uman)\
**Post date:** [July 24, 2020, 3:29pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/17 "2020-07-24T15:29:45Z")

</div>

Ok so there were multiple bugs:  
First drench capacity was set to 1 so when your toso reached 40 wetness the game thought you were 4000% wet and applied cold penalty accordingly  
Second there is a typo that makes you wetter each time you’re supposed to get dryer leading to infinite wetness

First one is already fixed and here’s the fix for the second one [https://github.com/CleverRaven/Cataclysm-DDA/pull/42430](https://github.com/CleverRaven/Cataclysm-DDA/pull/42430)

---

<div class="post-metadata">

**Author:** ![solarwind](https://avatars.discourse-cdn.com/v4/letter/s/c5a1d2/32.png) [@solarwind](https://discourse.cataclysmdda.org/u/solarwind)\
**Post date:** [July 24, 2020, 4:56pm UTC](https://discourse.cataclysmdda.org/t/my-torso-and-arms-warmth-drops-to-insane-levels-after-loading-a-save/24201/18 "2020-07-24T16:56:53Z")

</div>

thank you Fris0uman you are a true foodperson.
