Minetest tool ranks mod
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.


minetest-toolranks [toolranks]

Minetest tool ranks mod

Tools gain levels for digging nodes. Higher level tools dig faster and take longer to wear out.

Are you a mod developer?

Does one of your mods add new tools? If so, to support this mod, add this code to your mod, after your tool's code:

if minetest.get_modpath("toolranks") then
    minetest.override_item("mymod:mytool", {
        original_description = "My Tool",
        description = toolranks.create_description("My Tool", 0, 1),
        after_use = toolranks.new_afteruse

Or alternatively, you can use the helper function: