UNPKG

@zerospacegg/iolin

Version:

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

33 lines 1.3 kB
"use strict"; /** * Neutral Faction - Environmental Objects * Destructible rocks and XP towers for map objectives * * The Neutral faction represents environmental objects and map features * that players can interact with during gameplay. This includes destructible * terrain obstacles and strategic XP towers that provide experience bonuses. */ Object.defineProperty(exports, "__esModule", { value: true }); const faction_js_1 = require("../../engine/faction.cjs"); /** * Neutral Faction - Environmental and objective structures * Provides destructible terrain and strategic objectives for all maps */ class NeutralFaction extends faction_js_1.NonPlayerFaction { // Readonly properties (never change after creation) constructor() { super(); this.name = "Neutral"; this.uuid = "0dcd2b46-5cc4-4555-9d99-46de77a05852"; // Set faction properties this.faction = "neutral"; this.factionName = "Neutral"; // Add neutral buildings this.buildings = ["nonplayer/neutral/building/rocks", "nonplayer/neutral/building/xp-tower"]; } } // Static property for source path NeutralFaction.src = "src/zerospace/nonplayer/neutral.ts"; // Export the class as default exports.default = NeutralFaction; //# sourceMappingURL=neutral.js.map