LootModuleSaveData
A internal class in Root.Township, Alta.Loot. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.
Save data (version 5) for LootModule, a loot spawner on a dock group. Internal.
- Listed in World generation
- Inherits or implements
NewSaveData<LootModule, LootModuleSaveData> - Derived types
LootModule,LootModuleSaveData - Attributes
SaveStructure
Constructors
| Member | What it is |
|---|---|
LootModuleSaveData() | Creates a LootModuleSaveData with default values. |
Fields
| Member | What it is |
|---|---|
Biome biome | Override biome for the loot; null means use the chunk's biome. |
float incrementingFailChance | How much the chance to stop filling grows with each dock tried. |
bool isOneOff | If true the module spawns its loot once and then destroys itself. |
float prosperity | Prosperity value the loot is generated with, which skews rarity. |
float respawnFrequency | Seconds between refills. Values under 60 (the default is -1) are ignored and the prefab's value is kept. |
TimeSpan waitToRefill | Time left on the refill timer. |