feat(data): ✨ add domain type for units
Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
parent
3d04d5cb65
commit
7c123269b3
1 changed files with 3 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
export type AttackType = "blade" | "pierce" | "crush" | "trample" | "siege";
|
export type AttackType = "blade" | "pierce" | "crush" | "trample" | "siege";
|
||||||
export type ArmorType = "unarmored" | "light" | "medium" | "armored" | "heavy" | "plate" | "fortified";
|
export type ArmorType = "unarmored" | "light" | "medium" | "armored" | "heavy" | "plate" | "fortified";
|
||||||
|
|
||||||
|
export type Domain = "land" | "air" | "sea";
|
||||||
|
|
||||||
export interface Unit {
|
export interface Unit {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
|
@ -15,6 +17,7 @@ export interface Unit {
|
||||||
range: number;
|
range: number;
|
||||||
movement: number;
|
movement: number;
|
||||||
keywords: string[];
|
keywords: string[];
|
||||||
|
domain: Domain;
|
||||||
race?: string;
|
race?: string;
|
||||||
unique?: boolean;
|
unique?: boolean;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue