Page cover image

πŸ•‘Time Module

Overview

The Time Module is the default way to manage time movement and space in COZY: Stylized Weather. Handle year length, time speed, and current values all in one module.

Compatibility Information

❌ Does not have Biome Module

βœ… Works well with Transit Module

βœ… Works well with Habits Module

❌ Incompatible with the System Time Module

Key Features

Time Controls

  • Control the current time of day

  • Set the current day and year

  • Control the time speed

  • Control the day length and days per year

Usage Examples

Set the Current Time in the Editor

Move the sliders in the Current Settings tab to scrub through the day, year, and century. You can also set the current time on the right of the sliders

Allow Time to Pass Faster at Night (Literally)

In the Selection Settings, set the perennial profile to the accelerated nights variant.

This profile has a time speed curve that has a higher value between 0 and 25%, and 75% and 100%. This multiplies the rate at which time passes at night allowing for a shortened night.

Setup Leap Years

Check the realistic year toggle in the Length Settings tab to unlock the month settings. Now check the leap year toggle to open a second group of month settings. You can edit this as you see fit, and COZY will use these year settings every fourth year. The Realistic Year Perennial Profile comes setup with this if you need a setup example

Set the Current Time Using a Script

CozyTimeModule timeModule = CozyWeather.instance.timeModule;
timeModule.currentTime = new MeridiemTime(6, 00);

Last updated

Was this helpful?