SmeltingRecipe
A class in Root.Township, Alta.Blacksmithing.
A smelter recipe asset: the items that go in, what comes out and how much fuel it needs. Looked up by hash like other HashedGeneralValue assets.
- Listed in Crafting and making
- Inherits or implements
HashedGeneralValue<SmeltingRecipe> - Derived types
SmeltingRecipe,SmeltingRecipe.Create - Nested types
Create - Documented in Smelting and forging
Constructors
| Member | What it is |
|---|---|
SmeltingRecipe() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
3 private and internal fields
Properties
| Member | What it is |
|---|---|
float Duration { get; } | Fuel the smelter must hold for this recipe to match, and the fuel it then burns. Defaults to 2. |
ItemCount[] Input { get; } | Items and counts the smelter must contain. The smelter's contents must match these item types exactly. |
ItemCount[] Output { get; } | Items and counts the smelter produces when the recipe finishes. |
Used in
Members of other types that take, return or hold a SmeltingRecipe: