Correction: providing sound media IS possible

Check https://github.com/HubTou/alarm_watch for a working example.
This commit is contained in:
Hubert Tournier 2024-12-08 22:30:28 +01:00 committed by GitHub
parent 8b203f7e9b
commit 39b3cea6f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,10 +117,13 @@ The main Lua script. Running this script should register everything it
wants to register. Subsequent execution depends on Luanti calling the
registered callbacks.
**NOTE**: Client mods currently can't provide textures, sounds, or models by
**NOTE**: Client mods currently can't provide textures, or models by
themselves. Any media referenced in function calls must already be loaded
(provided by mods that exist on the server).
However, sounds can be provided and used on a client machine if they are copied
in a `sounds/` directory at the same level than the `clientmods/`directory.
Naming convention for registered textual names
----------------------------------------------
Registered names should generally be in this format: