CONTENT CONTRACT · VERSION 1
season
A named season referenced by climate and clock records.
Signature
{ dormant: boolean, id: ContentId, kind: "season", look: SeasonLookId, music: (SeasonMusic)?, name: TextKey, wildlife_permille: Permille }Fields
| Name | Type | Meaning |
|---|---|---|
dormant | boolean | Wild flora and crops rest: nothing grows, not even on the first day after it. |
id | ContentId | Package-qualified identity; unique within its declaring namespace. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$ |
kind | "season" | Discriminant |
look | SeasonLookId | How the season looks and sounds; seasons may share a look. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: season_look |
music | SeasonMusic | Its day and night pieces; absent plays the soundtrack's. |
name | TextKey | Localization key for the displayed name. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: text |
wildlife_permille | Permille | Share of the wildlife about (meadow rabbits), rounded half up. Range: 0…1000; Unit: permille |
Validated example
{
"dormant": false,
"id": "core:autumn",
"kind": "season",
"look": "core:autumn_look",
"music": {
"day": "core:sound_music_forest",
"night": "core:sound_music_autumn_night"
},
"name": "core:autumn_name",
"wildlife_permille": 1000
}