ghost_hand.lua 507 B

1234567891011121314151617181920
  1. local digtime = 0.15
  2. local caps = {times = {digtime, digtime, digtime}, uses = 0, maxlevel = 0}
  3. minetest.register_craftitem("limbo_respawning:ghost_hand",
  4. {
  5. wield_image = "limbo_respawning_ghost_hand.png",
  6. range = 0,
  7. groups = {not_in_creative_inventory = 1},
  8. tool_capabilities = {
  9. full_punch_interval = 10,
  10. groupcaps = {
  11. crumbly = caps,
  12. cracky = caps,
  13. snappy = caps,
  14. choppy = caps,
  15. oddly_breakable_by_hand = caps,
  16. },
  17. damage_groups = {fleshy = 0},
  18. },
  19. })