@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
32 lines • 1.61 kB
JavaScript
;
/**
* Weaver - Vynthra Commander Unit
* Clean inheritance from faction Weaver 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.CoopWeaver = void 0;
const weaver_js_1 = __importDefault(require("../../../../faction/grell/unit/weaver.cjs"));
const coop_vynthra_large_incubator_js_1 = __importDefault(require("../building/coop-vynthra-large-incubator.cjs"));
const coop_vynthra_special_augmentation_pool_js_1 = __importDefault(require("../building/coop-vynthra-special-augmentation-pool.cjs"));
class CoopWeaver extends weaver_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_special_augmentation_pool_js_1.default.id, // Building requirement (from parent)
this.commanderLevelId(7), // Commander level 7 requirement
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = [coop_vynthra_large_incubator_js_1.default.id];
this.upgradedBy = [coop_vynthra_special_augmentation_pool_js_1.default.id];
}
}
exports.CoopWeaver = CoopWeaver;
CoopWeaver.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-weaver.ts";
exports.default = CoopWeaver;
//# sourceMappingURL=coop-vynthra-weaver.js.map