Show / Hide Table of Contents

Class CraftingStations

Helper to get existing crafting station names
Inheritance
object
CraftingStations
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public static class CraftingStations

Properties

Name Description
ArtisanTable Artisan table crafting station
BlackForge Black forge crafting station
Cauldron Cauldron crafting station
FoodPreparationTable Food Preparation Table crafting station
Forge Forge crafting station
GaldrTable Galdr table crafting station
MeadKetill Mead Ketill crafting station
None No crafting station
Stonecutter Stonecutter crafting station
Workbench Workbench crafting station

Methods

Name Description
GetAcceptableValueList() Get a BepInEx.Configuration.AcceptableValueList<T> of all crafting station names. This can be used to create a BepInEx.Configuration.ConfigEntry<T> where only valid crafting stations can be selected.

Example:
var stationConfig = Config.Bind("Section", "Key", nameof(CraftingStations.Workbench), new ConfigDescription("Description", CraftingStations.GetAcceptableValueList()));
GetInternalName(string) Get the internal name for a crafting station from its human readable name.
GetNames() Gets the human readable name to internal names map
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾