@zerospacegg/iolin
Version:
Pure TypeScript implementation of ZeroSpace game data processing (PKL-free)
31 lines • 1.21 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.
*/
import { NonPlayerFaction } from "../../engine/faction.js";
/**
* Neutral Faction - Environmental and objective structures
* Provides destructible terrain and strategic objectives for all maps
*/
class NeutralFaction extends 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
export default NeutralFaction;
//# sourceMappingURL=neutral.js.map