Repository navigation
fix: 独立控制天气同步降水声音并保留雨景 - #16
Small-tailqwq merged 5 commits into
Conversation
设置面板保存开关后按当前雨景同步声音,保留雨景和既有同步保护。 Co-Authored-By: GPT-6 <noreply@openai.com>
Co-Authored-By: GPT-6 <noreply@openai.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6532d6f2d4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: GPT-6 <noreply@openai.com>
|
@codex review 请审查此 PR 的最新提交,重点检查降水声音开关即时生效、画面与声音状态分离,以及启动和兼容回退路径是否存在实际回归。 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4aaa918383
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: GPT-6 <noreply@openai.com>
天气同步原先会在开启雨景时同时解除雨声静音,无法单独保留画面。本修改新增
Automation.EnablePrecipitationSounds(默认开启)及设置面板开关,关闭后保留小雨、大雨、雷雨画面并静音对应声音;角色语音、动作声、其他环境音和雪景保持原有行为。EnableAmbientSounds继续只控制做饭、空调和蝉鸣的自动托管。天气同步开启时,设置面板切换降水声音会立即按当前雨景更新声音,无需 F7 或重新请求天气。保留过场/鲸鱼覆盖保护及正在淡出的雨景。组合状态探测失败时使用独立窗景状态和环境音接口;窗景直连失败也会执行静音。F6 手动预览结束恢复场景时,不应用天气同步的降水声音设置。不升级版本号。
已在游戏中通过 MCP 对比修复前后行为:正常与故障注入下的即时声音切换、窗景直连失败时独立静音,以及 F6 退出后恢复手动有声雨景均符合预期。兼容场景使用临时故障注入,当前游戏字段本身正常;临时补丁已移除。沿用游戏原生解除静音行为:手动零音量可能恢复为默认 50%,并不保证保留零音量。
Fixes #15