@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
79 lines • 3.66 kB
JavaScript
"use strict";
/**
* 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)
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.DreadRaiders = void 0;
const dread_classes_js_1 = require("./dread-classes.cjs");
const dread_merc_outpost_js_1 = __importDefault(require("./dread/building/dread-merc-outpost.cjs"));
const dread_hero_js_1 = __importDefault(require("./dread/hero/dread-hero.cjs"));
const dread_flamer_js_1 = __importDefault(require("./dread/unit/dread-flamer.cjs"));
const dread_raider_js_1 = __importDefault(require("./dread/unit/dread-raider.cjs"));
const dread_rover_js_1 = __importDefault(require("./dread/unit/dread-rover.cjs"));
const dread_sniper_js_1 = __importDefault(require("./dread/unit/dread-sniper.cjs"));
// Create concrete Sandbags topbar class
class SandbagsTopbar extends dread_classes_js_1.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
class DreadRaiders extends dread_classes_js_1.DreadRaidersFaction {
constructor() {
super();
this.uuid = "3207bebd-9314-49f3-ad52-e506b7f8877d";
this.name = "Dread Raiders";
// Dread Raiders Talents
this.talents.pillage = new dread_classes_js_1.DreadRaidersTalent({
uuid: "9c5a4563-c60b-41ec-b387-8e14cec9fcd0",
name: "Pillage",
level: 2,
description: "Destroying harvesters and buildings provides hexite",
});
this.talents.advancedSensors = new dread_classes_js_1.DreadRaidersTalent({
uuid: "24f972f7-63e7-41cb-9602-7d126b56ab5d",
name: "Advanced Sensors",
level: 4,
description: "+60% vision & +20% movement speed",
});
this.talents.pirateBunkers = new dread_classes_js_1.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 = [dread_flamer_js_1.default.id, dread_raider_js_1.default.id, dread_rover_js_1.default.id, dread_sniper_js_1.default.id];
// Dread Raiders Buildings
this.buildings = [dread_merc_outpost_js_1.default.id];
// Dread Raiders Heroes
this.heroes = [dread_hero_js_1.default.id];
}
}
exports.DreadRaiders = DreadRaiders;
// Static property for source path
DreadRaiders.src = "src/zerospace/mercenary/dread.ts";
// Export the class as default
exports.default = DreadRaiders;
//# sourceMappingURL=dread.js.map