Project Zomboid

Project Zomboid

Beds Have Blankets
249 Comments
Ящір інквізитор 20 Aug @ 10:47am 
Sorry, but how do i place the blanket onto the bed?/ I can only place the folded version of it and im a bit confused
Barc 18 Aug @ 10:06am 
@gunslinger Yes it is a transparent line, giving the appearance that the bed is split in half.

I've now upgraded to the new version so no issues for me now, great work!
gunslinger  [author] 17 Aug @ 12:53pm 
@Barc there is no issues with swapping between. Large line? Is it transparent?

@Yusei no atm it gives the same comfort as having a pillow
Barc 15 Aug @ 9:24pm 
Using the old version of this mod, is it safe to remove and upgrade to this new one? Id stay on the old one but there's a large line running through most of the beds on that version
Yusei 遊星 矢本 12 Aug @ 2:13pm 
do the blanket warm you by any chance?
NalMac 8 Aug @ 5:12am 
@_BlueLobster_ yep.
_BlueLobster_ 7 Aug @ 8:37pm 
Does this work in multiplayer?
FeFePlay 3 Aug @ 2:26pm 
hey man, could you make the textures of the blankets to be little bit messy? everything on every house is perfect and clean
Cosmo 23 Jul @ 12:05am 
@gunslinger :steamthumbsup:
gunslinger  [author] 22 Jul @ 6:37pm 
@SIMBAproduz I'm not sure what you mean but i am willing to collaborate on some things but i am very busy. My attention is usually on mods i'm interested in or ones i'm being paid for. I have put up a guide on the github in the template folder of the B42 branch.

@Cosmo thanks for the heads up, i think something with scripts changed since i made them. i have this fixed and the devs should have the server fix up soon they just updated it and had to revert back again
Cosmo 22 Jul @ 3:54pm 
@gunslinger roger that
gunslinger  [author] 22 Jul @ 3:47pm 
@Cosmo that's not intended. I'm not sure what broke it but i'm looking at it now. unfortunately until
TIS fixes server issues i'll be holding off on updating this since it may break the mod for any servers using it
Cosmo 22 Jul @ 9:50am 
Hey @gunslinger There is a recipe: Saw some pattern into blanket but its spend resources and gives nothing. Blanket is disheartening. Build 42
SIMBAproduz 21 Jul @ 10:09pm 
No rush ma friend.
Thank you so much for this.
Zomboid is a sea of content, right?
And these physical interactions with viewers can become a very special engagement. If you want to explore these ideas further, let's be friends 🤘
gunslinger  [author] 21 Jul @ 7:38pm 
I've thought of making a sort of api for making custom blankets but never thought anyone would be interested. For now , probably tomorrow, I'll get the images on the github and add a txt with some instructions.
SIMBAproduz 21 Jul @ 6:16pm 
Wow, that would be great, friend.
I'll understand better how to do this and try to create an adoon to share with everyone too.
I just didn't want to give you any more work.
The mod as it is is already impeccable, I just keep inventing new ideias for no reason 😂
gunslinger  [author] 21 Jul @ 5:21pm 
Yeah you need tilezed to create the properties and the pack file. An important note: the mod picks it's tile based on the sprite number which lines up with the original beds tile sheet. That is to say when making a custom blanket you need to start with the vanilla tilesheet and modify the beds and keep them in the same position. The sprites I used are in the pack but I don't think they can be unpacked in the proper arrangement. I can put up the .pngs on the github so you have a proper template
SIMBAproduz 21 Jul @ 11:21am 
So, I'm kind of clueless about this.
I tried to find the textures in the files, but they're all in .pack, right?
Would I need to use software to create maps?
gunslinger  [author] 21 Jul @ 10:48am 
@SIMBAproduz you can do whatever you want. Making a single blanket requires a sprite for every square of a bed and every direction it can face,just so you know
SIMBAproduz 21 Jul @ 12:26am 
Your mod provides a genuinely more lively experience, thank you for that @gunslinger. In fact, I do live and produce content, and somehow, could I customize and customize the textures of the blankets? It would be nice to pay tribute to my favorite mod creators, streamers who influenced me and even a treat for subscribers and subs 😍
gunslinger  [author] 18 Jul @ 8:44am 
@making it wearable would be cool. I'm just not confident in my ability to make a good model for it. Also a unique texture is needed for every variant and that sucks to do
mark.savvas 15 Jul @ 6:12am 
is there a way to add an insulation property and make the blanket wearable?
would be handy for cryogen winter mods etc
Intequr 1 Jul @ 11:17pm 
How do I put blankets on the bed, I see no context menu option
gunslinger  [author] 2 Jun @ 9:52pm 
@Nerd.Gamer.Dave there are full descriptions in the mod info for each one. i suppose when adding to a server you don't see this. Only blankets is needed if you want them to be removable the others are just static textures
Jane Helldiver 2 Jun @ 8:37pm 
My need clearer install instructions as there are 3 Mod ID:s.

Just "blankets" is the full mod with removable blankets? and do we need "Bedding Covers-With Pillows" as well?
NalMac 28 May @ 3:36pm 
@p6kocka It is and imo they pair nicely together.
p6kocka 27 May @ 11:48am 
Just curious. WOuld your mod be compatible with Mandarin's Bedding mod pelase? It spawns beddings and pillows in containers (not as beddings on beds)
gunslinger  [author] 26 May @ 7:14am 
No just one mod active
p6kocka 26 May @ 7:11am 
I just want to have beds with blankets and pillows. Don' t care if it's not removable.
p6kocka 26 May @ 7:06am 
So for beds with blankets AND pillows (not removable) I have to activate:

Blankets B42
Bedding Covers-no pillows
???
gunslinger  [author] 26 May @ 6:51am 
@p6kocka that's it's own thing. If you just want blankets on the beds with pillows but not removeable. It just replaces all the bed sprites with unchangeable sprites
p6kocka 26 May @ 6:23am 
Is the Bedding Covers-With Pillows option a submod for the main Blankets mod? Or it´s just for B41?
10 of Hearts 20 May @ 7:37pm 
Thanks for the super quick fix! :D
gunslinger  [author] 20 May @ 5:48pm 
@10 of Hearts fantastic. they've added more parameters to a thing. ill have this fixed soon
10 of Hearts 20 May @ 9:29am 
Hello! New PZ update just dropped and I noticed an error originating from your mod :) When the player sleeps on a bed with a blanket:

function: getBedQuality -- file: ISWorldObjectContextMenu.lua line # 5853 | Vanilla
function: OnSleepingTick -- file: BlanketObjects_OnSleep.lua line # 15 | MOD: Blankets for beds.
[20-05-25 12:20:05.456] ERROR: General f:1926, t:1747758005456> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: Object tried to call nil in getBedQuality at KahluaUtil.fail(KahluaUtil.java:100).


Thank you for your contributions! (I can provide the stack trace if you need it)
Rusty #DopeRust 9 May @ 11:28am 
@gunslinger, @Poltergeist, firstly, thank you for sharing your work with the community of PZ, have been using this mod since the past build, awesome work.

Secondly, i just tested the mod on a new save with the latest version, and i dont have kind of errors, working as expected.

For those that go to the mod's comments section saying the mod gave them errors and "broke" their game, should learn how to make a proper report before, this way at least they can give a chance to the owners of fixing it, instead of chasing "ghost's".

Cheers.
Still Pond 9 May @ 10:44am 
Slept in a bed, was nice and comfy with 800 errors keeping me warm.
gunslinger  [author] 8 May @ 5:49pm 
@p6kocka this should now be fixed
p6kocka 8 May @ 7:39am 
I´ve just slept on a hay and I´ve again gotten like more than 2000 errors
gunslinger  [author] 7 May @ 3:13pm 
@Ismællö the previous issues should be fixed and the spawn rate should work as well
p6kocka 7 May @ 1:16pm 
No errors anymore. Thank you
Ismællö 7 May @ 8:44am 
Did you also revert the changes to the spawn rate? I was trying to see if it worked correctly now but it doesn't seem to be fixed. Thanks for the quick update tho, I'll wait for the fix again :)
gunslinger  [author] 7 May @ 7:04am 
Lol mb I'll revert and fix it again later
p6kocka 7 May @ 1:47am 
It gives 1000 errors when sleeping.
gunslinger  [author] 7 May @ 12:12am 
@Ismællö i think i fixed the spawn rate issue. ive uploaded a fix for it
gunslinger  [author] 6 May @ 8:01pm 
@Ismællö i dont think i tested enough il look into what is causing this

@Garry G Man the blanket needs to be in your inventory and open context on the bed. i do not know if custom inventories will work, i would think they should

@p6kocka right now it does not but i am working on updates for this and i think ill add this next
p6kocka 6 May @ 11:21am 
Does a blanket give any positive buff ?
Garry G Man 6 May @ 9:07am 
@gunslinger I do not see that context option as you have said. Do I have to have the bed in my inventory? Also do custom inventories just not work with this?
Ismællö 5 May @ 5:27pm 
The only way I found to actually make it to 100% spawn is setting the pattern chance to 100% too, but I do not want the patterns
Ismællö 5 May @ 4:46pm 
Even after setting spawn chance to 100 almost no bed spawns with a blanket, is that a know bug or is it just me?