Jump to content

Recommended Posts

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!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...