The Reinforcement System - TeamPeril/Sculk-Horde GitHub Wiki
Introduction
Reinforcements in this mod is how the Sculk Horde summons mobs to be used for combat and utility. Depending on the state of the Gravemind will determine how the Horde reacts to threats in it's environment. Every unit costs a resource called Sculk Mass to summon.
How does it Work?
The main source of reinforcements you will encounter will be through Sculk Summoners. When triggered through Sculk Sensors, Sculk Summoners will collect information about their environment and the type of threat they are dealing with and send this information and a reinforcement request to the Gravemind. The Gravemind will determine what unit(s) are appropriate to summon. It will then summon the reinforcements in the world at the desired location.
There are other entities that call for reinforcements like the Ancient Sculk Node which spawns Sculk Spore Spewer when triggered. The Sculk Enderman also spawns in reinforcements of all types to help assist in combat. Blocks of Sculk Mass will spawn random units.
How is the process affected by the Gravemind?
This process is heavily determined by the state of the Gravemind. The types of units available and the process of selecting the type of unit to reinforce is all determined by this.
The Undeveloped Stage
In this stage, the Gravemind only has access to the Sculk Mite, Sculk Mite Aggressor, and the Sculk Spore Spewer to spawn as reinforcements. The Gravemind will spawn these at random regardless if the target is considered hostile or not.
The Immature Stage
In this stage, the Gravemind is more organized and strategic. The Gravemind will send infector-class units to attack non-hostile mobs. It will send combat-class mobs to attack hostile-mobs. The rest of the Sculk-infested units are now available to be summoned as reinforcements.
The Mature Stage
Same as Immature Stage for now. In the future, it will summon units to specifically counter different types of units based on attributes.