Adds ranking to tools making the more used and repaired last longer (this is a fork)
MoNTE48 5358dd4eb1 Update 'init.lua' | 5 years ago | |
---|---|---|
sounds | 5 years ago | |
README.md | 5 years ago | |
depends.txt | 5 years ago | |
init.lua | 5 years ago | |
license.txt | 5 years ago | |
mod.conf | 5 years ago |
Minetest tool ranks mod
https://github.com/lisacvuk/minetest-toolranks
Tool gains levels for digging nodes. Higher level tools take longer to wear out.
Does one of your mods add new tools?
If so, to support this mod, check if it is loaded with
minetest.get_modpath("toolranks")
and then replace all after_use definitions with toolranks.new_afteruse.
Optionaly, you can also replace tools description with
toolranks.create_description("Tool Name", 0, 1)
and then set original_description to your tools name.
Yep, this is a simplified version of toolranks with lesser dependencies.