Solidify campaign progression state
This commit is contained in:
40
src/game/data/battles.ts
Normal file
40
src/game/data/battles.ts
Normal file
@@ -0,0 +1,40 @@
|
||||
import {
|
||||
firstBattleBonds,
|
||||
firstBattleMap,
|
||||
firstBattleUnits,
|
||||
firstBattleVictoryPages,
|
||||
type BattleBond,
|
||||
type BattleMap,
|
||||
type StoryPage,
|
||||
type UnitData
|
||||
} from './scenario';
|
||||
|
||||
export type BattleScenarioDefinition = {
|
||||
id: string;
|
||||
title: string;
|
||||
map: BattleMap;
|
||||
units: UnitData[];
|
||||
bonds: BattleBond[];
|
||||
mapTextureKey: string;
|
||||
leaderUnitId: string;
|
||||
quickVictoryTurnLimit: number;
|
||||
baseVictoryGold: number;
|
||||
itemRewards: string[];
|
||||
victoryPages: StoryPage[];
|
||||
nextCampScene: string;
|
||||
};
|
||||
|
||||
export const firstBattleScenario: BattleScenarioDefinition = {
|
||||
id: 'first-battle-zhuo-commandery',
|
||||
title: '탁현의 전투',
|
||||
map: firstBattleMap,
|
||||
units: firstBattleUnits,
|
||||
bonds: firstBattleBonds,
|
||||
mapTextureKey: 'battle-map-first',
|
||||
leaderUnitId: 'rebel-leader',
|
||||
quickVictoryTurnLimit: 8,
|
||||
baseVictoryGold: 300,
|
||||
itemRewards: ['콩 1', '탁주 1', '의용군 명성 +1'],
|
||||
victoryPages: firstBattleVictoryPages,
|
||||
nextCampScene: 'CampScene'
|
||||
};
|
||||
Reference in New Issue
Block a user