diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-30 11:20:07 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-11-30 11:20:07 +0100 |
commit | 8b3eaf5b05379f995bf8d55532c107b190848a69 (patch) | |
tree | b67b0d5052b512e58f27be27859522f1d4004311 /doc/client_lua_api.txt | |
parent | 0a285dd338fb415744e3fb8d6a1cc3763d796c4a (diff) | |
download | dragonfireclient-8b3eaf5b05379f995bf8d55532c107b190848a69.tar.xz |
Lua API: Particle callbacks; Add NoWeather
Diffstat (limited to 'doc/client_lua_api.txt')
-rw-r--r-- | doc/client_lua_api.txt | 6 |
1 files changed, 5 insertions, 1 deletions
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 |