UNPKG

@zerospacegg/iolin

Version:

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

26 lines 1.17 kB
/** * Cyclops - Mera Commander Unit * Clean inheritance from faction Cyclops with all properties and abilities */ import Cyclops from "../../../../faction/protectorate/unit/cyclops.js"; export class CoopCyclops extends Cyclops { constructor() { super(); this.internalId = undefined; this.internalPath = undefined; // Generate composite UUID: {parent-uuid}:coop-mera this.setVariantUUID("coop-mera"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ "coop/commander/mera/building/coop-mera-advanced-factory", // Building requirement this.commanderLevelId(8), // Commander level 8 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = ["coop/commander/mera/building/coop-mera-advanced-factory"]; this.upgradedBy = ["coop/commander/mera/building/coop-mera-specialized-research-lab"]; } } // 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