feat: add playable Zhuo prologue village
This commit is contained in:
@@ -369,10 +369,20 @@ try {
|
||||
].forEach((requiredSource) => {
|
||||
assert(campSceneSource.includes(requiredSource), `CampScene presentation integration: ${requiredSource}`);
|
||||
});
|
||||
const prologueOpeningRouteCount = titleSceneSource.split('pages: prologueOpeningPages()').length - 1;
|
||||
[
|
||||
"nextScene: 'PrologueVillageScene'",
|
||||
"campaign.step === 'prologue-town'",
|
||||
'pages: prologueDeparturePages()',
|
||||
"nextScene: 'BattleScene'",
|
||||
"presentationBattleId: 'first-battle-zhuo-commandery'",
|
||||
"presentationStage: 'story'"
|
||||
].forEach((requiredSource) => {
|
||||
assert(titleSceneSource.includes(requiredSource), `TitleScene prologue presentation route: ${requiredSource}`);
|
||||
});
|
||||
assert(
|
||||
titleSceneSource.split("presentationStage: 'story'").length - 1 === 2 &&
|
||||
titleSceneSource.split("presentationBattleId: 'first-battle-zhuo-commandery'").length - 1 >= 2,
|
||||
'TitleScene must apply the first campaign arc to both new-game and resumed prologue stories'
|
||||
prologueOpeningRouteCount >= 2,
|
||||
'TitleScene must apply the first campaign arc to both new-game and resumed prologue openings'
|
||||
);
|
||||
|
||||
if (errors.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user