@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
47 lines • 1.54 kB
JavaScript
/**
* Nourishing Pod - Grell T1 supply building
* Living sanctuary with healing abilities and symbiotic regeneration
*/
import { Heal } from "../../../../engine/ability.js";
import { GrellSupplyBuilding } from "../../grell-classes.js";
import Seedling from "../unit/seedling.js";
import Incubator from "./incubator.js";
import RootColony from "./root-colony.js";
export class NourishingPod extends 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.id];
this.unlockedBy = [RootColony.id];
// this.upgradedBy = [];
// Tech unlocks
this.unlocks = [Incubator.id];
// Healing ability
this.heals.heal = new Heal({
name: "Heal",
healing: 15,
cooldown: 1.0,
energyCost: 4,
parentId: this.id,
parentUUID: this.uuid,
});
}
}
// Static property for source path
NourishingPod.src = "src/zerospace/faction/grell/building/nourishing-pod.ts";
export default NourishingPod;
//# sourceMappingURL=nourishing-pod.js.map