Show / Hide Table of Contents

Class FermenterConversionConfig

Used to add new ItemConversions to the Fermenter
Inheritance
System.Object
ConversionConfig
FermenterConversionConfig
Inherited Members
ConversionConfig.FromItem
ConversionConfig.ToItem
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 Source

ProducedItems

The amount of items one conversion yields. Defaults to 4.
Declaration
public int ProducedItems { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

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
ConversionConfig.Station

Methods

| Improve this Doc View Source

FromJson(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
| Improve this Doc View Source

GetItemConversion()

Turns the FermenterConversionConfig into a Valheim Fermenter.ItemConversion item.
Declaration
public Fermenter.ItemConversion GetItemConversion()
Returns
Type Description
Fermenter.ItemConversion The Valheim Fermenter.ItemConversion
| Improve this Doc View Source

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

Extension Methods

PrefabExtension.FixReferences(Object)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾