Add start game time feature to world generation; update API and UI to support custom start dates for in-world calendar

This commit is contained in:
Leonid Pershin
2026-08-16 19:58:32 +03:00
parent 3b7fca1495
commit 9d1e3c29c7
12 changed files with 150 additions and 5 deletions
@@ -70,9 +70,9 @@ public sealed class WorldSimulation : IDisposable
return simulation;
}
public static WorldClockDto DefaultClock() => new()
public static WorldClockDto DefaultClock(DateTime? startGameTime = null) => new()
{
GameTime = GameTime.DefaultStart,
GameTime = GameTime.ResolveStart(startGameTime),
TimeScale = GameTime.MinTimeScale,
Paused = false,
};