Story流程+本地化

This commit is contained in:
SoulliesOfficial
2026-07-24 17:56:30 -04:00
parent b0e0a7d5aa
commit de70870682
250 changed files with 5719 additions and 272966 deletions

View File

@@ -66,8 +66,8 @@ namespace Ichni
// 真正进入 GameScene 时MenuManager.EnterGame 会补充 SongSelection 返回目标。
if (PrepareGameLaunch(chapter, song, difficulty, MenuReturnDestination.None))
{
// 只有玩家真正确认进入游戏”且命中剧情目标歌曲时,才完成对应 SongBlock。
// 单纯从剧情打开选曲、浏览其它歌曲或返回菜单不会写入剧情进度。
// 玩家确认进入游戏即写入 SongSaves.isTriedStoryTree 会根据该统一歌曲存档
// 自动同步对应 SongBlock 的完成状态。单纯浏览歌曲或返回菜单不会写入任何进度。
StoryManager.instance?.HandleSongSelectionConfirmed(chapter, song);
}
}

View File

@@ -239,12 +239,10 @@ namespace Ichni
private MenuReturnDestination ResolveCurrentReturnDestination()
{
// 剧情 SongBlock 仅在玩家确认进入指定目标歌曲后才要求返回剧情;
// 普通选曲与从剧情入口改选其它歌曲都继续返回选曲页。
StorySongEntryContext context = InformationTransistor.instance?.storySongEntryContext;
return context != null && context.isActive && context.returnToStoryAfterGame
? MenuReturnDestination.Story
: MenuReturnDestination.SongSelection;
// 所有从 SongSelection 启动的常规歌曲游玩都统一返回 SongSelection。
// Story SongBlock 的完成状态由 SongSaves.isTried 自动恢复,无需在 GameScene 返回时
// 重新打开 StoryPage只有 TutorialFlowController 会显式传入 Story 返回目标。
return MenuReturnDestination.SongSelection;
}
private void HandleGameSceneLoadFailure(string reason)