UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

26 lines 1.15 kB
/** * Cyclops - Mera Commander Unit * Clean inheritance from faction Cyclops with all properties and abilities */ import Cyclops from "../../../../faction/protectorate/unit/cyclops.js"; import CoopAdvancedFactory from "../building/coop-mera-advanced-factory.js"; import CoopSpecializedResearchLab from "../building/coop-mera-specialized-research-lab.js"; export class CoopCyclops extends Cyclops { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-mera this.setVariantUUID("coop-mera"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ CoopAdvancedFactory.id, // Building requirement this.commanderLevelId(8), // Commander level 8 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = [CoopAdvancedFactory.id]; this.upgradedBy = [CoopSpecializedResearchLab.id]; } } // Static property for source path CoopCyclops.src = "src/zerospace/coop/commander/mera/unit/coop-mera-cyclops.ts"; export default CoopCyclops; //# sourceMappingURL=coop-mera-cyclops.js.map