Page 1 of 3

[Mod] Bed [0.1] [beds]

PostPosted: Wed Mar 28, 2012 17:32
by bgsmithjr
A blue bed two blocks long that changes the time to dawn when all players are in bed.
I changed the inventory images to the bed without shadows.
NOTE: You have to bed standing on the bed to change to daylight.
License: WTFPL
Mod dependencies: default

Download:
Link broken until further notice.
Screenshots:
Image
Image

PostPosted: Wed Mar 28, 2012 17:33
by sfan5
Nice!
But you should make a different Bed Texture for the Inventory

BTW: Should I move this to Mod Releases?

PostPosted: Wed Mar 28, 2012 17:41
by Jordach
Finally, beds!

PostPosted: Wed Mar 28, 2012 18:06
by Death Dealer
bgsmithjr wrote:A blue bed two blocks long that changes the time to dawn when all players are in bed.
License: WTFPL
Mod dependencies: default

Download:
http://www.filedropper.com/beds_2
Screenshots:
Image
Image

:D nice

PostPosted: Wed Mar 28, 2012 18:14
by bgsmithjr
thanks

PostPosted: Wed Mar 28, 2012 18:25
by bgsmithjr
I changed the inventory image, I removed the shadows.

PostPosted: Wed Mar 28, 2012 18:27
by bgsmithjr
sfan5 wrote:Nice!
But you should make a different Bed Texture for the Inventory

BTW: Should I move this to Mod Releases?


Sure

PostPosted: Wed Mar 28, 2012 18:47
by Gilli
Hellobgsmithjr,

Thank you, you're amazing, really !

PostPosted: Wed Mar 28, 2012 19:04
by sfan5
Topic Moved!

PostPosted: Wed Mar 28, 2012 19:04
by bgsmithjr
Thanks

PostPosted: Wed Mar 28, 2012 20:03
by frogcrush
I can't get this to work; I copied the folder to my /mods directory and try making one but nothing happens. I am running 0.4 dev 20120320

PostPosted: Wed Mar 28, 2012 20:16
by bgsmithjr
are you connecting to a server?
open debug.txt, it should be next to the minetest executable and find [LUA ERROR] or [beds] and send me the text.

PostPosted: Wed Mar 28, 2012 20:22
by sfan5
frogcrush wrote:I can't get this to work; I copied the folder to my /mods directory and try making one but nothing happens. I am running 0.4 dev 20120320

I think the Mods should be in mods/minetest not mods

PostPosted: Wed Mar 28, 2012 20:32
by bgsmithjr
sfan5 saves the day.

PostPosted: Wed Mar 28, 2012 20:45
by cosarara97
I think they should be in mods/mesetint, not mods/minetest :D

PostPosted: Wed Mar 28, 2012 20:50
by bgsmithjr
cosarara97 wrote:I think they should be in mods/mesetint, not mods/minetest :D

he said he is using version from 03/20/2012, on that version they are located in ... minetest-dir/mods/mesetint.

PostPosted: Wed Mar 28, 2012 21:11
by Scott
how do i get in it?

PostPosted: Wed Mar 28, 2012 21:27
by bgsmithjr
What are you referring to?

PostPosted: Wed Mar 28, 2012 22:05
by jordan4ibanez
BG make a note: you have to stand on the bed to be

PostPosted: Thu Mar 29, 2012 00:46
by Scott
Lov this mod! btw, is there any way to turn the bed?

PostPosted: Thu Mar 29, 2012 00:54
by Death Dealer
wow this is way cooler than i thought:D sets time and its two block. but it should be a punch activate time set. and also i found a bug. if you put it in a hole with just one block it says server error not enough room then just takes the bed.
edit: ok sorry it is punch activated

PostPosted: Thu Mar 29, 2012 00:55
by LolManKuba
This works but it takes a while when you go to bed and wake up, which takes about 1 minute.

PostPosted: Thu Mar 29, 2012 02:10
by JoseMing
23:08:25: ERROR[ServerThread]: ERROR: An unhandled exception occurred: LuaError: error: ...-20120122-1-win32\bin\..\data\mods\beds/sleeping.lua:29: attempt to call method 'set_timeofday' (a nil value)
23:08:25: ERROR[ServerThread]: stack traceback:

ammm why that send me this error¿?

PostPosted: Thu Mar 29, 2012 07:14
by Jordach
JoseMing wrote:23:08:25: ERROR[ServerThread]: ERROR: An unhandled exception occurred: LuaError: error: ...-20120122-1-win32\bin\..\data\mods\beds/sleeping.lua:29: attempt to call method 'set_timeofday' (a nil value)
23:08:25: ERROR[ServerThread]: stack traceback:

ammm why that send me this error¿?

out of date client. you need the latest build, ill email you with it in a link. (compiled from source)

PostPosted: Thu Mar 29, 2012 12:41
by bgsmithjr
noted added. Change the directory you are facing to change the direction of the bed. it is always one block in front of you and one to the left. Nevermind I see, if you change the way you are facing it puts one on the right instead.