224 lines
5.2 KiB
Lua
224 lines
5.2 KiB
Lua
|
|
beds.register_bed("beds:bed", {
|
|
description = "Red Bed",
|
|
inventory_image = "beds_bed.png",
|
|
wield_image = "beds_bed.png",
|
|
tiles = {
|
|
"beds_bed_red.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:red", "wool:red", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_blue", {
|
|
description = "Blue Bed",
|
|
inventory_image = "beds_blue.png",
|
|
wield_image = "beds_blue.png",
|
|
tiles = {
|
|
"beds_bed_blue.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:blue", "wool:blue", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_green", {
|
|
description = "Green Bed",
|
|
inventory_image = "beds_green.png",
|
|
wield_image = "beds_green.png",
|
|
tiles = {
|
|
"beds_bed_green.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:green", "wool:green", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_yellow", {
|
|
description = "Yellow Bed",
|
|
inventory_image = "beds_yellow.png",
|
|
wield_image = "beds_yellow.png",
|
|
tiles = {
|
|
"beds_bed_yellow.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:yellow", "wool:yellow", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_purple", {
|
|
description = "Purple Bed",
|
|
inventory_image = "beds_purple.png",
|
|
wield_image = "beds_purple.png",
|
|
tiles = {
|
|
"beds_bed_purple.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:violet", "wool:violet", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_orange", {
|
|
description = "Orange Bed",
|
|
inventory_image = "beds_orange.png",
|
|
wield_image = "beds_orange.png",
|
|
tiles = {
|
|
"beds_bed_orange.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:orange", "wool:orange", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_darkgreen", {
|
|
description = "Dark Green Bed",
|
|
inventory_image = "beds_darkgreen.png",
|
|
wield_image = "beds_darkgreen.png",
|
|
tiles = {
|
|
"beds_bed_darkgreen.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:dark_green", "wool:dark_green", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_cyan", {
|
|
description = "Cyan Bed",
|
|
inventory_image = "beds_cyan.png",
|
|
wield_image = "beds_cyan.png",
|
|
tiles = {
|
|
"beds_bed_cyan.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:cyan", "wool:cyan", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_grey", {
|
|
description = "Grey Bed",
|
|
inventory_image = "beds_grey.png",
|
|
wield_image = "beds_grey.png",
|
|
tiles = {
|
|
"beds_bed_grey.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:grey", "wool:grey", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_black", {
|
|
description = "Black Bed",
|
|
inventory_image = "beds_black.png",
|
|
wield_image = "beds_black.png",
|
|
tiles = {
|
|
"beds_bed_black.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:black", "wool:black", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_white", {
|
|
description = "White Bed",
|
|
inventory_image = "beds_white.png",
|
|
wield_image = "beds_white.png",
|
|
tiles = {
|
|
"beds_bed_white.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:white", "wool:white", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_magenta", {
|
|
description = "Magenta Bed",
|
|
inventory_image = "beds_magenta.png",
|
|
wield_image = "beds_magenta.png",
|
|
tiles = {
|
|
"beds_bed_magenta.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:magenta", "wool:magenta", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_brown", {
|
|
description = "Brown Bed",
|
|
inventory_image = "beds_brown.png",
|
|
wield_image = "beds_brown.png",
|
|
tiles = {
|
|
"beds_bed_brown.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:brown", "wool:brown", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_darkgrey", {
|
|
description = "Dark Grey Bed",
|
|
inventory_image = "beds_darkgrey.png",
|
|
wield_image = "beds_darkgrey.png",
|
|
tiles = {
|
|
"beds_bed_darkgrey.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:dark_grey", "wool:dark_grey", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
beds.register_bed("beds:bed_pink", {
|
|
description = "Pink Bed",
|
|
inventory_image = "beds_pink.png",
|
|
wield_image = "beds_pink.png",
|
|
tiles = {
|
|
"beds_bed_pink.png"
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"wool:pink", "wool:pink", "wool:white"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|
|
|
|
-- Aliases for PilzAdam's beds mod
|
|
|
|
minetest.register_alias("beds:bed_bottom_red", "beds:bed_bottom")
|
|
minetest.register_alias("beds:bed_top_red", "beds:bed_top")
|
|
|
|
-- Fuel
|
|
|
|
minetest.register_craft({
|
|
type = "fuel",
|
|
recipe = "beds:bed_bottom",
|
|
burntime = 12,
|
|
})
|