UNPKG

@zerospacegg/iolin

Version:

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

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