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

20 lines
561 B
TypeScript
Raw Normal View History

import type { Enemy } from "./enemy.csv";
import type { Effect } from "./effect.csv";
type IntentEffectTarget = "user" | "eachEnemy" | "randomEnemy" | "player";
type IntentEffectList = [IntentEffectTarget, Effect, number][];
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;