UNPKG

@zerospacegg/iolin

Version:

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

25 lines 1.15 kB
/** * Weaver - Vynthra Commander Unit * Clean inheritance from faction Weaver with all properties and abilities */ import Weaver from "../../../../faction/grell/unit/weaver.js"; import CoopLargeIncubator from "../building/coop-vynthra-large-incubator.js"; import CoopSpecialAugmentationPool from "../building/coop-vynthra-special-augmentation-pool.js"; export class CoopWeaver extends Weaver { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-vynthra this.setVariantUUID("coop-vynthra"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ CoopSpecialAugmentationPool.id, // Building requirement (from parent) this.commanderLevelId(7), // Commander level 7 requirement ]; // Coop-specific relationships (replicate parent with coop references) this.createdBy = [CoopLargeIncubator.id]; this.upgradedBy = [CoopSpecialAugmentationPool.id]; } } CoopWeaver.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-weaver.ts"; export default CoopWeaver; //# sourceMappingURL=coop-vynthra-weaver.js.map