@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
37 lines • 1.52 kB
JavaScript
;
/**
* 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.
*/
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const faction_js_1 = require("../../engine/faction.cjs");
const rocks_js_1 = __importDefault(require("./neutral/building/rocks.cjs"));
const xp_tower_js_1 = __importDefault(require("./neutral/building/xp-tower.cjs"));
/**
* Neutral Faction - Environmental and objective structures
* Provides destructible terrain and strategic objectives for all maps
*/
class NeutralFaction extends faction_js_1.NonPlayerFaction {
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 = [rocks_js_1.default.id, xp_tower_js_1.default.id];
}
}
// Static property for source path
NeutralFaction.src = "src/zerospace/nonplayer/neutral.ts";
// Export the class as default
exports.default = NeutralFaction;
//# sourceMappingURL=neutral.js.map