OpenMW Lua: Music playlist support merged
OpenMW Lua: Music playlist support merged

gitlab.com Dehardcode music (!3438) · Merge requests · OpenMW / openmw · GitLab
Moves playlist logic from C++ to Lua. Basically, it uses an approach from Skyrim - when you can have several active playlists in the same time...

The latest dev builds of OpenMW now support music playlists run from Lua. Mods could now create custom music playlists based on location, weather, combat status, or anything else that can be measured with Lua. The pull request includes a sample mod to play certain music when fighting muscrabs.
I look forward to all the new ambience mods that this will make possible!