Project Zomboid

Project Zomboid

Sapphire's Heaters [WIP] (FIXED)
66 Comments
williamasecas 30 Mar @ 5:53am 
Its a bit odd that something that uses a battery has a weight of less than 5.

Would be cool if both the small and outdoor heaters had a weith without battery and the battery´s weight were added when introduced making them have a weight of base+5.
Tnaz.v 18 Feb @ 7:28pm 
Funciona para la 41 en MP?
drshahramanvariazar 13 Feb @ 10:17am 
he said no update to build 42
legobricked 21 Dec, 2024 @ 12:32pm 
update for Build 42?
Valentine 27 Nov, 2024 @ 12:26pm 
how do i place the heater?
Steelers6xsb 21 Oct, 2024 @ 8:04am 
I am still receiving the battery duplication glitch on my server utilizing this mod...
replicator0 2 Sep, 2024 @ 3:36pm 
Just found this and see my fix got added to it. That's pretty cool...
Anach 16 Aug, 2024 @ 9:59pm 
Heaters and Lanterns likely conflict with each other, not the fault of one or the other, but depends on load order, as to which overwrites the other. There might be other mods that also share the same context menu script these two mods do, and thus will conflict also.
space is cool 23 May, 2024 @ 11:24pm 
conflict
Puddings 6 May, 2024 @ 3:28pm 
@lakengobel try Soul Filcher's Awesome Time
LakeItRain 5 May, 2024 @ 11:13pm 
this mod conflicts with the Lanterns! mod
Puddings 5 May, 2024 @ 3:01pm 
replaces og mod right
Spite 28 Apr, 2024 @ 6:21am 
Can they be found?
Kieran514 21 Apr, 2024 @ 2:04am 
Yes "Rage_Loop"
It seems that it can be added mid game
>) 18 Mar, 2024 @ 5:18am 
found a weird incompatibility is that this mod somehow breaks the lanterns from lantern mod, making them unable to toggle on/off when put on ground
Bié Kenobi 12 Mar, 2024 @ 9:40pm 
Do I have to turn on both mods or this one replaces the original?
Rage_Loop 6 Mar, 2024 @ 4:38pm 
can this mod be added to already existing play-through or will it bug the game
space is cool 17 Feb, 2024 @ 1:57am 
can the heaters themselves be found in the world
Jane Helldiver 23 Dec, 2023 @ 9:22pm 
REQUEST: Make heater circuits drop with a 5 or 10% chance when dismantling a fridge, stove, or washer/dryer?
トミー (Tommy) 11 Dec, 2023 @ 2:00am 
Is there a chance you could investigate an alternative to using LoadGridSquare? Its an expensive method, I seen the snow is water mod found some alternative that might be worth checking.
yourboicrip 21 Nov, 2023 @ 3:10pm 
Does this work in MP?
Megis 18 Nov, 2023 @ 11:17am 
Anyone managed to make this work in MP? Do I need the original mod or is it just not working in MP?
Viper 12 Nov, 2023 @ 7:12pm 
And workingclass. you did a good job on patching this up.

Someone made a mod for those AC units to work as both AC and heaters. Those it still needs a lot of work
Viper 12 Nov, 2023 @ 7:10pm 
What they are saying is the heaters from this mod is not using any power/fuel source that it is supposed to be consuming when it is activated.

Fuel API is no longer working cause the mod has not been updated at all.
Its not entirely working for the majority of the mods it is supposed to work side by side with. for those of you wondering Fuel API is not working correctly.

It needs to be updated
Extreme 6 Nov, 2023 @ 10:33pm 
Hi, thanks for the mod! I tried the electric indoor heater, it's working great but there is no effect on generator fuel consumption or ISA-Solar batery loads. Is there a problem on my mod list or the mod doesn't have any electricity consumption values?
Kenpa 31 Oct, 2023 @ 12:39am 
Yeah I'm curious about the Fuel API potential issue, because i would like to give this mod a try. Either way thanks for the time and effort you guys put into these mods. Very cool.
Asero™ 28 Oct, 2023 @ 2:20pm 
The duplication issue still persist and it seems that the heater does not work outside in my playthrough. I could give you a video with the issue
WorkingClassKid  [author] 27 Oct, 2023 @ 2:44am 
@Defigenral : and can you tell us what the issue is?
legobricked 26 Oct, 2023 @ 4:12pm 
Fuel API and the heater mod aren't compatible for some reason, Any ideas?
Mr. Fujiwara 26 Oct, 2023 @ 12:47am 
The electric heater is working perfectly on my already existing game, spawned it in, it's in my grid, turned it on and yup, works great. Thanks for fixing the mod man, I play a lot of my games in winter so to have a generator and no electric heating devices in the vanilla game? Yeah, kinda kills the immersion, especially since in the new zomboid trailer they make it out like you can already hook up a generator to your place and stay warm.

Anyways haha, cheers man, much appreciated. :104:
WorkingClassKid  [author] 25 Oct, 2023 @ 2:41pm 
@☠RAIDER☠ : no, you don't need the original mod. You only need to subscribe to this one
☠RAIDER☠ 25 Oct, 2023 @ 12:46am 
do you need the original mod with this one?
Coz 24 Oct, 2023 @ 9:33pm 
@WorkingClassKid: Thank you for the response and the test video! I played around with it a bit more and got it to work. Turns out you don't get the turn on option without reading the associated magazines, which makes sense since you need to craft them in the actual gameplay anyways. I skipped this as I was just testing them out in admin/debug mode and spawning the items. After I read the magazines I got the option to turn them on,tested in hosting and in our dedicated server. The only thing is that the electric heater is not actually increasing the consumption of the generator, which may be because of some other conflict or setting but that is not that big of a problem. Thanks again!
SimQueen68 24 Oct, 2023 @ 1:57am 
I just made my first heater and im impressed. The heater worked straight away and the range is great. Thanks
WorkingClassKid  [author] 23 Oct, 2023 @ 2:39pm 
@Coz: It's just work as expected. Probably you have a mod conflict somewhere.

here is my test video: https://www.youtube.com/watch?v=NWBQR9YyPzc

And yes, you should be able to add it mid game without issue as I have made it on my own server and I know that Kodeman have added the mod on Valhalla server mid game too and it's seems to work as expected.
Coz 22 Oct, 2023 @ 6:48pm 
Oh another thing, the electric heater is still a drainable item, which I don't think it is supposed to be? I also tried this in hosting a server from my client and I have the same problem as in my dedicated server
Coz 22 Oct, 2023 @ 6:45pm 
Hi all, I see all the items, can craft them and place them but I don't see any change in temperature or characters warmth, and the electric heater won't draw any electricity from the generator. Tried many ways but couldn't get it to work. Am I missing something here or is something broken? I did add this midgame. Thank you!
Jane Helldiver 15 Oct, 2023 @ 8:12pm 
Can also confirm. Electric Heater in my base is running now for about 7 game days, and it's listed as a device drawing power from my generator.

Appears to be working just fine.

MP server with 400 other mods, so major kudo's for the fix!
KodeMan 15 Oct, 2023 @ 7:17am 
Can confirm, works great on our server.
WorkingClassKid  [author] 15 Oct, 2023 @ 7:08am 
@ElectroGrid : I use it on my server and seems to work well... actually, no body have reported any issue (or fix) with MP
ElectroGrid 15 Oct, 2023 @ 5:45am 
Does this work in multiplayer?
Jane Helldiver 9 Oct, 2023 @ 2:21pm 
Testing this on my server today to see if the indoor electric heaters work as they are supposed to (run off the house electricity and not get drained).

If so, MAJOR kudo's coming your way cause winter is coming and this will keep us all warm!
WorkingClassKid  [author] 8 Oct, 2023 @ 2:57am 
@Mime : Thank you again! I have applied the fix for the outdoor heater! Thank you!
erey.lcg 8 Oct, 2023 @ 2:42am 
@mime Nice! Thanks!
Mime 7 Oct, 2023 @ 3:59pm 
@erey.lcg safe but you will need to search for heater circuits in unexplored parts of map and they are pretty rare
Mime 7 Oct, 2023 @ 3:55pm 
But you also need to fix outdoor heaters the same way :)

*SAPPHEATER_recipecode*

function Recipe.OnCreate.OutdoorHeaterBatteryInsert(items, result, player)
for i=0, items:size()-1 do
if items:get(i):getType() == "CarBattery2" then
result:setUsedDelta(items:get(i):getUsedDelta());
end
end
end

*SAPPHEATER_Recipes*

recipe Insert Battery into Outdoor heater
{
...
Recipe.OnCreate.OutdoorHeaterBatteryInsert,
}
erey.lcg 7 Oct, 2023 @ 2:57pm 
Is it safe to add this mod to a saved game? Or do I have to make some modifications?
Mime 7 Oct, 2023 @ 5:42am 
NP :) And thank you kind sir!
WorkingClassKid  [author] 7 Oct, 2023 @ 4:56am 
@Mime: Thank you for the bug report! and.... THANK YOU SO MUCH for the fix!

I have applied and tested the fix and everything work as it should! thank you!

I will upload the update in the next few minutes!
Mime 5 Oct, 2023 @ 6:45am 
like this

*SAPPHEATER_recipecode*

function Recipe.OnCreate.SmallHeaterBatteryInsert(items, result, player)
for i=0, items:size()-1 do
if items:get(i):getType() == "CarBattery1" then
result:setUsedDelta(items:get(i):getUsedDelta());
end
end
end

*SAPPHEATER_Recipes*

recipe Insert Battery into Small Heater
{
...
Recipe.OnCreate.SmallHeaterBatteryInsert,
}