@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
25 lines • 1.17 kB
JavaScript
/**
* Weaver - Vynthra Commander Unit
* Clean inheritance from faction Weaver with all properties and abilities
*/
import Weaver from "../../../../faction/grell/unit/weaver.js";
export class CoopWeaver extends Weaver {
constructor() {
super();
this.internalId = undefined;
this.internalPath = undefined;
// Generate composite UUID: {parent-uuid}:coop-vynthra
this.setVariantUUID("coop-vynthra");
// Dual unlock system: Building + Commander Level
this.unlockedBy = [
"coop/commander/vynthra/building/coop-vynthra-special-augmentation-pool", // Building requirement (from parent)
this.commanderLevelId(7), // Commander level 7 requirement
];
// Coop-specific relationships (replicate parent with coop references)
this.createdBy = ["coop/commander/vynthra/building/coop-vynthra-large-incubator"];
this.upgradedBy = ["coop/commander/vynthra/building/coop-vynthra-special-augmentation-pool"];
}
}
CoopWeaver.src = "src/zerospace/coop/commander/vynthra/unit/coop-vynthra-weaver.ts";
export default CoopWeaver;
//# sourceMappingURL=coop-vynthra-weaver.js.map