Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This is the definition table.
- minetest.register_tool(name, desc, inv_img, mdrop, crack1, crack2, crack3, crum1, crum2, crum3, snap1, snap2,snap3, use, mlev, {
- description = desc,
- inventory_image = inv_img,
- tool_capabilities = {
- max_drop_level=mdrop,
- groupcaps={
- cracky={times={[1]=crack1, [2]=crack2, [3]=crack3}, uses=use, maxlevel=mlev},
- crumbly={times={[1]=crum1, [2]=crum2, [3]=crum3}, uses=use, maxlevel=mlev},
- snappy={times={[1]=snap, [2]=snap2, [3]=snap3}, uses=use, maxlevel=mlev}
- }
- },
- })
- --Wood
- 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