MiningBaseGenerator.PartOption
A class in Root.Township, the global namespace.
A structure part the mining base generator can pick, with a weight that can grow with a biome attribute.
- Listed in Global namespace: M to O
- Nested in
MiningBaseGenerator
Constructors
| Member | What it is |
|---|---|
PartOption() | Creates a MiningBaseGenerator.PartOption with default values. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private BiomeAttribute attribute | Backing field for Attribute. |
private float attributeMultiplier | Backing field for AttributeMultiplier. |
private float chance | Backing field for Chance. |
private StructurePart part | Backing field for Part. |
Properties
| Member | What it is |
|---|---|
BiomeAttribute Attribute { get; } | Biome attribute that adds to the weight. |
float AttributeMultiplier { get; } | How much the attribute's value adds to the weight. |
float Chance { get; } | Base weight for picking this part. |
StructurePart Part { get; } | The structure part. |
Used in
Members of other types that take, return or hold a PartOption: