Show / Hide Table of Contents

Class IncineratorConversionConfig

Used to add new IncineratorConversions to the Incinerator
Inheritance
System.Object
ConversionConfig
IncineratorConversionConfig
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 IncineratorConversionConfig : ConversionConfig

Properties

| Improve this Doc View Source

Priority

Priority of this conversion. Lower prioritized conversions will be incinerated first when mulitple conversions requirements are met.
Declaration
public int Priority { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ProducedItems

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

Requirements

List of requirements for this conversion.
Declaration
public List<IncineratorRequirementConfig> Requirements { get; set; }
Property Value
Type Description
System.Collections.Generic.List<IncineratorRequirementConfig>
| Improve this Doc View Source

RequireOnlyOneIngredient

True: Requires only one of the list of ingredients to be able to produce the result. False: All of the ingredients are required. Defaults to false.
Declaration
public bool RequireOnlyOneIngredient { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Station

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

GetIncineratorConversion()

Turns the IncineratorConversionConfig into a Valheim Incinerator.IncineratorConversion item.
Declaration
public Incinerator.IncineratorConversion GetIncineratorConversion()
Returns
Type Description
Incinerator.IncineratorConversion The Valheim Incinerator.IncineratorConversion
| Improve this Doc View Source

ListFromJson(String)

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

Extension Methods

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