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

add on_sound node support and example.

This commit is contained in:
tenplus1
2024-10-02 14:57:07 +01:00
parent 1dd81eb008
commit f4861ced2a
6 changed files with 81 additions and 5 deletions

View File

@ -357,6 +357,14 @@ enhance mob functionality and have them do many interesting things:
'max_hear_distance' max distance sound can be heard from source.
Hearing Nodes
-------------
If a node has the {on_sound = 1} group and an on_sound() function set as above then
nodes within 8 blocks of a sound will be activated and the function run. Check the
"mobs:hearing_vines" node as an example which has mesecons support when active.
Internal Variables
------------------