SHARE
TWEET

Untitled

a guest Mar 2nd, 2013 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     -- This is the definition table.
  2. function register_tool2(name, desc, inv_img, mdrop, crack1, crack2, crack3, crum1, crum2, crum3, snap1, snap2,snap3, use, mlev)
  3. minetest.register_tool(name, {
  4.             description = desc,
  5.             inventory_image = inv_img,
  6.             tool_capabilities = {
  7.                     max_drop_level=mdrop,
  8.                     groupcaps={
  9.                             cracky={times={[1]=crack1, [2]=crack2, [3]=crack3}, uses=use, maxlevel=mlev},
  10.                             crumbly={times={[1]=crum1, [2]=crum2, [3]=crum3}, uses=use, maxlevel=mlev},
  11.                             snappy={times={[1]=snap, [2]=snap2, [3]=snap3}, uses=use, maxlevel=mlev}
  12.                     }
  13.             },
  14.     })
  15.      
  16.     --Wood
  17.     register_tool2("megatools:shax_wood", "Wooden Shax", "megatools_shax_wood", 0, none, 2, 1.2, 2, .8, .5, 20, 1)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top