init.lua 650 B

12345678910111213141516171819202122232425262728293031323334
  1. -- Register the hand tool
  2. minetest.register_item(":", {
  3. type = "none",
  4. wield_image = "wieldhand.png",
  5. wield_scale = {x = 1, y = 1, z = 4},
  6. tool_capabilities = {
  7. full_punch_interval = 0.9,
  8. max_drop_level = 0,
  9. groupcaps = {
  10. crumbly = {
  11. times = {[2] = 3.00, [3] = 0.70},
  12. uses = 0,
  13. maxlevel = 1,
  14. },
  15. snappy = {
  16. times = {[3] = 0.40},
  17. uses = 0,
  18. maxlevel = 1,
  19. },
  20. deconstructable = {
  21. times = {[1] = 7, [2] = 5, [3] = 2.5},
  22. uses = 0,
  23. maxlevel = 1,
  24. },
  25. oddly_breakable_by_hand = {
  26. times = {[1] = 3.50, [2] = 2.00, [3] = 0.70},
  27. uses = 0,
  28. },
  29. },
  30. damage_groups = {fleshy = 1},
  31. }
  32. })