A internal class in Root.Township, Alta.Loot. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Old save format (version 3) for LootModule, which added isOneOff. Migrates to LootModuleSaveData4.
Constructors
Fields
| Member | What it is |
|---|
Biome biome | Override biome for the loot. |
bool hasRun | Whether the module had spawned loot. |
float incrementingFailChance | How much the chance to stop filling grows with each dock tried. |
bool isOneOff | Whether the module spawned once and then destroyed itself. Lost on migration. |
float prosperity | Prosperity value the loot is generated with. |
TimeSpan waitToRefill | Time left on the refill timer. |
Methods
| Member | What it is |
|---|
override SaveData Migrate() | Converts to version 4 with respawnFrequency set to -1. isOneOff is not copied, so it becomes false. |