Skip to main content

StorageStatParameters

A class in Root.Township, the global namespace.

Item component that scales the weight of what's stored inside the item, optionally only for one dock type.

Constructors​

MemberWhat it is
StorageStatParameters()Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets.

Fields​

2 private and internal fields
MemberWhat it is
private PickupDockSettings pickupDockSettingsBacking field for WeightMultiplierDockSettings.
private float weightMultiplierBacking field for StorageWeightMultiplier.

Properties​

MemberWhat it is
float StorageWeightMultiplier { get; }Multiplier applied to the stored contents' weight.
PickupDockSettings WeightMultiplierDockSettings { get; }The dock type the multiplier applies to.