# Vehicle mounted heaters broken?

**URL:** <https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312>\
**Category:** The Garage\
**Created:** [April 18, 2020, 10:35am UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312 "2020-04-18T10:35:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![draghi](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/draghi/32/11781_2.png) [@draghi](https://discourse.cataclysmdda.org/u/draghi)\
**Post date:** [April 18, 2020, 10:35am UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312/1 "2020-04-18T10:35:56Z")

</div>

Playing latest experimental here, I’ve set up a portable vehicle mounted heater to hook it up to my house’s makeshift power system since it’s winter in my game and my water tanks keep freezing so I thought I’d use it since they’ve been in the game for quite the while yet I’ve never used them.

Well anyways, the problem is: being made from the Large space heater whose item description states it’ll warm up to about 10 degrees C I thought that was reasonable EXCEPT  
the (on) vehicle heater seems to constantly emit a scorching 43 degrees C in a single large room, even about 10 spaces away from the heater which is ridiculous and pretty much hilarious. Standing at 1 space to the heater would literally kill you.

---

<div class="post-metadata">

**Author:** ![dpwb](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dpwb/32/2609_2.png) [@dpwb](https://discourse.cataclysmdda.org/u/dpwb)\
**Post date:** [April 18, 2020, 12:31pm UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312/2 "2020-04-18T12:31:25Z")

</div>

The current problem is still that I dont think field-emitting was balanced for 1-second turns, therefore its pumping out hot air at a rate that is 6x more than intended.

I keep getting reminded about this, but keep forgetting, and I’m going through a lazy contribution phase, so if anyone else wants to do it, itd be an easy fix. Just find the heater code in vehicle.cpp and multiply its time checking intervals by 6.

---

<div class="post-metadata">

**Author:** ![draghi](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/draghi/32/11781_2.png) [@draghi](https://discourse.cataclysmdda.org/u/draghi)\
**Post date:** [April 18, 2020, 2:01pm UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312/3 "2020-04-18T14:01:30Z")

</div>

sure i’d give that a try. any program you recommend for C++ editing?

---

<div class="post-metadata">

**Author:** ![dpwb](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dpwb/32/2609_2.png) [@dpwb](https://discourse.cataclysmdda.org/u/dpwb)\
**Post date:** [April 18, 2020, 3:12pm UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312/4 "2020-04-18T15:12:44Z")

</div>

TBH now ive gone and looked for the relevant code area I may as well do it myself, but for future reference - you can follow the guides here to get the compiling up and running

> **[CleverRaven/Cataclysm-DDA](https://github.com/CleverRaven/Cataclysm-DDA/tree/master/doc/COMPILING)**
>
> Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world. - CleverRaven/Cataclysm-DDA

I use Atom Editor on Linux, others say good things about VSCode, but IDEs and editors are all personal preference.

---

<div class="post-metadata">

**Author:** ![dpwb](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/dpwb/32/2609_2.png) [@dpwb](https://discourse.cataclysmdda.org/u/dpwb)\
**Post date:** [April 18, 2020, 3:54pm UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312/5 "2020-04-18T15:54:36Z")

</div>

ah the solution was in JSON really

> <https://github.com/CleverRaven/Cataclysm-DDA/pull/39691>

---

<div class="post-metadata">

**Author:** ![draghi](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/draghi/32/11781_2.png) [@draghi](https://discourse.cataclysmdda.org/u/draghi)\
**Post date:** [April 19, 2020, 7:42am UTC](https://discourse.cataclysmdda.org/t/vehicle-mounted-heaters-broken/23312/6 "2020-04-19T07:42:20Z")

</div>

thanks for the fix. yea well i asked because we used Codeblocks in school for C++ and I thought that app was really janky I was wondering what do you guys use.
