From 8b3eaf5b05379f995bf8d55532c107b190848a69 Mon Sep 17 00:00:00 2001 From: Elias Fleckenstein Date: Mon, 30 Nov 2020 11:20:07 +0100 Subject: Lua API: Particle callbacks; Add NoWeather --- doc/client_lua_api.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 9ce553ca1..5618c7a6f 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -755,10 +755,14 @@ Call these functions only at load time! * Called when recieving physics_override from server * Newest functions are called first * If any function returns true, the physics override does not change -* `minetest.register_on_sound_play(function(SimpleSoundSpec))` +* `minetest.register_on_play_sound(function(SimpleSoundSpec))` * Called when recieving a play sound command from server * Newest functions are called first * If any function returns true, the sound does not play +* `minetest.register_on_spawn_partice(function(particle definition))` + * Called when recieving a spawn particle command from server + * Newest functions are called first + * If any function returns true, the particel does not spawn ### Setting-related * `minetest.settings`: Settings object containing all of the settings from the -- cgit v1.2.3