Project Zomboid

Project Zomboid

Comfy Sleeping [B41 & B42]
301 Comments
Nwegative Nov 2 @ 2:15pm 
yipee!
Fluffy89  [author] Nov 2 @ 8:28am 
Hwegative, I'll make a note and look into that once B42 goes stable or I have the free time available.
Nwegative Nov 2 @ 12:40am 
Hi Mod author, I had a suggestion :3... add a option for us to cuddle with any stuffed animals that're in our mainhand to sleep for another sleep bonus or helps reduce panic for those who are claustrophobic and scared of the dark! This would add a functionality to plushies ingame :D
Fluffy89  [author] Oct 31 @ 8:20am 
confidence, glad you figured out the issue! :spiffo:
confidence. Oct 31 @ 2:04am 
I ran a few tests and found out that the HypothermiaKills mod causes these strange "sleeps". I would never have guessed, but I noticed that this only happens when the character is at least 1 moodle cold. This is mentioned in the mod's description, but I thought it would only happen in extreme cases of hypothermia...
In any case, I'm glad to know that your mod works, and thank you for your response :)
Fluffy89  [author] Oct 30 @ 3:29pm 
confidence, could you try reproduce the issue and disable only Comfy Sleeping? The mod itself has no way of putting a player to sleep, the only functionality it has that is related to this is forcing the player awake if their comfort is high enough, or if poor/very poor.

If you're on B42, this could be a bug with PZ since its still on the unstable branch.
confidence. Oct 30 @ 3:19pm 
Hi! I've also found a problem. I didn't notice this behavior before installing the mod.

Let's say my character has a good night's sleep and wakes up to an alarm in the morning. After walking around the room for a while and reaching the clothes on the floor, my character may fall asleep while I'm putting them on. This can last for 5 hours or indefinitely, until I reload the save.
I tried to explain it by saying that there's a scenario where the character "briefly wakes up" in the middle of the night and successfully falls back asleep. I can remember that, but not when you've been up for about half an hour.

Strange things are happening.
Fluffy89  [author] Oct 30 @ 3:15pm 
zzinga, thank you! :spiffo:

In the 'Sleep' context options tooltip, it'll show you your characters comfort level. The lower that is, the worse their sleep quality will be/the less fatigue and exertion you'll recover from sleeping.

If this is truly an incompatibility, and you find out which one was the cause in the future, please do report that in the future!
zzinga Oct 30 @ 1:53pm 
Hello, this mod is a very good and immersive idea, however I had to remove it from my list because I discovered it was conflicting with another mod and I couldn't figure out which one. It's simply making my character tired and sleepy forever, regardless of sleep quality or how much I sleep.
Fluffy89  [author] Oct 22 @ 10:17pm 
rawgu, got it, thanks for the info! :spiffo:
rawgu Oct 22 @ 8:12pm 
I think your mod still works completely fine just that there are 2 comfort tooltips - one from your mod and one I think from lifestyle. I havent noticed any actual issues - if I am snug as a bug I sleep great even if the other tooltip says poor :)
Fluffy89  [author] Oct 22 @ 5:34pm 
rawgu, potentially? Not entirely sure what Lifestyle does with its comfort, seems like its almost replacing the part of the tooltip for bed quality?
rawgu Oct 22 @ 9:07am 
Hiya, I am guessing this is a soft "incompatibility" with Lifestyle? https://imgur.com/a/rAeCCc2 - I mean the double comfort information
Fluffy89  [author] Oct 17 @ 10:00am 
eberkain, at the moment, I'm personally not too keen on implementing an outfit system or way to remove just the uncomfy stuff. I understand how adjusting outfits can become tedious, but implementing a system like that feels like its removing a core part of the mod and reducing it to simply just another button to press.

As for mods that do handle outfits, Easy Outfits and Clothing Preset are two I remember that implement an outfit system to Zomboid. Should do the job, but I have never used them so I cannot say for certain.
eberkain Oct 17 @ 1:30am 
love the concept, but the equpping and unequiping of everything every day is very tedious. do you know if there is a mod for setting up outfits, or is some kind of shortcut feature planned?
Fluffy89  [author] Oct 14 @ 6:05pm 
Vico, ah, I see. That could potentially have issues with the tooltip's wanting to overwrite each other. Once B42 is stable, I'll look into that a bit.

No worries at all! Not a waste of time, I'm here to help get the mod working properly for those who choose to install it :)
Vico Oct 14 @ 3:35pm 
@Fluffy89 I think i nailed the issue. This mod was on my list (i forgot when i added it tbh) and it was interfering with Comfy Sleeping (not showing the quality on the tooltip altogether). Now i disabled it and your mod is working correctly.

Sorry for wasting your time.
Fluffy89  [author] Oct 13 @ 5:59pm 
Vico, you're looking for 'comfort', should be just under the bit you read. What you read was the 'bed quality', this is determined by PZ and isn't influenced by my mod.

When you right click the bed, it'll show up when you hover over 'Sleep'. No clicking is required to see the tooltip beyond a single right click to bring up the context menu.

I can provide a screenshot or two in a few hours to help if that will help?
Vico Oct 13 @ 3:46pm 
Aslo even placing the pillow 1 tile north of where i clicked to sleep it didnt show in the tooltip. just "average".
Vico Oct 13 @ 3:45pm 
@Fluffy89, it was "average".

I think i got the grip of the mod. I finally made the moodlet dissapear by dropping all clothing and backpacks and made him sleep naked.
Fluffy89  [author] Oct 13 @ 10:09am 
Vico, what is the 'comfort' level reported under the 'Sleep' context option's tooltip when you hover over it?

A pillow must be within 1 tile of where the character is standing while sleeping to provide its comfort effect. You will know its close enough when the tooltip says ''Pillow Nearby: Yes'.
Vico Oct 12 @ 11:36pm 
I use this mod and simply can't get my character to lose his sleep and exertion moodlets no matter what. Also placing a pillow in a tile of the same bed he tries to sleep doesnt improve anything.
Fluffy89  [author] Oct 11 @ 7:46pm 
Takiki Kasekari, those features are out of scope for what I want to achieve with Comfy Sleeping. Passing time is already a vanilla feature in singleplayer.

Alarms, whether by watch or alarm clock, work as intended and wake the player up at the specified time. If not, that is a bug with vanilla that should be addressed game-wide and not through a patch by a mod.
Takaki Kasekari Oct 11 @ 7:33pm 
if you can add a feature to pass time and sleep at anytime even when you can't sleep just to pass time would be great. If you can also make options to choose to wake up properly cause I have seen the alarms and barely works properly.
Fluffy89  [author] Oct 10 @ 6:52am 
Tax, you're welcome! :spiffo:
✪ Tax Oct 10 @ 2:30am 
Wonderful, thank you
Fluffy89  [author] Oct 9 @ 7:12pm 
Tax, ah, gotcha.

You can make them the same, yes, just uncheck the sandbox option "Force Awake If Snug As A Bug", should be under the "Comfy Sleeping - General" tab in your sandbox options.
✪ Tax Oct 9 @ 12:20pm 
But regardless, is it possible to just make the maximum comfort sleeping the exact same as the 'ok' comfort sleeping?
✪ Tax Oct 9 @ 12:19pm 
What I meant is that if you sleep at the minimum fatigue required, yours sleep will be approx. 6 hours - tested this many times. Sure, if you go to sleep at maximum fatigue, it will last more - but the deafult minimal sleep time without counting traits is 6 hours
Fluffy89  [author] Oct 9 @ 8:56am 
Tax, could you explain the 'very short 6 hour default sleep time' part? I'm not aware of any 'default' sleep times as your character should continue to sleep for hours even after their fatigue stat reaches 0.

To answer the question though, you can disable being forced awake at low levels of fatigue (max comfort effectively prevents oversleeping). The option you're looking for should be 'forceAwakeIfSnug', should be in the 'ComfySleeping - General' tab in your sandbox options.

Hope this helps!
✪ Tax Oct 9 @ 4:38am 
Good day, is it possible to disable any bonuses from the maximum comfort sleeping? I feel like it makes the game easier, and I don't really want to shorten the already very short 6 hour default sleep time
Fluffy89  [author] Sep 26 @ 11:19am 
galkinzhenia, you're welcome! :spiffo:
galkinzhenia Sep 26 @ 11:15am 
Спасибо большое
Fluffy89  [author] Sep 26 @ 10:23am 
galkinzhenia, Comfy Sleeping seems to work as intended on build 42.12.
Fluffy89  [author] Sep 26 @ 9:58am 
Pemarces273, Comfy Sleeping itself doesn't adjust insulation or body temperature directly, that is determined by Zomboid itself.
Pemarces273 Sep 26 @ 1:45am 
hypothermia is happening almost everytime, wonder if it came from this mod.
galkinzhenia Sep 25 @ 9:31pm 
Проверте на совместимость 42.12
Fluffy89  [author] Sep 20 @ 5:53pm 
le criminologue, that whole thing of 'little things you do for your character that have no impact' was actually part of the inspiration for the mod! Glad you're enjoying it! :spiffo
le criminologue Sep 20 @ 5:26pm 
i've been cleaning my character and taking clothes off before bed as an irl routine now it has a real purpose in game lmao thanks a lot, one of the best mod with the one that says "snaaaaaake" when you die in mgs
Fluffy89  [author] Sep 6 @ 9:07am 
florii, unfortunately not. Hopefully its updated to B42, or at least a successor mod is uploaded.

You're welcome! :spiffo:
florii Sep 6 @ 6:33am 
Fluffy89, doesn't work on b42 but thank you for replying i kiss you on your forehead :steamhappy::steamhappy::spiffo:
Fluffy89  [author] Sep 5 @ 5:13pm 
florii, True Actions Act 1 & 2 is what adds the animations.
florii Sep 5 @ 12:44pm 
WHERE'S THE LYING ANIMATIONNN!!!?!?!??!111
Fluffy89  [author] Sep 4 @ 7:56am 
not_mg, you're welcome, best of luck! :spiffo:
not_mg Sep 4 @ 7:26am 
ok thanks I'll keep looking through my mods
Fluffy89  [author] Sep 4 @ 6:38am 
not_mg, it does not, no, at least not intentionally. The only thinfs I've made the character say would be things meant for debugging (like saying what they're wearing, a number, etc). Comfy Sleeping doesnt make them say any 'organic' dialogue though.
not_mg Sep 4 @ 6:35am 
does this mod add in player dialogue regarding comfort? I started playing zomboid again and for some reason my character has dialogue which basically narrates what he's experiencing, but it's really annoying and I don't like it and I have no idea which of my mods adds it in
Fluffy89  [author] Sep 3 @ 11:10am 
PotatoCat, what is the comfort level reported in the tooltip for the 'Sleep' context menu option? Should be just under where Zomboid tells you the bed quality.

What clothing (including if you're wearing a bag) are you wearing when you go to sleep? Do you have any weaponry equipped?
PotatoCat Sep 3 @ 6:10am 
I don't know why this mod causes my fatigue level to approach 70 infinitely when I'm sleeping and consumes my endurance, without any error logs popping up
Fluffy89  [author] Aug 31 @ 4:36pm 
TheKoris68, the exact number is not displayed to the player. Similar to a moodle, it instead shows a short description in the 'Sleep' context menu tooltip, just under where Zomboid tells you your bed quality.