ZSGG Public Library
Jungle AI
Non-Player Faction
/**
* Jungle-AI Nonplayer Faction
* Hostile non-player faction that guards XP towers
*
* Nonplayer faction structure:
* - Simple units only (1)
* - No heroes, buildings, abilities, or topbars
* - Basic guardian creatures for neutral structures
*/
import { JungleAIFaction } from "../../defaults/jungle-ai.js";
// Import Jungle-AI units
class JungleAI extends JungleAIFaction {
override uuid: string;
// Static property for source path
static override src = "src/zerospace/nonplayer/jungle-ai.ts";
// Readonly properties (never change after creation)
constructor() {
super();
this.name = "Jungle AI";
this.uuid = "b0559bc1-3524-4139-a97b-acef2091eda5";
// Add units - Guardian arsenal with campaign units
this.units = [
"nonplayer/jungle-ai/unit/bulky-spiderling",
"nonplayer/jungle-ai/unit/drillbot",
"nonplayer/jungle-ai/unit/ravager",
"nonplayer/jungle-ai/unit/angry-crab",
];
}
}
// Export the class as default
export default JungleAI;