mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-11-13 22:43:43 +01:00
35 lines
832 B
Lua
35 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"}
|
|
},
|
|
})
|