UNPKG

@zerospacegg/iolin

Version:

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

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