You are viewing a potentially older version of this package. View all versions.
Leonsak77-Leos_Weather_Forecast_API-1.0.0 icon

Leos Weather Forecast API

An API I made so that SoundAPI can now have weather as a condition

Date uploaded 4 days ago
Version 1.0.0
Download link Leonsak77-Leos_Weather_Forecast_API-1.0.0.zip
Downloads 118
Dependency string Leonsak77-Leos_Weather_Forecast_API-1.0.0

This mod requires the following mods to function

loaforc-loaforcsSoundAPI-2.0.13 icon
loaforc-loaforcsSoundAPI

A general use library to replace sounds in Unity games.

Preferred version: 2.0.13

README

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

CHANGELOG

  • (Version 1.0.0) - Initial Release :D