mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2233] [MERGED] Fix forced game weather details #5498
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5498
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/2233
Author: @cha1latte
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2153-forced-weather📝 Commits (4)
d2908beFix forced game weather details40822baRefresh PR validation8773588Fix unused visual asset source export485ca63Merge remote-tracking branch 'upstream/refactor' into fix/issue-2153-forced-weather📄 Description
Linked issue
Closes #2153
Why this change
20C,calm, andclear, so forced conditions like a blizzard could reach the HUD and LLM context with contradictory weather details.What changed
gameApi.updateWeatherso it always derives weather from the inferred biome and normalized season first.typeanddescription, preserving generated temperature, wind, and visibility.changedis always true and chat metadata is patched with the resultinggameWeather.Refactor impact
Primary owner:
Game mode
Impact areas reviewed:
src/features/modes/game/api/game-api.tssrc/engine/modes/game/world/weather.service.tssrc/features/modes/game/hooks/use-game.tssrc/features/modes/game/components/GameSurface.tsxBoundary notes:
Pressure points touched:
gameApi.updateWeather;GameSurfaceanduse-gameremain consumers of the corrected weather state.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
gameApi.updateWeatherwith mocked storage and deterministic weather randomness.temperature: 20andwind: calm.temperature: -27,wind: gale,visibility: poor.pnpm typecheckpassed.node C:/Users/celia/.codex/tools/marinara-proof-gate.mjs scratch/issue-2153-bugfix-verification.jsonpassed.pnpm check:unusedpassed after makingVisualReferenceImageSourcemodule-local.pnpm checkpassed.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A. This is a game weather-state producer fix verified with a focused local command proof; no visible UI layout changed.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.