@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
40 lines • 2.53 kB
JavaScript
;
/**
* Medium Incubator - Vynthra Commander Building
* Clean inheritance from faction Medium Incubator 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.CoopMediumIncubator = void 0;
const medium_incubator_js_1 = __importDefault(require("../../../../faction/grell/building/medium-incubator.cjs"));
const coop_vynthra_seedling_js_1 = __importDefault(require("../unit/coop-vynthra-seedling.cjs"));
const coop_vynthra_harbinger_js_1 = __importDefault(require("../unit/coop-vynthra-harbinger.cjs"));
const coop_vynthra_man_eater_js_1 = __importDefault(require("../unit/coop-vynthra-man-eater.cjs"));
const coop_vynthra_thresher_js_1 = __importDefault(require("../unit/coop-vynthra-thresher.cjs"));
const coop_vynthra_incubator_js_1 = __importDefault(require("./coop-vynthra-incubator.cjs"));
const coop_vynthra_large_incubator_js_1 = __importDefault(require("./coop-vynthra-large-incubator.cjs"));
const coop_vynthra_advanced_augmentation_pool_js_1 = __importDefault(require("./coop-vynthra-advanced-augmentation-pool.cjs"));
class CoopMediumIncubator extends medium_incubator_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_incubator_js_1.default.id, // Building requirement
this.commanderLevelId(1), // Commander level 1 requirement
];
// Coop-specific unit creation - reference coop units, not faction ones
this.creates = [coop_vynthra_harbinger_js_1.default.id, coop_vynthra_man_eater_js_1.default.id, coop_vynthra_thresher_js_1.default.id];
// Built by coop builder
this.createdBy = [coop_vynthra_seedling_js_1.default.id];
// Unlocks coop buildings and units
this.unlocks = [coop_vynthra_harbinger_js_1.default.id, coop_vynthra_man_eater_js_1.default.id, coop_vynthra_large_incubator_js_1.default.id, coop_vynthra_advanced_augmentation_pool_js_1.default.id];
}
}
exports.CoopMediumIncubator = CoopMediumIncubator;
CoopMediumIncubator.src = "src/zerospace/coop/commander/vynthra/building/coop-vynthra-medium-incubator.ts";
exports.default = CoopMediumIncubator;
//# sourceMappingURL=coop-vynthra-medium-incubator.js.map