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.
- Listed in Crafting and making
Constructors
| Member | What it is |
|---|---|
PieceSaveData() | Creates a PieceSaveData with default values. |
Fields
| Member | What it is |
|---|---|
float failureHealth | Remaining 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 hash | Hash identifying the piece. |
bool isComplete | Whether the piece is finished. |
PhysicalMaterial material | Physical material the piece is made of. |
Used in
Members of other types that take, return or hold a PieceSaveData: