UNPKG

@zerospacegg/iolin

Version:

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

70 lines 2.85 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 "../../defaults/dread.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"; } } // 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 = [ "mercenary/dread/unit/dread-flamer", "mercenary/dread/unit/dread-raider", "mercenary/dread/unit/dread-rover", "mercenary/dread/unit/dread-sniper", ]; // Dread Raiders Buildings this.buildings = ["mercenary/dread/building/dread-merc-outpost"]; // Dread Raiders Heroes this.heroes = ["mercenary/dread/hero/dread-hero"]; } } // Static property for source path DreadRaiders.src = "src/zerospace/mercenary/dread.ts"; // Export the class as default export default DreadRaiders; //# sourceMappingURL=dread.js.map