RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Artifacts.Machines

Machines Class

An artifact class which provides the main API related to controlling which drones the enemy may spawn with.

public class Machines : Chen.GradiusMod.Artifacts.ArtifactBase<Chen.GradiusMod.Artifacts.Machines.Machines>

Inheritance System.Object 🡒 ModuleBase 🡒 ArtifactBase 🡒 Chen.GradiusMod.Artifacts.ArtifactBase<Machines> 🡒 Machines

Methods  
AddEnemyDroneType(GameObject, int) Adds a drone to the spawn pool for the enemies.
AssignEnemyDroneAsGrounded(string) Assigns a drone as grounded. This will be used to determine if the drone should be repositioned to the ground to avoid floating stationary drones.
RemoveEnemyDroneType(GameObject) Removes a drone from the spawn pool for the enemies.
ShouldSuppressBrokenDrone(CharacterBody) Checks if the drone should not leave a repurchasable broken drone behind upon death.
Drones owned by enemies, and drones that were given by this artifact, are never repurchasable.
UnassignEnemyDroneAsGrounded(string) Unassigns a drone from being grounded.