Sample outdoor weather from the climate preset so people can freeze and the clock can show it.

Protocol v8 adds tenths of a °C and precipitation to the clock frame; warmth drains from insulation versus place temperature.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-20 03:49:40 +03:00
co-authored by Cursor
parent d8f4958167
commit 8e7ab46e79
40 changed files with 1008 additions and 39 deletions
@@ -1,3 +1,11 @@
{
"defName": "ContinentalCold",
"monthlyNorms": [-16.0, -14.0, -7.0, 2.0, 10.0, 16.0, 18.0, 15.0, 9.0, 1.0, -8.0, -14.0],
"daySpread": 6,
"hourSpread": 5,
"precipitationChance": 0.28,
"indoorOffset": 8,
"comfortC": 21,
"comfortHalfWidthC": 3,
"insulationPerC": 1,
}
@@ -1,3 +1,12 @@
{
"defName": "TemperateContinental",
// Moscow-like monthly means. January mornings sit below zero so the clock can show snow.
"monthlyNorms": [-9.3, -8.0, -2.2, 6.7, 13.2, 17.0, 19.2, 17.0, 11.3, 5.3, -0.5, -6.2],
"daySpread": 5,
"hourSpread": 4,
"precipitationChance": 0.32,
"indoorOffset": 8,
"comfortC": 21,
"comfortHalfWidthC": 3,
"insulationPerC": 1,
}
@@ -3,4 +3,13 @@
{ "defName": "Hunger", "initial": 1, "decayPerHour": 0.2, "min": 0, "max": 1, "restoredOffCampus": true },
{ "defName": "Toilet", "initial": 1, "decayPerHour": 0.15, "min": 0, "max": 1 },
{ "defName": "Social", "initial": 1, "decayPerHour": 0.08, "min": 0, "max": 1 },
{
"defName": "Warmth",
"initial": 1,
"decayPerHour": 0.04,
"min": 0,
"max": 1,
"restoredOffCampus": true,
"environmental": true,
},
]
@@ -1,5 +1,5 @@
[
// Walkable rooms that exist to connect the graph: lobby, stairs. Empty on purpose.
{ "defName": "EntranceHall", "travelMinutes": 1 },
{ "defName": "EntranceHall", "travelMinutes": 1, "outdoor": true },
{ "defName": "Stairwell", "travelMinutes": 1.5 },
]
@@ -80,4 +80,16 @@
{ "skill": "Chemistry", "offset": 4 },
],
},
{
"defName": "HeatLoving",
"weight": 5,
"incompatible": ["ColdLoving"],
"comfortTemperatureOffset": 4,
},
{
"defName": "ColdLoving",
"weight": 5,
"incompatible": ["HeatLoving"],
"comfortTemperatureOffset": -4,
},
]