Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.register_tool("harrytest:wand", {
- description = "Magic Wand",
- inventory_image = "wand.png",
- tool_capabilities = {
- full_punch_interval = 1.0,
- max_drop_level=1,
- groupcaps={
- fleshy={times={[1]=2.00, [2]=0.80, [3]=0.40}, uses=10, maxlevel=2},
- snappy={times={[2]=0.70, [3]=0.30}, uses=40, maxlevel=1},
- choppy={times={[3]=0.70}, uses=40, maxlevel=0}
- }
- }
- on_use = function(itemstack, user, pointed_thing)
- minetest.env:set_node(pointed_thing.above, {name="default:water_source"})
- end
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement