civ7-modding-tools
Version:
Mod generation tool for Civilization 7.
20 lines (15 loc) • 599 B
text/typescript
import { TObjectValues } from "../types";
import { BIOME } from "../constants";
import { BaseNode } from "./BaseNode";
export type TConstructibleValidBiomeNode = Pick<ConstructibleValidBiomeNode,
"constructibleType" |
"biomeType"
>;
export class ConstructibleValidBiomeNode extends BaseNode<TConstructibleValidBiomeNode> {
constructibleType: string | null = 'BUILDING_';
biomeType: TObjectValues<typeof BIOME> | null = BIOME.GRASSLAND;
constructor(payload: Partial<TConstructibleValidBiomeNode> = {}) {
super();
this.fill(payload);
}
}