ZSGG Public Library
Wall
Neutral T0 Special Building
import { SpecialBuilding } from "../../../../engine/building.js";
/**
* Wall - Player-built defensive barrier
* Players can build a line of Walls to block off areas; enemy ground units must
* destroy them to make a path. Effectively the player-controlled counterpart to
* destructible rocks. Used in a coop mission (and possibly survival mode).
*/
class Wall extends SpecialBuilding {
override uuid: string;
static override src = "src/zerospace/nonplayer/neutral/building/wall.ts";
constructor() {
super();
this.name = "Wall";
this.tier = "T0";
this.uuid = "bcd27df4-bf65-43f0-9406-bf255e182875";
this.faction = "neutral";
this.factionName = "Neutral";
this.internalId = "Building_Corp_Wall_C";
this.internalPath = "/Game/Nova/Archetypes_Buildings/Building_Corp_Wall.Default__Building_Corp_Wall_C";
this.internalTags = ["Select.Building", "Attackable.Building"];
this.internalSecondaryTags = [];
// Built with Scrap (no scrap-cost field in the engine yet): 50 Scrap, 10s construction.
this.buildTime = 10;
this.hp = 2000;
this.hexiteCost = 50;
this.armor = 0;
this.armorType = "building";
}
}
export default Wall;