@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
28 lines • 1.36 kB
JavaScript
/**
* Root Colony - Vynthra Commander Building
* Clean inheritance from faction Root Colony with all properties and abilities
*/
import RootColony from "../../../../faction/grell/building/root-colony.js";
import CoopSeedling from "../unit/coop-vynthra-seedling.js";
import CoopGrellHarvester from "../unit/coop-vynthra-grell-harvester.js";
import CoopGrellExtractor from "./coop-vynthra-grell-extractor.js";
import CoopNourishingPod from "./coop-vynthra-nourishing-pod.js";
import CoopCultivator from "./coop-vynthra-cultivator.js";
export class CoopRootColony extends RootColony {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Base building - no unlock requirements
this.unlockedBy = [];
// Built by coop builder
this.createdBy = [CoopSeedling.id];
// Creates coop units and buildings
this.creates = [CoopSeedling.id, CoopGrellHarvester.id, CoopGrellExtractor.id];
// Unlocks coop buildings and units
this.unlocks = [CoopNourishingPod.id, CoopCultivator.id, CoopSeedling.id, CoopGrellHarvester.id];
}
}
CoopRootColony.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-root-colony.ts";
export default CoopRootColony;
//# sourceMappingURL=coop-vynthra-root-colony.js.map