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