UNPKG

@zerospacegg/iolin

Version:

Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)

105 lines 3.47 kB
"use strict"; /** * Dread Raiders Classes - Mercenary faction classes * Dread Raiders are ruthless space pirates and raiders who strike fear across the galaxy * As a merc faction, they have: few talents, few units, outpost buildings, no hero, multiple topbars */ Object.defineProperty(exports, "__esModule", { value: true }); exports.DreadRaidersUnit = exports.DreadRaidersBuilding = exports.DreadRaidersOutpost = exports.DreadRaidersHeroUnit = exports.DreadRaidersMercUnit = exports.DreadRaidersFaction = exports.DreadRaidersTopbar = exports.DreadRaidersTalent = void 0; const ability_js_1 = require("../engine/ability.cjs"); const building_js_1 = require("../engine/building.cjs"); const faction_js_1 = require("../engine/faction.cjs"); const unit_js_1 = require("../engine/unit.cjs"); /** * Dread Raiders-specific talent that automatically sets abilityOf to "dread-raiders" */ class DreadRaidersTalent extends ability_js_1.FactionTalent { get type() { return "ability"; } constructor(props) { super(props); this.faction = "dread"; this.factionName = "Dread Raiders"; } get abilityOf() { return "dread"; } } exports.DreadRaidersTalent = DreadRaidersTalent; /** * Dread Raiders-specific topbar that automatically sets abilityOf to "dread-raiders" */ class DreadRaidersTopbar extends ability_js_1.Topbar { get type() { return "ability"; } get abilityOf() { return "dread"; } constructor() { super(); } } exports.DreadRaidersTopbar = DreadRaidersTopbar; /** * Dread Raiders faction class extending MercenaryFaction */ class DreadRaidersFaction extends faction_js_1.MercFaction { constructor() { super(); // Set faction properties this.faction = "dread"; this.factionName = "Dread Raiders"; // Dread Raiders are ruthless space pirates and raiders } } exports.DreadRaidersFaction = DreadRaidersFaction; /** * Dread Raiders merc unit class - pirates, raiders, and scavengers */ class DreadRaidersMercUnit extends unit_js_1.MercUnit { constructor() { super(); this.faction = "dread"; this.factionName = "Dread Raiders"; // Dread Raiders units are hardened pirates and raiders } } exports.DreadRaidersMercUnit = DreadRaidersMercUnit; /** * Dread Raiders hero unit class - enigmatic leaders with Robin Hood philosophy */ class DreadRaidersHeroUnit extends unit_js_1.HeroUnit { constructor() { super(); this.faction = "dread"; this.factionName = "Dread Raiders"; // Dread Raiders heroes are enigmatic leaders fighting corporate oppression } } exports.DreadRaidersHeroUnit = DreadRaidersHeroUnit; /** * Dread Raiders outpost building class - pirate bases and raider camps */ class DreadRaidersOutpost extends building_js_1.SpecialBuilding { constructor() { super(); this.faction = "dread"; this.factionName = "Dread Raiders"; // Dread Raiders outposts are fortified pirate bases } get buildingType() { return "merc-outpost"; } } exports.DreadRaidersOutpost = DreadRaidersOutpost; /** * Alias for DreadRaidersOutpost to match expected naming convention */ exports.DreadRaidersBuilding = DreadRaidersOutpost; /** * Alias for DreadRaidersMercUnit to match expected naming convention */ exports.DreadRaidersUnit = DreadRaidersMercUnit; //# sourceMappingURL=dread.js.map