ResourceDropChance
A class in Root.Township, Alta.Impact.
One possible resource drop with its weighting, used in BoulderDefinition.ResourcesDropChances.
- Listed in Items, inventory and logic
Constructors
| Member | What it is |
|---|---|
ResourceDropChance() | Creates a ResourceDropChance with default values. |
Fields
| Member | What it is |
|---|---|
float dropWeighting | Weighting from 0 to 1 for this resource. |
Item resourceDefinition | The item that can drop. |
Used in
Members of other types that take, return or hold a ResourceDropChance: