2015-03-03 21:01:25 +01:00
|
|
|
-- fancy shaped bed
|
|
|
|
beds.register_bed("beds:fancy_bed", {
|
|
|
|
description = "Fancy Bed",
|
|
|
|
inventory_image = "beds_bed_fancy.png",
|
|
|
|
wield_image = "beds_bed_fancy.png",
|
2015-04-11 23:12:27 +02:00
|
|
|
tiles = {"fancy_bed.png", "default_wood.png"},
|
|
|
|
mesh = "fancy_bed.obj",
|
|
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.1875, 1.5},
|
|
|
|
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0, 1.5},
|
2015-03-03 21:01:25 +01:00
|
|
|
recipe = {
|
2015-03-12 18:42:18 +01:00
|
|
|
{"", "", "group:stick"},
|
|
|
|
{"wool:red", "wool:red", "wool:white"},
|
2015-03-03 21:01:25 +01:00
|
|
|
{"group:wood", "group:wood", "group:wood"},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- simple shaped bed
|
|
|
|
beds.register_bed("beds:bed", {
|
|
|
|
description = "Simple Bed",
|
|
|
|
inventory_image = "beds_bed.png",
|
|
|
|
wield_image = "beds_bed.png",
|
2015-04-11 23:12:27 +02:00
|
|
|
tiles = {"simple_bed.png"},
|
|
|
|
mesh = "simple_bed.obj",
|
2015-03-03 21:01:25 +01:00
|
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
2015-04-11 23:12:27 +02:00
|
|
|
collisionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
2015-03-03 21:01:25 +01:00
|
|
|
recipe = {
|
|
|
|
{"wool:red", "wool:red", "wool:white"},
|
|
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
|
|
},
|
|
|
|
})
|
|
|
|
|
|
|
|
-- aliases for PA's beds mod
|
|
|
|
minetest.register_alias("beds:bed_bottom_red", "beds:bed_bottom")
|
|
|
|
minetest.register_alias("beds:bed_top_red", "beds:bed_top")
|