Page 1 of 1

[Mod] Beds Plus [1.1] [beds_plus]

PostPosted: Wed May 06, 2015 03:44
by blert2112
Ok, here we go again... Who needs a massive selection of bed types and colors?... My kids, that's who. So, I cobbled this together for them and figured I would share it with you folks.

Beds Plus [beds_plus] v1.1
    - Adds all (default) dye colored beds, Simple and Fancy, based on the originals from the Beds mod.
    - Adds a few special beds.
    - Overrides the descriptions of the beds from BlockMen's Beds mod so they are in line with the rest of the beds {ex: "Fancy Bed (red)" instead of just "Fancy Bed"}.
    - There are crafting recipes for all beds.

Download
zip file... https://github.com/blert2112/beds_plus/ ... master.zip
github... https://github.com/blert2112/beds_plus
***rename folder to "beds_plus" if necessary***

Dependancies
    - Default
    - Wool
    - Beds v1.1.1 by BlockMen modified by JP (very important to have the correct version here, it needs to be the one with JP's bed models). Here's where to get it... viewtopic.php?f=9&t=11817#p175796

To do
    - Tweak the collision boxes of the original beds. Override_item() doesn't seem to work with a fixed collision box.
    - Improve the textures. I suck at graphics.
    - Possibly add some more special beds.

Thanks to
    - BlockMen and his Beds mod.
    - JP and his new mesh object beds w/ textures.
    - Esteban... Nyan and Oerkki bits ripped straight off the hoods of his Car mod.

    Enjoy

Re: [Mod] Beds Plus [1.0] [beds_plus]

PostPosted: Wed May 06, 2015 08:50
by Morn76
blert2112 wrote: but you can't just right click to place a bed on top. Place the first bed near a wall and then place the top bed by clicking the wall just above the bottom bed, you could also build a temporary 'wall' to place the beds and then remove it.

Shift (crouch)-right clicking would work, wouldn't it? The same way you e.g. put buttons on dispensers or a chest on a chest or other nodes that override right-click…

Re: [Mod] Beds Plus [1.0] [beds_plus]

PostPosted: Wed May 06, 2015 16:34
by blert2112
I recall testing to see if that worked and it didn't. I will take a look later tonight to see if there is something I can do about it.

Re: [Mod] Beds Plus [1.1] [beds_plus]

PostPosted: Thu May 07, 2015 04:18
by blert2112
updated
- Removed the support for the "homedecor" mod beds as a recent update to that mod has made those beds working without external help.

Re: [Mod] Beds Plus [1.1] [beds_plus]

PostPosted: Thu May 07, 2015 22:05
by lightonflux
Does work with minetest_game and minetest from git.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
2015-05-08 00:03:13: ERROR[main]: ========== ERROR FROM LUA ===========
2015-05-08 00:03:13: ERROR[main]: Failed to load and run script from
2015-05-08 00:03:13: ERROR[main]: /home/lof/.minetest-dev/bin/../mods/beds_plus/init.lua:
2015-05-08 00:03:13: ERROR[main]: ...inetest-dev/bin/../games/minetest_game/mods/beds/api.lua:15: attempt to index field 'nodebox' (a nil value)
2015-05-08 00:03:13: ERROR[main]: stack traceback:
2015-05-08 00:03:13: ERROR[main]:       ...inetest-dev/bin/../games/minetest_game/mods/beds/api.lua:15: in function 'register_bed'
2015-05-08 00:03:13: ERROR[main]:       /home/lof/.minetest-dev/bin/../mods/beds_plus/init.lua:29: in main chunk

Re: [Mod] Beds Plus [1.1] [beds_plus]

PostPosted: Fri May 08, 2015 02:13
by blert2112
Spent the day at Aquatica today so I am dead tired. I will try to look at it tomorrow.

Re: [Mod] Beds Plus [1.1] [beds_plus]

PostPosted: Fri May 08, 2015 19:50
by blert2112
ok... this is caused because you need a specific version of the Beds mod. What is odd is I can't find a download for it. The downloads I can find look like the correct code but the models are missing. I can't remember where I got the version I am using from but I will keep looking and update the OP with a link to it as soon as I find it. If I can't find it then I will turn this into a modpack and include the appropriate Beds mod with it.

edit: found it... check the OP.. here's a link for the lazy ;)
JP's modified Beds mod.
viewtopic.php?f=9&t=11817#p175796