Liquid Ocelot Posted June 1, 2025 Share Posted June 1, 2025 In Don't Starve Together, within the components/dynamicmusic.lua file, there's a table named TRIGGERED_DANGER_MUSIC. This table defines the background music for many boss battles. However, because TRIGGERED_DANGER_MUSIC is a local variable, it's currently very difficult for mods to modify it. Modders have to resort to complicated methods like upvaluehacker, which can lead to game crashes if multiple mods attempt to modify this table simultaneously using the same approach. Therefore, we suggest adding an API to allow mods to modify this table more conveniently. Alternatively, making TRIGGERED_DANGER_MUSIC a global variable would also solve this issue. Thank you very much for considering this! Link to comment https://forums.kleientertainment.com/forums/topic/166074-add-a-new-mod-api-to-modify-triggered_danger_music-in-dynamicmusiclua/ Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now