Add Shu-Han foundation milestone

This commit is contained in:
2026-06-23 14:34:35 +09:00
parent 43347fb33b
commit 63ac73f08b
7 changed files with 148 additions and 16 deletions

View File

@@ -70,6 +70,7 @@ import {
sixteenthBattleVictoryPages,
seventeenthBattleIntroPages,
seventeenthBattleVictoryPages,
shuHanFoundationPages,
tenthBattleIntroPages,
tenthBattleVictoryPages,
thirteenthBattleIntroPages,
@@ -523,9 +524,33 @@ const sortieFlows: Record<string, SortieFlow> = {
campaignStep: 'hanzhong-king-camp',
pages: hanzhongKingCouncilPages,
unavailableNotice: '한중왕 즉위 준비가 완료되었습니다. 다음 작업에서는 촉한 건국 선포와 형주 방면의 긴장을 이어 준비합니다.'
},
'hanzhong-king-camp': {
afterBattleId: thirtySeventhBattleScenario.id,
eyebrow: '건국 선포',
title: '촉한 건국 선포',
description:
'한중왕 즉위 논의를 마쳤습니다. 이제 유비가 촉한의 이름을 세우고, 관우가 지키는 형주가 다음 긴장의 중심으로 떠오르는 정치 전환을 진행합니다.',
rewardHint: '군영 목표: 촉한 건국 선포 / 형주 방위 긴장 개방',
campaignStep: 'shu-han-foundation-camp',
pages: shuHanFoundationPages,
unavailableNotice: '촉한 건국 선포가 완료되었습니다. 다음 작업에서는 형주 방위와 관우 전선의 긴장을 전투 흐름으로 이어갑니다.'
},
'shu-han-foundation-camp': {
afterBattleId: thirtySeventhBattleScenario.id,
eyebrow: '다음 장 준비',
title: '형주 방위 긴장',
description:
'촉한의 이름이 세워졌습니다. 다음은 관우가 지키는 형주에서 손권과 조조의 시선이 겹치는 전선을 준비해야 합니다.',
rewardHint: '다음 장: 형주 방위 준비 중',
pages: [],
unavailableNotice: '형주 방위와 관우 전선은 다음 작업에서 이어집니다. 촉한 건국 이후의 첫 전략적 대가를 준비하십시오.'
}
};
export function getSortieFlow(latestBattleId?: string) {
export function getSortieFlow(latestBattleId?: string, campaignStep?: CampaignStep) {
if (campaignStep && campaignStep in sortieFlows) {
return sortieFlows[campaignStep];
}
return sortieFlows[latestBattleId ?? defaultBattleScenario.id] ?? sortieFlows[defaultBattleScenario.id];
}

View File

@@ -2424,6 +2424,43 @@ export const hanzhongKingCouncilPages: StoryPage[] = [
}
];
export const shuHanFoundationPages: StoryPage[] = [
{
id: 'shu-han-foundation-banner',
bgm: 'militia-theme',
chapter: '한중왕 즉위',
background: 'story-three-heroes',
speaker: '제갈량',
text: '한중의 깃발 아래 장수들의 이름이 모였습니다. 유비는 한중왕의 이름을 받아들이며, 이 이름이 욕심이 아니라 한실을 잇는 약속임을 밝히려 합니다.'
},
{
id: 'shu-han-foundation-oath',
bgm: 'battle-prep',
chapter: '촉한의 이름',
background: 'story-liu-bei',
speaker: '유비',
portrait: 'liuBei',
text: '우리가 세우려는 나라는 나 한 사람의 나라가 아니오. 도원에서 맺은 뜻, 전장을 지나 모인 장수들의 뜻, 그리고 백성을 지키려는 뜻을 촉한의 이름으로 세우겠소.'
},
{
id: 'shu-han-foundation-generals',
bgm: 'battle-prep',
chapter: '오호의 깃발',
background: 'story-sortie',
speaker: '관우',
portrait: 'guanYu',
text: '형님께서 이름을 세우셨으니 장수들도 각자의 자리를 지켜야 합니다. 서쪽은 안정되었으나 형주의 바람은 점점 거칠어지고 있습니다.'
},
{
id: 'shu-han-foundation-next-front',
bgm: 'story-dark',
chapter: '형주의 먹구름',
background: 'story-militia',
speaker: '제갈량',
text: '촉한의 이름은 세워졌지만, 그 이름은 새로운 책임을 부릅니다. 관우가 지키는 형주에는 손권과 조조의 시선이 함께 모이고 있습니다.'
}
];
export const firstBattleMap: BattleMap = {
width: 20,
height: 18,