others.lua 702 B

123456789101112131415161718192021222324
  1. local S = minetest.get_translator("building_blocks")
  2. minetest.register_craftitem("building_blocks:sticks", {
  3. description = S("Small bundle of sticks"),
  4. image = "building_blocks_sticks.png",
  5. on_place_on_ground = minetest.craftitem_place_item,
  6. })
  7. minetest.register_craftitem("building_blocks:tar_base", {
  8. description = S("Tar base"),
  9. image = "building_blocks_tar_base.png",
  10. })
  11. minetest.register_tool("building_blocks:knife", {
  12. description = S("Tar Knife"),
  13. inventory_image = "building_blocks_knife.png",
  14. tool_capabilities = {
  15. max_drop_level=0,
  16. groupcaps={
  17. choppy={times={[2]=7.50, [3]=2.80}, uses=100, maxlevel=1},
  18. fleshy={times={[2]=5.50, [3]=2.80}, uses=100, maxlevel=1}
  19. }
  20. },
  21. })