Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Leos Weather Forecast API
An API I made so that SoundAPI can now have weather as a condition
By Leonsak77
| Last updated | a day ago |
| Total downloads | 39 |
| Total rating | 0 |
| Categories | Libraries |
| Dependency string | Leonsak77-Leos_Weather_Forecast_API-1.0.0 |
| Dependants | 2 other packages depend on this package |
This mod requires the following mods to function
loaforc-loaforcsSoundAPI
A general use library to replace sounds in Unity games.
Preferred version: 2.0.13README
Usage guide
- Install this mod (duh)
- Create a normal replacer for SoundAPI
- condition type is: "lwfAPI:weather" and value is the weather string
A little bonus I added shows the weather string when an lwfAPI condition is triggered, weather registry mod does the same upon landing on a planet. (Yes its more convenient than my solution 😭)
Code example:
"replacements": [
{
"matches": "#FacilityMeltdown:music",
"sounds": [
{
"sound": "Music/eclipsemeltdown.ogg",
"condition": {
"type": "lwfAPI:weather",
"value": "eclipsed"
}
}
Changelog
- (Version 1.0.0) - Initial Release :D