# Shoes' Temperature mod

**URL:** https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128
**Category:** The Lab
**Created:** [January 23, 2013, 11:19am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128 "2013-01-23T11:19:23Z")
**Posts on this page:** 20
**Page:** 6

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [May 27, 2013, 12:18am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/101 "2013-05-27T00:18:48Z")

</div>

I fixed a number of things, including footwear’s wonky warmth values, making sleeping easier, wool no longer getting wet in rain, oversized clothing, and some other smaller stuff.

I will look into adding hood and pockets as an actual thing, and look again at fire’s warmth production. Then maybe again at the bodytemp equalization code.

Are there other things I should be looking into? Any thing else I missed, KA101?

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [May 27, 2013, 12:39am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/102 "2013-05-27T00:39:46Z")

</div>

If you’re asking my opinion, the whole thing shouldn’t have gone in because it’s missing temperature effects on the environment & non-player critters.

(So, maybe you don’t want my opinion.)

In any event, the whole “pockets” thing would be nice, as would be gear to help Mutation-using folks stay warm. Tentacle-warmers, etc.

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [May 27, 2013, 9:46am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/103 "2013-05-27T09:46:44Z")

</div>

Adding the oversized clothing was to help with mutations: they can be worn regardless of everything. You can layer 100 cloaks and blankets if you want. Extremities at the moment don’t get covered, but maybe a combination of pockets and better body temp equalization will help.

When I brought up temperature effects on non-player critters, I was suggested not to bother. Maybe at a later date when the effects on the player are more polished I will look again. It would be nice for zombies to become brittle or something in the cold.

---

<div class="post-metadata">

### Author: ![Mrnocamera](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mrnocamera/32/61_2.png) [@Mrnocamera](https://discourse.cataclysmdda.org/u/Mrnocamera)
#### Post date: [May 27, 2013, 12:18pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/104 "2013-05-27T12:18:19Z")

</div>

> [@Shoes](#):
>
> It would be nice for zombies to become brittle or something in the cold.

Shatter their nose with a heavy stick. \>:)

---

<div class="post-metadata">

### Author: ![Nopkar](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nopkar](https://discourse.cataclysmdda.org/u/Nopkar)
#### Post date: [May 29, 2013, 9:41am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/105 "2013-05-29T09:41:48Z")

</div>

Severe slowdown in the cold winter months…no blood flow + no warmth = freezing (whatever it is remaining in their veins)

that would most definitely be awesome.

otherwise I think you’ve done a fantastic job Shoes and I have almost no beef at all with the current system! (i don’t like being cooked alive by a fire because I am REQUIRED to stand next to it to cook food but oh well)

---

<div class="post-metadata">

### Author: ![TheRealTenman](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@TheRealTenman](https://discourse.cataclysmdda.org/u/TheRealTenman)
#### Post date: [May 29, 2013, 1:26pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/106 "2013-05-29T13:26:44Z")

</div>

> [@Nopkar](#):
>
> Severe slowdown in the cold winter months…no blood flow + no warmth = freezing (whatever it is remaining in their veins)

AFAIK the Goo fills the gaps/repairs the host to a functional being again…This would include blood flow.  
If you want to rationalize a slowdown, say the goo freezes.

Don’t ask about the skeleton.

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [May 30, 2013, 6:52pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/107 "2013-05-30T18:52:53Z")

</div>

I have explored the warmth function for clothing, and with the new item flag system, I can really do anything I want warmth wise. Pockets are in, and that was easy to do. Hoods could be easily done too, but discussing with some other devs, I might look at “activating” a hood. That will require more time and more learning.

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [June 5, 2013, 4:50am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/108 "2013-06-05T04:50:47Z")

</div>

Just a heads-up: some question about emergency blankets. Apparently IRL they aren’t wool.

[http://smf.cataclysmdda.com/index.php?topic=1651.0](http://smf.cataclysmdda.com/index.php?topic=1651.0)

> **[Space blanket](https://en.wikipedia.org/wiki/Emergency_blanket)**
>
> A space blanket (depending on the function, also known as a Mylar blanket, first aid blanket, safety blanket, thermal blanket, weather blanket, or heat sheet) is an especially low-weight, low-bulk blanket made of heat-reflective thin plastic sheeting. They are used on the exterior surfaces of spacecraft for thermal control as well as by people. Their design reduces the heat loss in a person's body which would otherwise occur due to thermal radiation, water evaporation, or convection. Their compac...

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [June 5, 2013, 9:42am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/109 "2013-06-05T09:42:19Z")

</div>

Thanks for the heads up!

(edit : note to self, thirst isn’t working as intended when warm)

---

<div class="post-metadata">

### Author: ![Fox](https://avatars.discourse-cdn.com/v4/letter/f/c5a1d2/32.png) [@Fox](https://discourse.cataclysmdda.org/u/Fox)
#### Post date: [June 9, 2013, 1:23pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/110 "2013-06-09T13:23:20Z")

</div>

wore a blanket and slept… when I woke up I had blisters on my face from being warm… that can’t be right.

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [June 9, 2013, 11:34pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/111 "2013-06-09T23:34:55Z")

</div>

Was wearing all sorts of clothes (underarmor, hoodie, utilivest, jeans, cotton cloak, wool poncho, socks/sneakers, army helmet) but only Glove Liners & Fingerless Gloves when I tried to sleep on my unrolledmat the other night.

Unfortunately, since I am apparently required to sleep in the Starfish position, my hands got cold. I was Chilly all night, despite all the clothing I could dig up, because I hadn’t gone to sleep with my mittens on.

:-/

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [June 10, 2013, 9:48am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/112 "2013-06-10T09:48:37Z")

</div>

> [@Fox](#):
>
> wore a blanket and slept… when I woke up I had blisters on my face from being warm… that can’t be right.

That is indeed odd, since blisters are only triggered by being close to fire, not body temperature. The only bug I know so far about blisters is the fact that when you reload a game, you might have them for one turn. I think that has been fixed; if not, I should probably get on it.

[quote=“KA101, post:111, topic:128”]Was wearing all sorts of clothes (underarmor, hoodie, utilivest, jeans, cotton cloak, wool poncho, socks/sneakers, army helmet) but only Glove Liners & Fingerless Gloves when I tried to sleep on my unrolledmat the other night.

Unfortunately, since I am apparently required to sleep in the Starfish position, my hands got cold. I was Chilly all night, despite all the clothing I could dig up, because I hadn’t gone to sleep with my mittens on.

:-/[/quote]

Yeah, I wasn’t happy with sleeping only checking torso, and I am not happy with it treating torso and hands as the same degree of importance. You will be happy to know sleeping should only get interrupted if you are more than chilly, and I think I will make it easier still by treating the player as if he were sleeping in a fetal position, instead if the current star fish position ;p If you are playing in the nightly build, you can wear a blanket over all your clothing, so you don’t have to take off your shoes to go to sleep!

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [June 11, 2013, 11:43pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/113 "2013-06-11T23:43:55Z")

</div>

In point of fact, the Army Helmet was the dealbreaker regarding Sleeping Bags. Head encumbrance!

Goof to hear about the fetal position.

There’s some sort of issue with unPowered Armor, FWIW: [http://smf.cataclysmdda.com/index.php?topic=1764.msg21309#msg21309](http://smf.cataclysmdda.com/index.php?topic=1764.msg21309#msg21309) .

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [June 12, 2013, 9:40am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/114 "2013-06-12T09:40:00Z")

</div>

[quote=“KA101, post:113, topic:128”]In point of fact, the Army Helmet was the dealbreaker regarding Sleeping Bags. Head encumbrance!

Goof to hear about the fetal position.

There’s some sort of issue with unPowered Armor, FWIW: [http://smf.cataclysmdda.com/index.php?topic=1764.msg21309#msg21309](http://smf.cataclysmdda.com/index.php?topic=1764.msg21309#msg21309) .[/quote]

Thanks for the heads up. I added a new flag to clothing, “OVERSIZE”, which can always be worn. Blankets, sleeping bags, cloaks and their variants all have this tag. Mutations and encumbrance aren’t considered when wearing them. I don’t think power armor is either.

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [June 20, 2013, 10:03pm UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/115 "2013-06-20T22:03:50Z")

</div>

Another possible overheat thing, not sure if you fixed it in dev:  
[http://smf.cataclysmdda.com/index.php?topic=1898.msg23476#msg23476](http://smf.cataclysmdda.com/index.php?topic=1898.msg23476#msg23476)

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [June 21, 2013, 11:51am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/116 "2013-06-21T11:51:08Z")

</div>

Yeah, I think the dehydration was fixed already in the dev version. I am not sure in what sense Zaweri Runewright means the fire is not working.

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [August 25, 2013, 3:15am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/117 "2013-08-25T03:15:19Z")

</div>

So I’ve come back to finish some business.

Recently added was the ability to sleep on clothing for warmth without wearing it. I want to add a prompt telling you if you will be cold or not _before_ going to sleep, but the best way to do that is to refactor the temperature code – something I will eventually do out of perfectionism, but not yet.

I added new labs that have malfunctioning (and unrepairable) temperature controls : they are very cold. The (hopeful) addition of this lab will require more ways to fight extreme cold, so I will probably look into adding UPS powered heating and cooling garments, and perhaps an augmentation module to the power armor’s internal climate control.

Another consequence is that monsters in this ice lab need to feel the effects : I have working code that slows critters relative to the temperature. It is approximate, but it does the job.

Yet another consequence is the ability to distinguish between temperature due to weather and temperature due to other things (such as malfunctioning labs). The groundwork has been laid to have buildings react differently to the weather outdoors. If wind were to be added, then a survivor could really find refuge inside the walls of a building (note that hiding behind a wall would not be covered, that would be extra code)

And finally, to distinguish further the more difficult ice lab, it would need unique loot (probably cold related) with unique effects. Oh yeah, and with ice labs requiring more clothing, I might look at reintroducing my folding mod so the player can take time and tightly pack up his gear.

So yeah, that’s where temperature is heading.

---

<div class="post-metadata">

### Author: ![John\_Candlebury](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/john_candlebury/32/6437_2.png) [@John\_Candlebury](https://discourse.cataclysmdda.org/u/John_Candlebury)
#### Post date: [August 25, 2013, 4:13am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/118 "2013-08-25T04:13:07Z")

</div>

Thats great news Shoes! It opens up for a lot of diverse game play and strategies, really looking forward to it!

---

<div class="post-metadata">

### Author: ![KA101](https://avatars.discourse-cdn.com/v4/letter/k/278dde/32.png) [@KA101](https://discourse.cataclysmdda.org/u/KA101)
#### Post date: [August 25, 2013, 4:40am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/119 "2013-08-25T04:40:44Z")

</div>

What’s particularly impressive is that Shoes expressly did this (in part, at least) [just to mess with me](https://github.com/CleverRaven/Cataclysm-DDA/pull/2640#issuecomment-23219105).

Sorry, Shoes–but I established a workaround for your maleficence some time ago. Your Laboratory Lure will freeze all the innocent CataDDA players, but not impair my characters in the least! 😛

Your sinister schemes are moot before me. Turn from this dark path! It’s not too late to return to the light side!

/it is TOO possible to have a somewhat-friendly forum rivalry

---

<div class="post-metadata">

### Author: ![Shoes](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@Shoes](https://discourse.cataclysmdda.org/u/Shoes)
#### Post date: [August 25, 2013, 11:42am UTC](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128/120 "2013-08-25T11:42:18Z")

</div>

(psst, I’m the one that added the Jedi Cloak. Looks like you like my mods after all!)

[Previous page](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128.md?page=5)

[Next page](https://discourse.cataclysmdda.org/t/shoes-temperature-mod/128.md?page=7)
