A internal class in Root.Township, Alta.Loot. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Old save format (version 4) for LootModule, which added respawnFrequency. Migrates to LootModuleSaveData.
Constructors
Fields
| Member | What it is |
|---|
Biome biome | Override biome for the loot. |
bool hasRun | Whether the module had spawned loot. Dropped on migration. |
float incrementingFailChance | Saved fail chance increment. Replaced with 0.01 on migration. |
bool isOneOff | Whether the module spawned once and then destroyed itself. Dropped on migration. |
float prosperity | Prosperity value the loot is generated with. |
float respawnFrequency | Seconds between refills; -1 means not set. |
TimeSpan waitToRefill | Time left on the refill timer. |
Methods
| Member | What it is |
|---|
override SaveData Migrate() | Converts to the current format but resets incrementingFailChance to 0.01 and drops isOneOff and hasRun. |