@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
25 lines • 1.18 kB
JavaScript
/**
* Harbinger - Vynthra Commander Unit
* Clean inheritance from faction Harbinger with all properties and abilities
*/
import Harbinger from "../../../../faction/grell/unit/harbinger.js";
import CoopMediumIncubator from "../building/coop-vynthra-medium-incubator.js";
import CoopAdvancedAugmentationPool from "../building/coop-vynthra-advanced-augmentation-pool.js";
export class CoopHarbinger extends Harbinger {
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];
}
}
CoopHarbinger.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-harbinger.ts";
export default CoopHarbinger;
//# sourceMappingURL=coop-vynthra-harbinger.js.map