Advertisement
Guest User

awed

a guest
Mar 2nd, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.65 KB | None | 0 0
  1. -- This is the definition table.
  2. minetest.register_tool(name, desc, inv_img, mdrop, crack1, crack2, crack3, crum1, crum2, crum3, snap1, snap2,snap3, use, mlev, {
  3.     description = desc,
  4.     inventory_image = inv_img,
  5.     tool_capabilities = {
  6.         max_drop_level=mdrop,
  7.         groupcaps={
  8.             cracky={times={[1]=crack1, [2]=crack2, [3]=crack3}, uses=use, maxlevel=mlev},
  9.             crumbly={times={[1]=crum1, [2]=crum2, [3]=crum3}, uses=use, maxlevel=mlev},
  10.             snappy={times={[1]=snap, [2]=snap2, [3]=snap3}, uses=use, maxlevel=mlev}
  11.         }
  12.     },
  13. })
  14.  
  15. --Wood
  16. minetest.register_tool("megatools:shax_wood", "Wooden Shax", "megatools_shax_wood", 0, none, 2, 1.2, 2, .8, .5, 20, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement