SoundAPIWeatherBinding

v1.1.0·Updated 2026-02-16

SoundAPI condition for soundpack makers to change sounds based on the current weather!

About this mod Author’s original text

SoundAPI Conditions for the current Weather!

Adds 3 new conditions you can use for SoundAPI mods:

  • "LethalCompany:weather:name" - (String) Returns true if the exact name matches (Basically the name of the Weather you would see on the terminal). Works with any kind of weather!
  • "LethalCompany:weather:isweatherpresent" - (String) Returns true if the specified weather is found on the current moon (Such as in Combined Weathers)
  • "LethalCompany:weather:iscombinedweather" - (Bool) Returns true if the current weather is a combined weather

For an example how to use it, check out my LalalatteLoadstone mod, which changes the Loadstone Loading Music depending on the current weather! You're welcome to use it as a base for your own mod.

Support for WeatherTweaks progressing weathers is planned so it can detect later weathers, as both conditions will only return true for the first weather part of the chain. For now, you would just have to use the "name" condition, and put the full name of the progressing weather (E.g. "None > Foggy").

Changelog

  • 1.0.0 Initial upload
  • 1.0.1 Added new "iscombinedweather" condition
  • 1.0.2 Fixed "iscombinedweather" and "isweatherpresent" not actually working, updated dependencies
  • 1.1.0 Updated dependencies (compat with new WeatherRegistry update). The mod will likely not work with WeatherRegistry versions before 0.7.5, so make sure to downgrade if you are using an older WeatherRegistry still. Added a Github link.

Install & use Install: BepInEx plugin

  1. The archive from playbuff is the mod itself — usually a BepInEx plugin (a .dll or a plugin folder once unzipped).
  2. Recommended: use a community mod manager (such as r2modman) — pick this game, import the mod, and the manager sets up BepInEx and its dependencies for you.
  3. Manual route: install the BepInEx loader in the game folder, then drop the unzipped .dll or plugin folder into BepInEx/plugins/.
  4. Launch the game — the BepInEx console logs every plugin it loads; seeing this mod in the log means it is installed.

Mods with listed dependencies need those installed too, or they will not load. Options are usually changed in-game or in the plugin's config file.

Dependencies

Install these first, or the mod will not work:

loaforc-loaforcsSoundAPIloaforc-loaforcsSoundAPI_LethalCompanymrov-WeatherRegistrymrov-WeatherTweaks

File & checksum

Filename
SoundAPIWeatherBinding-1.1.0.zip
File size
32.7 KiB