feat: 일반 역할 및 슬롯 인터페이스 추가, 시나리오 파싱 및 부트스트랩 로직 개선
This commit is contained in:
@@ -210,6 +210,11 @@ const parseGeneralRow = (
|
||||
personality,
|
||||
special,
|
||||
text,
|
||||
specialWar,
|
||||
horse,
|
||||
weapon,
|
||||
book,
|
||||
item,
|
||||
] = values;
|
||||
|
||||
if (typeof name !== 'string') {
|
||||
@@ -236,6 +241,11 @@ const parseGeneralRow = (
|
||||
deathYear: asNumber(deathYear, 0),
|
||||
personality: asNullableString(personality),
|
||||
special: asNullableString(special),
|
||||
specialWar: asNullableString(specialWar),
|
||||
horse: asNullableString(horse),
|
||||
weapon: asNullableString(weapon),
|
||||
book: asNullableString(book),
|
||||
item: asNullableString(item),
|
||||
text: asNullableString(text),
|
||||
};
|
||||
};
|
||||
|
||||
@@ -61,6 +61,11 @@ export interface ScenarioGeneral {
|
||||
deathYear: number;
|
||||
personality: string | null;
|
||||
special: string | null;
|
||||
specialWar?: string | null;
|
||||
horse?: string | null;
|
||||
weapon?: string | null;
|
||||
book?: string | null;
|
||||
item?: string | null;
|
||||
text: string | null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user