mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-06-28 06:30:18 +02:00
add mobs:is_node_dangerous(self, nodename) global function
This commit is contained in:
6
api.txt
6
api.txt
@ -691,6 +691,12 @@ space to spawn mob [name], if so then a new position is returned for use,
|
||||
otherwise nil is returned.
|
||||
|
||||
|
||||
mobs:is_node_dangerous(self, nodename)
|
||||
|
||||
This function returns true if the node name given is harmful to the mob (self), it is
|
||||
mainly used when a mob is near a node it has to avoid.
|
||||
|
||||
|
||||
External Settings for "minetest.conf"
|
||||
------------------------------------
|
||||
|
||||
|
Reference in New Issue
Block a user