Class ShopSettings

Namespace
SurvivorsMaker.Run
Assembly
SurvivorsMaker.Run.dll
public sealed class ShopSettings
Inheritance
ShopSettings
Inherited Members

Constructors

ShopSettings()

public ShopSettings()

Fields

LockKeepsPrice

Locked offers keep their old price into later shops.

public bool LockKeepsPrice

Field Value

bool

MergeOnFullSlots

Buying a weapon with full slots merges it into an owned copy when it has a next tier.

public bool MergeOnFullSlots

Field Value

bool

MinPrice

public int MinPrice

Field Value

int

MinRefund

public int MinRefund

Field Value

int

MinRerollBase

public int MinRerollBase

Field Value

int

MinRerollStep

public int MinRerollStep

Field Value

int

PriceBase

Price = round(BasePrice × (PriceBase + max(0, wave − PriceStartWave) × PricePerWave)), at least MinPrice.

public float PriceBase

Field Value

float

PricePerWave

public float PricePerWave

Field Value

float

PriceStartWave

public int PriceStartWave

Field Value

int

RecycleRatio

Recycle refund = round(current price × RecycleRatio), at least MinRefund.

public float RecycleRatio

Field Value

float

RerollBasePerWave

Reroll cost = max(MinRerollBase, round(wave × RerollBasePerWave)) + rerolls × max(MinRerollStep, round(wave × RerollStepPerWave)).

public float RerollBasePerWave

Field Value

float

RerollStepPerWave

public float RerollStepPerWave

Field Value

float

Slots

public int Slots

Field Value

int

Tiers

public TierTable Tiers

Field Value

TierTable

WeaponChance

Chance (0–1) a slot offers a weapon instead of an item.

public float WeaponChance

Field Value

float

WeaponSlots

public int WeaponSlots

Field Value

int