feat(game): непрерывное время суток вместо флага evening
GameClock (1 с = 1 игровая минута, старт 8:00) на Game; GameLighting
смешивает day/night ambient по кривой dayNightFactor через деп timeHours,
ночные источники — whenNight, лампа по фактору ≥ 0.5. Сейв v4 (clock),
миграция state v3 удаляет evening; мост: s.time, scene:setTime,
инвариант time-bounded, сценарий checks/time.mjs.

Co-Authored-By: Claude Code <noreply@anthropic.com>
1 parent fede73c commit 25a25b079e973c82602e8105cfecec12fa38ee45
@root root authored 58 minutes ago
Showing 25 changed files
View
apps/game/src/Game.ts
View
apps/game/src/agent/GameAgent.ts
View
apps/game/src/agent/SceneAgentView.ts
View
apps/game/src/agent/__tests__/snapshot.test.ts
View
apps/game/src/agent/snapshot.ts
View
apps/game/src/data/__tests__/migrations.test.ts
View
apps/game/src/data/dialogues/elder_hand_in.json
View
apps/game/src/data/ids.ts
View
apps/game/src/data/locations.ts
View
apps/game/src/data/migrations.ts
View
apps/game/src/scenes/LocationScene.ts
View
apps/game/src/scenes/MenuScene.ts
View
apps/game/src/scenes/__tests__/saveData.test.ts 0 → 100644
View
apps/game/src/scenes/saveData.ts
View
apps/game/src/systems/Clock.ts 0 → 100644
View
apps/game/src/systems/Lighting.ts
View
apps/game/src/systems/__tests__/clock.test.ts 0 → 100644
View
apps/game/src/systems/__tests__/lighting.test.ts
View
apps/game/tools/agent.mjs
View
apps/game/tools/checks/lighting.mjs
View
apps/game/tools/checks/time.mjs 0 → 100644
View
docs/engine/agent.md
View
docs/engine/assets-audio-save.md
View
docs/engine/practices.md
View
docs/plan.md