1
0
mirror of https://github.com/lisacvuk/minetest-toolranks.git synced 2024-11-16 15:00:21 +01:00
minetest-toolranks/README.md

15 lines
523 B
Markdown
Raw Normal View History

2017-07-09 17:39:47 +02:00
# minetest-toolranks
Minetest tool ranks mod
2017-07-10 13:08:07 +02:00
Tool gains levels for digging nodes. Higher level tools take longer to
2017-07-10 13:08:07 +02:00
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.