Skip to main content

LootModuleSaveData2

A internal class in Root.Township, Alta.Loot. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Old save format (version 2) for LootModule. Migrates to LootModuleSaveData3.

Constructors​

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

Fields​

MemberWhat it is
Biome biomeOverride biome for the loot.
bool hasRunWhether the module had spawned loot.
float incrementingFailChanceHow much the chance to stop filling grows with each dock tried.
float prosperityProsperity value the loot is generated with.
TimeSpan waitToRefillTime left on the refill timer.

Methods​

MemberWhat it is
override SaveData Migrate()Copies every field into version 3.