SereneSeasons - roidrole/Roids-Tweaker GitHub Wiki
Allows access to the current world season and season properties if SereneSeasons is installed.
IWorld Expansion
| Method | Return Type | Description |
|---|---|---|
| getSeasonState | ISeasonState | Returns an ISeasonState object. For how to use ISeasonState, see below. |
ISeasonState
You can call these getters on an ISeasonState object which you can get from above.
They all have associated methods - getZenGetter
| ZenGetter | Return Type | Description |
|---|---|---|
| dayDuration | int | |
| subSeasonDuration | int | |
| seasonDuration | int | |
| cycleDuration | int | |
| seasonCycleTicks | int | |
| day | int | |
| season | int | Returns the current season number, which is 0 for SPRING, 1 for SUMMER, 2 for AUTUMN and 3 for WINTER |
| subSeason | int | Returns the current sub season number, which is from 0 for EARLY_SPRING to 11 for LATE_WINTER |
| seasonName | string | Returns the current season name string, which is SPRING, SUMMER, AUTUMN and WINTER |
| subSeasonName | string | Returns the current sub season name, which is EARLY_SPRING, MID_SPRING, LATE_SPRING, EARLY_SUMMER etc. |
| tropicalSeason | int | Returns the current tropical season number, which is 0 for EARLY_DRY, 1 for MID_DRY, 2 for LATE_DRY, 3 for EARLY_WET, 4 for MID_WET and 5 for LATE_WET |
| tropicalSeasonName | int | Returns the current tropical season name, listed above |