beds.lua 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. beds.register_bed("beds:bed", {
  2. description = "Bed",
  3. inventory_image = "beds_bed.png",
  4. wield_image = "beds_bed.png",
  5. tiles = {
  6. bottom = {
  7. "beds_bed_top_bottom.png^[transformR90",
  8. "beds_bed_under.png",
  9. "beds_bed_side_bottom_r.png",
  10. "beds_bed_side_bottom_r.png^[transformfx",
  11. "beds_bed_under.png",
  12. "beds_bed_side_bottom.png"
  13. },
  14. top = {
  15. "beds_bed_top_top.png^[transformR90",
  16. "beds_bed_under.png",
  17. "beds_bed_side_top_r.png",
  18. "beds_bed_side_top_r.png^[transformfx",
  19. "beds_bed_side_top.png",
  20. "beds_bed_under.png",
  21. }
  22. },
  23. nodebox = {
  24. bottom = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
  25. top = {-0.5, -0.5, -0.5, 0.5, 0.06, 0.5},
  26. },
  27. selectionbox = {-0.5, -0.5, -0.5, 0.5, 0.06, 1.5},
  28. recipe = {
  29. {"wool:white", "wool:white", "wool:white"},
  30. {"group:wood", "group:wood", "group:wood"}
  31. },
  32. })
  33. -- Fuel
  34. minetest.register_craft({
  35. type = "fuel",
  36. recipe = "beds:bed_bottom",
  37. burntime = 12,
  38. })