Go to file
OgelGames 4c1092a191 Remove `moreores` support to fix circular dependencies (#7)
* remove moreores support/dependency

* tidy tool override code

modified code from TenPlus1's fork: 475d844938
2020-01-01 21:56:32 +01:00
sounds -Add a sound when tool levels up 2017-07-27 15:21:03 +02:00
README.md Move all functions to toolranks table; in order to allow mod developers to add support for their mod. Updated readme. 2017-07-13 15:12:49 +02:00
depends.txt Remove `moreores` support to fix circular dependencies (#7) 2020-01-01 21:56:32 +01:00
init.lua Remove `moreores` support to fix circular dependencies (#7) 2020-01-01 21:56:32 +01:00
mod.conf Create mod.conf 2019-03-14 09:29:17 +00:00

README.md

minetest-toolranks

Minetest tool ranks mod

Tool gains levels for digging nodes. Higher level tools take longer to wear out.

Are you a mod developer?

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.