@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
25 lines • 1.12 kB
JavaScript
/**
* Cultivator - Vynthra Commander Building
* Clean inheritance from faction Cultivator with all properties and abilities
*/
import Cultivator from "../../../../faction/grell/building/cultivator.js";
import CoopSeedling from "../unit/coop-vynthra-seedling.js";
import CoopGrellHarvester from "../unit/coop-vynthra-grell-harvester.js";
import CoopRootColony from "./coop-vynthra-root-colony.js";
export class CoopCultivator extends Cultivator {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
CoopRootColony.id, // Building requirement
this.commanderLevelId(1), // Commander level 1 requirement
];
// Built by coop builder and harvester
this.createdBy = [CoopSeedling.id, CoopGrellHarvester.id];
}
}
CoopCultivator.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-cultivator.ts";
export default CoopCultivator;
//# sourceMappingURL=coop-vynthra-cultivator.js.map