1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-06-28 06:30:18 +02:00

add ability to read 'looting_level' from tool definition and meta for extra drops

This commit is contained in:
tenplus1
2022-11-15 10:39:59 +00:00
parent b0df8145bd
commit 5c9e057ad1
3 changed files with 31 additions and 5 deletions

View File

@ -715,6 +715,14 @@ This function returns true if the node name given is harmful to the mob (mob_obj
it is mainly used when a mob is near a node it has to avoid.
Looting Level
-------------
If a tool is used with 'looting_level' defined under tool_capabilities then mobs can drop
extra items per level up to a maximum of 3 levels. 'looting_level' can also be read from
the tools own meta to override the default.
External Settings for "minetest.conf"
------------------------------------