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 | Whether the item is dropped after deconstructing a piece. Defaults to true. | 
    
  
  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