CONTENT CONTRACT · VERSION 1
routine
A daily schedule starting at minute zero, ordered by unique minutes.
Signature
{ defends: boolean, entries: {RoutineEntry}, home: (SettlementMarker)?, id: ContentId, idle: {Name}, kind: "routine", shifts: {SeasonShift}, topics: {Name} }Fields
| Name | Type | Meaning |
|---|---|---|
defends | boolean | Takes up arms against raids instead of fleeing. |
entries | {RoutineEntry} | Chronological day; an entry holds until the next. Items: 1…1440; Unique entries |
home | SettlementMarker | Settlement marker of the villager's house (home and sleep). Length: 1…96; Pattern: ^[a-z][a-z0-9_:-]{0,95}$ |
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}$ |
idle | {Name} | Idle clips of the human rig between activities. Items: 0…16 |
kind | "routine" | Discriminant |
shifts | {SeasonShift} | How each season moves the day. Items: 0…16 |
topics | {Name} | Thought-cloud motifs of its talk. Items: 0…16 |
Validated example
{
"defends": true,
"entries": [
{
"minute": 360,
"plans": [
{
"animals": [],
"animations": [
"idle_stretch"
],
"mode": "home",
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 400,
"plans": [
{
"animals": [],
"animations": [
"rake"
],
"mode": "work",
"place": {
"marker": "town-farm",
"offset_mm": [
5000,
3000
],
"radius_mm": 1500
},
"topics": [
"leaf",
"bread"
],
"with": []
},
{
"animals": [],
"animations": [],
"mode": "visit",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 5000
},
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 660,
"plans": [
{
"animals": [
"core:chicken",
"core:pig",
"core:goose"
],
"animations": [],
"mode": "pet",
"place": {
"marker": "farm-gate",
"offset_mm": [
0,
0
],
"radius_mm": 8000
},
"topics": [],
"with": []
},
{
"animals": [],
"animations": [
"idle_look",
"idle_hands"
],
"mode": "visit",
"place": {
"marker": "farm-gate",
"offset_mm": [
0,
2000
],
"radius_mm": 1500
},
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 750,
"plans": [
{
"animals": [],
"animations": [
"eat",
"drink"
],
"mode": "visit",
"place": {
"marker": "town-farm",
"offset_mm": [
0,
4000
],
"radius_mm": 2000
},
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 810,
"plans": [
{
"animals": [],
"animations": [
"rake",
"pickaxe"
],
"mode": "work",
"place": {
"marker": "town-farm",
"offset_mm": [
5000,
2000
],
"radius_mm": 1500
},
"topics": [
"leaf",
"weather"
],
"with": []
},
{
"animals": [],
"animations": [],
"mode": "visit",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 5000
},
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 1110,
"plans": [
{
"animals": [
"core:chicken",
"core:goose",
"core:pig"
],
"animations": [],
"mode": "pet",
"place": {
"marker": "farm-gate",
"offset_mm": [
0,
0
],
"radius_mm": 8000
},
"topics": [],
"with": []
},
{
"animals": [],
"animations": [],
"mode": "chat",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 5000
},
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 1200,
"plans": [
{
"animals": [],
"animations": [],
"mode": "chat",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 5000
},
"topics": [],
"with": [
"core:wren",
"core:otto"
]
},
{
"animals": [],
"animations": [],
"mode": "visit",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 5000
},
"topics": [],
"with": []
}
],
"seasons": []
},
{
"minute": 1300,
"plans": [
{
"animals": [],
"animations": [
"play_lute",
"play_flute"
],
"mode": "visit",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 4000
},
"topics": [
"lute",
"party"
],
"with": []
}
],
"seasons": []
},
{
"minute": 1300,
"plans": [
{
"animals": [],
"animations": [],
"mode": "sit",
"place": {
"marker": "town-pub",
"offset_mm": [
0,
0
],
"radius_mm": 0
},
"topics": [
"lute",
"bread",
"weather"
],
"with": []
},
{
"animals": [],
"animations": [
"play_lute"
],
"mode": "visit",
"place": {
"marker": "world:hearth",
"offset_mm": [
0,
0
],
"radius_mm": 4000
},
"topics": [],
"with": []
}
],
"seasons": [
"core:winter"
]
},
{
"minute": 0,
"plans": [
{
"animals": [],
"animations": [],
"mode": "sleep",
"topics": [],
"with": []
}
],
"seasons": [
"core:winter"
]
},
{
"minute": 90,
"plans": [
{
"animals": [],
"animations": [],
"mode": "sleep",
"topics": [],
"with": []
}
],
"seasons": [
"core:spring",
"core:autumn"
]
},
{
"minute": 160,
"plans": [
{
"animals": [],
"animations": [],
"mode": "sleep",
"topics": [],
"with": []
}
],
"seasons": [
"core:summer"
]
}
],
"home": "home1",
"id": "core:bram_day",
"idle": [
"idle_weight",
"idle_hands",
"idle_look"
],
"kind": "routine",
"shifts": [
{
"minutes": -15,
"season": "core:spring"
},
{
"minutes": -30,
"season": "core:summer"
},
{
"minutes": -10,
"season": "core:autumn"
},
{
"minutes": 0,
"season": "core:winter"
}
],
"topics": [
"leaf",
"bread",
"weather",
"pickaxe"
]
}