COZY Stylized Weather Integration

Troubleshooting

Fix manual temperature changes and snow melting.

Troubleshooting

Temperature does not update

Set the Climate Module control method to Native. You can set this directly on the COZY Weather Sphere or at runtime with Set Climate Control Method.

Snow melts after setting it

Snow melts at 32 F / 0 C. Lower the temperature or set the snow melting value to 0 if the snow should not melt.

Visual Scripting

The entries below are copied from the package definitions. Use the child pages to browse them by type.

Conditions

Compare Temperature (ConditionCozyCompareTemperature)

  • Title: Compare Temperature
  • Description: Returns true if the current temperature matches the comparison value. Optionally checks within a whole degree range.
  • Category: COZY/Compare Temperature
  • Parameters:
  • Comparison - The temperature value it should compare
  • Compare To - The temperature value that is compared against
  • Check Whole Degree Range - If checked, compares against the whole degree range (e.g., 20-20.9 for 20°C)
  • Temperature Unit - The unit in which temperature comparisons are made
  • Keywords: Temperature, COZY, Equals, Different, Higher, Lower, Range
  • Source: COZY Integration/Runtime/Conditions/ConditionCozyCompareTemperature.cs

Compare Weather (ConditionCozyWeatherProfile)

  • Title: Compare Weather
  • Description: Returns true if the weather profile is the same as another one
  • Category: COZY/Is Weather
  • Parameters:
  • Weather Profile - The Weather Profile source
  • Compare To - The Weather Profile compared to
  • Keywords: Weather, Compare, COZY
  • Source: COZY Integration/Runtime/Conditions/ConditionCozyWeatherProfile.cs

Triggers

On COZY Event (EventOnCozyEvent)

  • Title: On COZY Event
  • Description: Triggers when a specific COZY event happens.
  • Category: COZY/Time/On COZY Event
  • Parameters: None specified
  • Keywords: Event, Time, Day, Cozy
  • Source: COZY Integration/Runtime/Events/EventOnCozyEvent.cs

On Any Weather (EventOnCozyNewWeather)

  • Title: On Any Weather
  • Description: Triggers when any new weather happens.
  • Category: COZY/Weather/On Any Weather
  • Parameters: None specified
  • Keywords: Weather, COZY
  • Source: COZY Integration/Runtime/Events/EventOnCozyNewWeather.cs

On Temperature (EventOnCozyTemperatureChange)

  • Title: On Temperature
  • Description: Triggers when the temperature enters a range or hits a specific value at intervals.
  • Category: COZY/Weather/On Temperature
  • Parameters:
  • Interval - Specifies the duration of the interval (e.g., every 1 hour or every 15 minutes).
  • Interval Type - Defines the type of interval at which the trigger will check the temperature (e.g., Hour, Minute, Day, or Year).
  • Trigger On Start - If enabled, the trigger will trigger immediately when the game starts. Useful to initialize UI.
  • Keywords: Temperature, COZY, Trigger
  • Source: COZY Integration/Runtime/Events/EventOnCozyTemperatureChange.cs

On Time (EventOnCozyTime)

  • Title: On Time
  • Description: Triggers when the specified time happens.
  • Category: COZY/Time/On Time
  • Parameters:
  • Target Hour - Specifies the hour (in 24-hour format) at which the event should trigger. Valid values range from 0 to 23, where 0 represents midnight and 23 represents 11 PM.
  • Target Minute - Specifies the minute within the target hour at which the event should trigger. Valid values range from 0 to 59, where 0 represents the start of the hour and 59 represents the last minute of the hour.
  • Use Daily Cycle - If true, the trigger will only perform checks once per day after the target hour has passed. The trigger will not run again until the same hour the next day. This option should be disabled only if you intend to manually set the time back to a previous hour within the same day.
  • Keywords: Time, COZY, Trigger
  • Source: COZY Integration/Runtime/Events/EventOnCozyTime.cs

On Day and Time (EventOnCozyTimeAndDay)

  • Title: On Day and Time
  • Description: Triggers when the specified day and time happen.
  • Category: COZY/Time/On Day and time
  • Parameters:
  • Target Day - Specifies the day at which the event should trigger. Valid values are from 1 to the number of days in a year.
  • Target Hour - Specifies the hour (in 24-hour format) at which the event should trigger. Valid values range from 0 to 23.
  • Target Minute - Specifies the minute within the target hour at which the event should trigger. Valid values range from 0 to 59.
  • Use Yearly Cycle - If true, the trigger will only perform checks the next year after the target day has passed. The trigger will not run again until the next year. This option should be disabled only if you intend to manually set the time back to a previous day within the same year.
  • Keywords: Time, Day, COZY, Trigger
  • Source: COZY Integration/Runtime/Events/EventOnCozyTimeAndDay.cs

On Year, Day, and Time (EventOnCozyTimeDayAndYear)

  • Title: On Year, Day, and Time
  • Description: Triggers when the specified year, day, and time happen.
  • Category: COZY/Time/On Year, Day, and Time
  • Parameters:
  • Target Year - Specifies the year at which the event should trigger.
  • Target Day - Specifies the day of the year at which the event should trigger. Valid values are from 1 to the number of days in a year.
  • Target Hour - Specifies the hour (in 24-hour format) at which the event should trigger. Valid values range from 0 to 23.
  • Target Minute - Specifies the minute within the target hour at which the event should trigger. Valid values range from 0 to 59.
  • Keep Checking in the Past - If true, the trigger will remain active and checking everyday even if the year is in the past. This option should be enabled only if you intend to manually set the time back to a previous day within the same year.
  • Keywords: Time, Day, Year, COZY, Trigger
  • Source: COZY Integration/Runtime/Events/EventOnCozyTimeDayAndYear.cs

On Time Interval (EventOnCozyTimeInterval)

  • Title: On Time Interval
  • Description: Triggers at specified intervals.
  • Category: COZY/Time/On Time Interval
  • Parameters:
  • Interval Type - Defines the type of interval at which the trigger will check the temperature (e.g., Hour, Minute, Day, or Year).
  • Interval - Specifies the duration of the interval (e.g., every 1 hour or every 15 minutes).
  • Keywords: Time, COZY, Trigger
  • Source: COZY Integration/Runtime/Events/EventOnCozyTimeInterval.cs

On Specific Weather (EventOnCozyWeather)

  • Title: On Specific Weather
  • Description: Triggers when a new specific weather happens.
  • Category: COZY/Weather/On Specific Weather
  • Parameters:
  • Target Weather - The target weather to trigger the trigger
  • Keywords: Weather, COZY, Specific
  • Source: COZY Integration/Runtime/Events/EventOnCozyWeather.cs

Properties

Get properties

Pause Time (GetBoolCozyPauseTime)
  • Title: Pause Time
  • Description: Gets the pause time bool in COZY
  • Category: COZY/Pause Time
  • Type: Bool
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetBoolCozyPauseTime.cs
COZY Weather Sphere (GetCozyWeatherSphere)
  • Title: COZY Weather Sphere
  • Description: Returns the COZY Weather Sphere instance
  • Category: COZY/Weather Sphere
  • Type: GameObject
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetCozyWeatherSphere.cs
Current Weather (GetCurrentWeatherProfile)
  • Title: Current Weather
  • Description: Gets the current weatherProfile from COZY
  • Category: Current Weather
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetCurrentWeatherProfile.cs
Day (GetDecimalCozyDay)
  • Title: Day
  • Description: Returns the current COZY day as a number
  • Category: COZY/Time/Day
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyDay.cs
Days Per Year (GetDecimalCozyDaysPerYear)
  • Title: Days Per Year
  • Description: Returns the number of days per year in COZY
  • Category: COZY/Time/Days Per Year
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyDaysPerYear.cs
Hour (GetDecimalCozyHour)
  • Title: Hour
  • Description: Returns the current COZY hour as a number
  • Category: COZY/Time/Hour
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyHour.cs
Minute (GetDecimalCozyMinute)
  • Title: Minute
  • Description: Returns the current COZY minute as a number
  • Category: COZY/Time/Minute
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyMinute.cs
Day of Month (GetDecimalCozyMonthDay)
  • Title: Day of Month
  • Description: Returns the current day within the current COZY month as a number
  • Category: COZY/Time/Day of Month
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyMonthDay.cs
Temperature (GetDecimalCozyTemperature)
  • Title: Temperature
  • Description: Returns the current COZY temperature
  • Category: COZY/Time/Temperature
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyTemperature.cs
Time Movement Speed (GetDecimalCozyTimeMovementSpeed)
  • Title: Time Movement Speed
  • Description: Returns the current time movement speed in COZY
  • Category: COZY/Settings/Time Movement Speed
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyTimeMovementSpeed.cs
Year (GetDecimalCozyYear)
  • Title: Year
  • Description: Returns the current COZY year
  • Category: COZY/Time/Year
  • Type: Decimal
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetDecimalCozyYear.cs
AM or PM (GetStringCozyAmPm)
  • Title: AM or PM
  • Description: Returns 'AM' or 'PM' based on the hour in COZY
  • Category: COZY/Time/AMorPM
  • Type: String
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetStringCozyAmPm.cs
Hour and Minute (GetStringCozyHourMinute)
  • Title: Hour and Minute
  • Description: Returns the time in 'hour:minute' format, optionally with AM/PM
  • Category: COZY/Time/Hour and Minute
  • Type: String
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetStringCozyHourMinute.cs
Month (GetStringCozyMonth)
  • Title: Month
  • Description: Returns the name of the current COZY month
  • Category: COZY/Time/Month
  • Type: String
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetStringCozyMonth.cs
Current Weather (GetStringCozyWeatherProfile)
  • Title: Current Weather
  • Description: Returns the name of the current COZY weather
  • Category: COZY/Weather/Current Weather
  • Type: String
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetStringCozyWeatherProfile.cs
Global List Variable (GetWeatherProfileGlobalList)
  • Title: Global List Variable
  • Description: Returns the WeatherProfile value of a Global List Variable
  • Category: Variables/Global List Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetWeatherProfileGlobalList.cs
Global Name Variable (GetWeatherProfileGlobalName)
  • Title: Global Name Variable
  • Description: Returns the WeatherProfile value of a Global Name Variable
  • Category: Variables/Global Name Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetWeatherProfileGlobalName.cs
Weather Profile (GetWeatherProfileInstance)
  • Title: Weather Profile
  • Description: A reference to a WeatherProfile
  • Category: Weather Profile
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetWeatherProfileInstance.cs
Local List Variable (GetWeatherProfileLocalList)
  • Title: Local List Variable
  • Description: Returns the WeatherProfile value of a Local List Variable
  • Category: Variables/Local List Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetWeatherProfileLocalList.cs
Local Name Variable (GetWeatherProfileLocalName)
  • Title: Local Name Variable
  • Description: Returns the WeatherProfile value of a Local Name Variable
  • Category: Variables/Local Name Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetWeatherProfileLocalName.cs
None (GetWeatherProfileNone)
  • Title: None
  • Description: An empty reference to WeatherProfile
  • Category: None
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/GetWeatherProfileNone.cs
PropertyGetWeatherProfile (PropertyGetWeatherProfile)
  • Title: Not specified
  • Description: Not specified
  • Category: Not specified
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/PropertyGetWeatherProfile.cs
Weather Profile (PropertyTypeGetWeatherProfile)
  • Title: Weather Profile
  • Description: Not specified
  • Category: Not specified
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Get/PropertyTypeGetWeatherProfile.cs

Set properties

PropertySetWeatherProfile (PropertySetWeatherProfile)
  • Title: Not specified
  • Description: Not specified
  • Category: Not specified
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/PropertySetWeatherProfile.cs
Weather Profile (PropertyTypeSetWeatherProfile)
  • Title: Weather Profile
  • Description: Not specified
  • Category: Not specified
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/PropertyTypeSetWeatherProfile.cs
Add to Forecast (AddToForecast)
  • Title: Add to Forecast
  • Description: Adds a WeatherProfile to the forecast in COZY
  • Category: Add Weather to Forecast
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetAddToForecast.cs
Pause Time (SetBoolCozyPauseTime)
  • Title: Pause Time
  • Description: Sets the pause time bool in COZY
  • Category: COZY/Pause Time
  • Type: Bool
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetBoolCozyPauseTime.cs
Day (SetCozyDay)
  • Title: Day
  • Description: Sets the day in COZY
  • Category: COZY/Time/Day
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyDay.cs
Days Per Year (SetCozyDaysPerYear)
  • Title: Days Per Year
  • Description: Sets the number of days per year in COZY
  • Category: COZY/Time/Days Per Year
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyDaysPerYear.cs
Drying Speed (SetCozyDryingSpeed)
  • Title: Drying Speed
  • Description: Sets the wetness drying speed in COZY
  • Category: COZY/Settings/Wetness Drying Speed
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyDryingSpeed.cs
Wetness (SetCozyGroundwaterAmount)
  • Title: Wetness
  • Description: Sets the wetness amount in COZY
  • Category: COZY/Weather/Wetness
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyGroundwaterAmount.cs
Hour (SetCozyHour)
  • Title: Hour
  • Description: Sets the hour in COZY
  • Category: COZY/Time/Hour
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyHour.cs
Minute (SetCozyMinute)
  • Title: Minute
  • Description: Sets the minute in COZY
  • Category: COZY/Time/Minute
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyMinute.cs
Snow (SetCozySnowAmount)
  • Title: Snow
  • Description: Sets the snow amount in COZY
  • Category: COZY/Weather/Snow
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozySnowAmount.cs
Snow Melt Speed (SetCozySnowMeltSpeed)
  • Title: Snow Melt Speed
  • Description: Sets the snow melt speed in COZY
  • Category: COZY/Settings/Snow Melt Speed
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozySnowMeltSpeed.cs
Temperature (SetCozyTemperature)
  • Title: Temperature
  • Description: Sets COZY temperature.
  • Category: COZY/Weather/Temperature
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyTemperature.cs
Time Movement Speed (SetCozyTimeMovementSpeed)
  • Title: Time Movement Speed
  • Description: Sets the time movement speed in COZY
  • Category: COZY/Settings/Time Movement Speed
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyTimeMovementSpeed.cs
Year (SetCozyYear)
  • Title: Year
  • Description: Sets the year in COZY
  • Category: COZY/Time/Year
  • Type: Number
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCozyYear.cs
Current Weather (SetCurrentWeatherProfile)
  • Title: Current Weather
  • Description: Sets the current WeatherProfile in COZY
  • Category: Current Weather
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetCurrentWeatherProfile.cs
Global List Variable (SetWeatherProfileGlobalList)
  • Title: Global List Variable
  • Description: Sets the WeatherProfile value on a Global List Variable
  • Category: Variables/Global List Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetWeatherProfileGlobalList.cs
Global Name Variable (SetWeatherProfileGlobalName)
  • Title: Global Name Variable
  • Description: Sets the WeatherProfile value on a Global Name Variable
  • Category: Variables/Global Name Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetWeatherProfileGlobalName.cs
Local List Variable (SetWeatherProfileLocalList)
  • Title: Local List Variable
  • Description: Sets the WeatherProfile value on a Local List Variable
  • Category: Variables/Local List Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetWeatherProfileLocalList.cs
Local Name Variable (SetWeatherProfileLocalName)
  • Title: Local Name Variable
  • Description: Sets the WeatherProfile value on a Local Name Variable
  • Category: Variables/Local Name Variable
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetWeatherProfileLocalName.cs
None (SetWeatherProfileNone)
  • Title: None
  • Description: None
  • Category: None
  • Type: WeatherProfile
  • Parameters: None specified
  • Keywords: None specified
  • Source: COZY Integration/Runtime/Properties/Set/SetWeatherProfileNone.cs