|
static bool | AddCloudFromTexture (Mod mod, string texture, float spawnChance=1f, bool rareCloud=false) |
| Registers a new cloud with the provided texture, spawn chance, and indication if the cloud belongs to the "rare cloud" category. Use this to manually load a modded cloud rather than making a ModCloud class or autoloading the cloud through Mod.CloudAutoloadingEnabled logic.
|
|
static bool | AddCloudFromTexture< TCloud > (Mod mod, string texture, float spawnChance=1f, bool rareCloud=false) |
| Registers a new cloud with the provided texture, spawn chance, and indication if the cloud belongs to the "rare cloud" category. Typically used with SimpleModCloud as TCloud for cloud with no additional logic. Use this to manually load a modded cloud rather than making a ModCloud class or autoloading the cloud through Mod.CloudAutoloadingEnabled logic. More...
|
|
static ? int | ChooseCloud (float vanillaPool, bool rare) |
|