Skip to main content

PieceSaveData

A class in Root.Township, Alta.Crafting.

Save data for one generic-crafting piece: which piece, whether it's done, its material and how close it is to breaking.

Constructors​

MemberWhat it is
PieceSaveData()Creates a PieceSaveData with default values.

Fields​

MemberWhat it is
float failureHealthRemaining failure health. Nail hits take failure damage off it; below zero the project fails, and lower values raise the chance the piece pops out.
int hashHash identifying the piece.
bool isCompleteWhether the piece is finished.
PhysicalMaterial materialPhysical material the piece is made of.

Used in​

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