Skip to content

VariantConfig

Nebby edited this page Jul 12, 2021 · 2 revisions

VariantConfig

The VariantConfig is a scriptable object which's main purpose is to store values related to the ConfigFile of your mod.

Its divided into 2 separate categories.

Variant Config

Variable Name Description
Spawn Rate Dictates how frequent the variant spawns
Value has no effect on the Variant's Tier
nor is it modified by it.
Is Unique Wether or not the variant can have overlaps
not 100% reliable.
Identifier The Unique Identifier of the VariantInfo
the VariantConfig is attatched to

Mod Atributes

(Mod Attributes are used mainly for modded variants, do not touch these settings unless the VariantConfig youre creating is for a modded variant!)

Variable Name Description
Is Modded Wether or not the variant requires another mod to function correctly
this does not affect the process of VariantRegistration
Only used for the ConfigFile.
Mod Name The Required mod's name for the Variant to function correctly
used mainly in the config file
Mod Author The author of the mod required for the variant to function correctly
used mainly in the config file
Mod GUID The GUID of the mod required for the variant to function correctly
this MUST match the required mod's internal GUID.

Clone this wiki locally