@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
54 lines • 2 kB
JavaScript
"use strict";
/**
* Nourishing Pod - Grell T1 supply building
* Living sanctuary with healing abilities and symbiotic regeneration
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.NourishingPod = void 0;
const ability_js_1 = require("../../../../engine/ability.cjs");
const grell_classes_js_1 = require("../../grell-classes.cjs");
const seedling_js_1 = __importDefault(require("../unit/seedling.cjs"));
const incubator_js_1 = __importDefault(require("./incubator.cjs"));
const root_colony_js_1 = __importDefault(require("./root-colony.cjs"));
class NourishingPod extends grell_classes_js_1.GrellSupplyBuilding {
constructor() {
super();
this.name = "Nourishing Pod";
this.tier = "T0";
this.hotkey = "W";
this.hexiteCost = 100;
this.fluxCost = 0;
this.buildTime = 12;
this.buildCount = 1;
this.maxAddOns = 0;
this.providesBiomass = 750;
this.uuid = "08fb8408-472c-4589-8df4-b371e5ecf218";
this.hp = 750;
this.shields = 0;
this.armor = 1;
this.armorType = "building";
this.speed = 0;
this.createdBy = [seedling_js_1.default.id];
this.unlockedBy = [root_colony_js_1.default.id];
// this.upgradedBy = [];
// Tech unlocks
this.unlocks = [incubator_js_1.default.id];
// Healing ability
this.heals.heal = new ability_js_1.Heal({
name: "Heal",
healing: 15,
cooldown: 1.0,
energyCost: 4,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
exports.NourishingPod = NourishingPod;
// Static property for source path
NourishingPod.src = "src/zerospace/faction/grell/building/nourishing-pod.ts";
exports.default = NourishingPod;
//# sourceMappingURL=nourishing-pod.js.map