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. |