Class RequirementConfig
Configuration class for requirements needed to craft items or build pieces.
Inheritance
RequirementConfig
Assembly: Jotunn.dll
Syntax
public class RequirementConfig
Constructors
Properties
Name |
Description |
Amount
|
Amount that is needed to fulfill the requirement. Defaults to 1. |
AmountPerLevel
|
How much more of this requirement is needed per item level. Defaults to 0. |
Item
|
Name of the item prefab of this requirement. |
Recover
|
Determines if the used requirement will be rewarded again after dismanteling a piece. Defaults to false. |
Methods
Name |
Description |
GetRequirement()
|
Creates a Valheim Piece.Requirement from this config. |
IsValid()
|
Checks if the requirement has any item and amount set. |
Extension Methods