Skip to main content

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.

Constructors​

MemberWhat it is
LootModuleSaveData()Creates a LootModuleSaveData with default values.

Fields​

MemberWhat it is
Biome biomeOverride biome for the loot; null means use the chunk's biome.
float incrementingFailChanceHow much the chance to stop filling grows with each dock tried.
bool isOneOffIf true the module spawns its loot once and then destroys itself.
float prosperityProsperity value the loot is generated with, which skews rarity.
float respawnFrequencySeconds between refills. Values under 60 (the default is -1) are ignored and the prefab's value is kept.
TimeSpan waitToRefillTime left on the refill timer.