init.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. -- Override the attributes for beds:fancy_bed_bottom.
  2. minetest.override_item("beds:fancy_bed_bottom", {
  3. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, fall_damage_add_percent=-40, bouncy=85},
  4. sounds = {
  5. footstep = { name = "bouncy", gain = 0.8 },
  6. dig = { name = "default_dig_oddly_breakable_by_hand", gain = 1.0 },
  7. dug = { name = "default_dug_node", gain = 1.0 },
  8. }
  9. })
  10. -- Override the attributes for beds:fancy_bed_top.
  11. minetest.override_item("beds:fancy_bed_top", {
  12. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 2, fall_damage_add_percent=-40, bouncy=85},
  13. sounds = {
  14. footstep = { name = "bouncy", gain = 0.8 },
  15. dig = { name = "default_dig_oddly_breakable_by_hand", gain = 1.0 },
  16. dug = { name = "default_dug_node", gain = 1.0 },
  17. }
  18. })
  19. -- Override the attributes for beds:bed_bottom.
  20. minetest.override_item("beds:bed_bottom", {
  21. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 1, fall_damage_add_percent=-40, bouncy=85},
  22. sounds = {
  23. footstep = { name = "bouncy", gain = 0.8 },
  24. dig = { name = "default_dig_oddly_breakable_by_hand", gain = 1.0 },
  25. dug = { name = "default_dug_node", gain = 1.0 },
  26. }
  27. })
  28. -- Override the attributes for beds:bed_top.
  29. minetest.override_item("beds:bed_top", {
  30. groups = {choppy = 2, oddly_breakable_by_hand = 2, flammable = 3, bed = 2, fall_damage_add_percent=-40, bouncy=85},
  31. sounds = {
  32. footstep = { name = "bouncy", gain = 0.8 },
  33. dig = { name = "default_dig_oddly_breakable_by_hand", gain = 1.0 },
  34. dug = { name = "default_dug_node", gain = 1.0 },
  35. }
  36. })