Class FermenterConversionConfig
Used to add new ItemConversions to the Fermenter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class FermenterConversionConfig : ConversionConfig
Properties
| Improve this Doc View SourceProducedItems
The amount of items one conversion yields. Defaults to 4.
Declaration
public int ProducedItems { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Station
The name of the station prefab this conversion is added to. Defaults to "fermenter".
Declaration
public override string Station { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceFromJson(String)
Loads a single FermenterConversionConfig from a JSON string
Declaration
public static FermenterConversionConfig FromJson(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | JSON text |
Returns
Type | Description |
---|---|
FermenterConversionConfig | Loaded FermenterConversionConfig |
GetItemConversion()
Turns the FermenterConversionConfig into a Valheim Fermenter.ItemConversion item.
Declaration
public Fermenter.ItemConversion GetItemConversion()
Returns
Type | Description |
---|---|
Fermenter.ItemConversion | The Valheim Fermenter.ItemConversion |
ListFromJson(String)
Loads a list of FermenterConversionConfigs from a JSON string
Declaration
public static List<FermenterConversionConfig> ListFromJson(string json)
Parameters
Type | Name | Description |
---|---|---|
System.String | json | JSON text |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<FermenterConversionConfig> | Loaded list of FermenterConversionConfigs |