mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-24 18:05:09 +00:00
34 lines
832 B
Lua
34 lines
832 B
Lua
-- Simple shaped bed
|
|
|
|
beds.register_bed("beds:bed", {
|
|
description = "Bed",
|
|
inventory_image = "beds_bed.png",
|
|
wield_image = "beds_bed.png",
|
|
tiles = {
|
|
bottom = {
|
|
"beds_bed_top_bottom.png^[transformR90",
|
|
"default_wood.png",
|
|
"beds_bed_side_bottom_r.png",
|
|
"beds_bed_side_bottom_r.png^[transformfx",
|
|
"blank.png",
|
|
"beds_bed_side_bottom.png"
|
|
},
|
|
top = {
|
|
"beds_bed_top_top.png^[transformR90",
|
|
"default_wood.png",
|
|
"beds_bed_side_top_r.png",
|
|
"beds_bed_side_top_r.png^[transformfx",
|
|
"beds_bed_side_top.png",
|
|
"blank.png",
|
|
}
|
|
},
|
|
nodebox = {
|
|
bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
|
top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
|
|
},
|
|
selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
|
|
recipe = {
|
|
{"group:wool", "group:wool", "group:wool"},
|
|
{"group:wood", "group:wood", "group:wood"}
|
|
},
|
|
})
|