boardgame-core/src/samples/slay-the-spire-like/data/desert/intent.csv.d.ts

21 lines
628 B
TypeScript
Raw Normal View History

import type { Enemy } from './enemy.csv';
import type { Effect } from './effect.csv';
export type IntentEffectTarget = 'user' | 'eachEnemy' | 'randomEnemy' | 'player';
export type IntentEffect = [IntentEffectTarget, Effect, number];
export type IntentEffectList = IntentEffect[];
2026-04-17 01:21:27 +08:00
type IntentTable = readonly {
readonly id: string;
readonly enemy: Enemy;
readonly initialIntent: boolean;
readonly nextIntents: Intent[];
readonly brokenIntent: Intent[];
readonly effects: IntentEffectList;
2026-04-17 01:21:27 +08:00
}[];
export type Intent = IntentTable[number];
declare function getData(): IntentTable;
export default getData;