UNPKG

@zerospacegg/iolin

Version:

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

25 lines 1.11 kB
/** * Stinger - Vynthra Commander Unit * Clean inheritance from faction Stinger with all properties and abilities */ import Stinger from "../../../../faction/grell/unit/stinger.js"; import CoopIncubator from "../building/coop-vynthra-incubator.js"; import CoopAugmentationPool from "../building/coop-vynthra-augmentation-pool.js"; export class CoopStinger extends Stinger { constructor() { super(); // Generate composite UUID: {parent-uuid}:coop-vynthra this.setVariantUUID("coop-vynthra"); // Dual unlock system: Building + Commander Level this.unlockedBy = [ CoopIncubator.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]; } } CoopStinger.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-stinger.ts"; export default CoopStinger; //# sourceMappingURL=coop-vynthra-stinger.js.map