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:
8
api.txt
8
api.txt
@ -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"
|
||||
------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user