Skip to main content

MiningBaseGenerator.Possibility

A struct in Root.Township, the global namespace.

One candidate placement of a structure part in the mining base grid: part, offset, rotation and weight.

Fields​

MemberWhat it is
MiningBaseGenerator.Point offsetGrid cell the part's origin goes in.
StructurePart partThe structure part to place.
int pathCountHow many paths the placement opens, filled in by CheckPossible.
int rotationQuarter turns, 0 to 3.
float weightingChance weight for picking this candidate, including any attribute bonus.

Methods​

MemberWhat it is
override string ToString()Lists the part name, offset, rotation, path count and weighting.

Used in​

Members of other types that take, return or hold a Possibility: