UNPKG

@zerospacegg/iolin

Version:

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

72 lines 3.06 kB
/** * Dread Raiders Mercenary Faction * Robin Hood-style space pirates who redistribute wealth from corporate powers to forgotten colonies * * Mercenary faction structure: * - Two talents (Pillage, Advanced Sensors) * - Four units (Dread Flamer, Dread Raider, Dread Rover, Dread Sniper) * - One outpost building (Dread Merc Outpost) * - One hero (Dread Hero) * - One topbar (Sandbags) */ import { DreadRaidersFaction, DreadRaidersTalent, DreadRaidersTopbar } from "./dread-classes.js"; import DreadMercOutpost from "./dread/building/dread-merc-outpost.js"; import DreadHero from "./dread/hero/dread-hero.js"; import DreadFlamer from "./dread/unit/dread-flamer.js"; import DreadRaider from "./dread/unit/dread-raider.js"; import DreadRover from "./dread/unit/dread-rover.js"; import DreadSniper from "./dread/unit/dread-sniper.js"; // Create concrete Sandbags topbar class class SandbagsTopbar extends DreadRaidersTopbar { constructor() { super(); this.description = "Drop sandbags at targeted location. Sandbags block enemy shots and movement. Sandbags have 200 HP."; this.name = "Sandbags"; this.energyCost = 1; this.cooldown = 6; this.slot = 6; this.uuid = "d97e9723-985b-49a3-b946-16e2026d4656"; this.name = "Dread Raiders"; this.uuid = "3207bebd-9314-49f3-ad52-e506b7f8877d"; } } // Create concrete Dread Raiders faction class export class DreadRaiders extends DreadRaidersFaction { constructor() { super(); this.uuid = "3207bebd-9314-49f3-ad52-e506b7f8877d"; this.name = "Dread Raiders"; // Dread Raiders Talents this.talents.pillage = new DreadRaidersTalent({ uuid: "9c5a4563-c60b-41ec-b387-8e14cec9fcd0", name: "Pillage", level: 2, description: "Destroying harvesters and buildings provides hexite", }); this.talents.advancedSensors = new DreadRaidersTalent({ uuid: "24f972f7-63e7-41cb-9602-7d126b56ab5d", name: "Advanced Sensors", level: 4, description: "+60% vision & +20% movement speed", }); this.talents.pirateBunkers = new DreadRaidersTalent({ uuid: "8a7b6c5d-4e3f-2a1b-9c8d-7e6f5a4b3c2d", name: "Pirate Bunkers", level: 6, description: "May build 2 additional mercenary taverns (work as bunkers). Gain 3 Dread hovercrafts immediately. Hovercrafts lay mines (30 damage + slow)", }); // Dread Raiders Topbar this.topbars.sandbags = new SandbagsTopbar(); // Dread Raiders Units this.units = [DreadFlamer.id, DreadRaider.id, DreadRover.id, DreadSniper.id]; // Dread Raiders Buildings this.buildings = [DreadMercOutpost.id]; // Dread Raiders Heroes this.heroes = [DreadHero.id]; } } // Static property for source path DreadRaiders.src = "src/zerospace/mercenary/dread.ts"; // Export the class as default export default DreadRaiders; //# sourceMappingURL=dread.js.map