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
MergeOnFullSlots
Buying a weapon with full slots merges it into an owned copy when it has a next tier.
public bool MergeOnFullSlots
Field Value
MinPrice
public int MinPrice
Field Value
MinRefund
public int MinRefund
Field Value
MinRerollBase
public int MinRerollBase
Field Value
MinRerollStep
public int MinRerollStep
Field Value
PriceBase
Price = round(BasePrice × (PriceBase + max(0, wave − PriceStartWave) × PricePerWave)), at least MinPrice.
public float PriceBase
Field Value
PricePerWave
public float PricePerWave
Field Value
PriceStartWave
public int PriceStartWave
Field Value
RecycleRatio
Recycle refund = round(current price × RecycleRatio), at least MinRefund.
public float RecycleRatio
Field Value
RerollBasePerWave
Reroll cost = max(MinRerollBase, round(wave × RerollBasePerWave)) + rerolls × max(MinRerollStep, round(wave × RerollStepPerWave)).
public float RerollBasePerWave
Field Value
RerollStepPerWave
public float RerollStepPerWave
Field Value
Slots
public int Slots
Field Value
Tiers
public TierTable Tiers
Field Value
WeaponChance
Chance (0–1) a slot offers a weapon instead of an item.
public float WeaponChance
Field Value
WeaponSlots
public int WeaponSlots