Show / Hide Table of Contents

Class SmelterConversionConfig

Used to add new ItemConversions to the Smelter
Inheritance
System.Object
ConversionConfig
SmelterConversionConfig
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 SmelterConversionConfig : ConversionConfig

Properties

| Improve this Doc View Source

Station

The name of the station prefab this conversion is added to. Defaults to "smelter".
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 SmelterConversionConfig from a JSON string
Declaration
public static SmelterConversionConfig FromJson(string json)
Parameters
Type Name Description
System.String json JSON text
Returns
Type Description
SmelterConversionConfig Loaded SmelterConversionConfig
| Improve this Doc View Source

GetItemConversion()

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

ListFromJson(String)

Loads a list of SmelterConversionConfigs from a JSON string
Declaration
public static List<SmelterConversionConfig> ListFromJson(string json)
Parameters
Type Name Description
System.String json JSON text
Returns
Type Description
System.Collections.Generic.List<SmelterConversionConfig> Loaded list of SmelterConversionConfigs

Extension Methods

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