@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
32 lines • 1.65 kB
JavaScript
;
/**
* Harbinger - Vynthra Commander Unit
* Clean inheritance from faction Harbinger with all properties and abilities
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CoopHarbinger = void 0;
const harbinger_js_1 = __importDefault(require("../../../../faction/grell/unit/harbinger.cjs"));
const coop_vynthra_medium_incubator_js_1 = __importDefault(require("../building/coop-vynthra-medium-incubator.cjs"));
const coop_vynthra_advanced_augmentation_pool_js_1 = __importDefault(require("../building/coop-vynthra-advanced-augmentation-pool.cjs"));
class CoopHarbinger extends harbinger_js_1.default {
constructor() {
super();
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
coop_vynthra_medium_incubator_js_1.default.id, // Building requirement (from parent)
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = [coop_vynthra_medium_incubator_js_1.default.id];
this.upgradedBy = [coop_vynthra_advanced_augmentation_pool_js_1.default.id];
}
}
exports.CoopHarbinger = CoopHarbinger;
CoopHarbinger.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-harbinger.ts";
exports.default = CoopHarbinger;
//# sourceMappingURL=coop-vynthra-harbinger.js.map