Skip to main content

ForestBridges.Option

A private class in Root.Township, Alta.Forests. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

One bridge piece ForestBridges can place across a river, with spline settings and a pick weight.

Constructors​

MemberWhat it is
Option()Creates a ForestBridges.Option with default values.

Fields​

MemberWhat it is
GameObject displayThe bridge object. Its StaticEnvironmentPieceInstance is used if piece is not set.
float handleHeightHeight added to the spline's middle control points.
float handleLengthDistance from each end to its spline control point, along the path.
StaticEnvironmentPieceInstance pieceThe static environment piece placed along the spline.
float startHeightHeight added to both ends of the bridge.
float startOffsetDistance each end is pushed back along its path from the river crossing.
float weightRelative chance this option is picked.

Used in​

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