RoR2-ChensGradiusMod

Gradius Mod in Risk of Rain 2.

View on GitHub

ChensGradiusMod

Chen.GradiusMod.Artifacts

ArtifactBase Class

The base class of the artifacts of this mod.

public abstract class ArtifactBase : Chen.GradiusMod.Modules.ModuleBase

Inheritance System.Object 🡒 ModuleBase 🡒 ArtifactBase

Derived
↳ ArtifactBase<T>

Properties  
artifactDef The ArtifactDef of this artifact. Available after SetupAttributes.
configCategoryPrefix The prefix of the config section that is used by the module, e.g. “Items” or “Artifacts”.
displayName The display name of the artifact.
iconResource The icon of the artifact when it is enabled.
iconResourceDisabled The icon of the artifact when it is disabled.
tokenPrefix The prefix of the language tokens of the artifact.
Methods  
IsActiveAndEnabled() Checks if the artifact is enabled in the current run.
SetupAttributes() Creates and registers the definitions of the module to the game, such as the ItemDef or the ArtifactDef.