Barotrauma Client Doc
Barotrauma.FabricationRecipe Class Reference

Classes

class  RequiredItem
 
class  RequiredItemByIdentifier
 
class  RequiredItemByTag
 

Public Member Functions

 FabricationRecipe (ContentXElement element, Identifier itemPrefab)
 

Public Attributes

readonly Identifier TargetItemPrefabIdentifier
 
readonly ImmutableArray< RequiredItemRequiredItems
 
readonly ImmutableArray< IdentifierSuitableFabricatorIdentifiers
 
readonly float RequiredTime
 
readonly int RequiredMoney
 
readonly bool RequiresRecipe
 
readonly float OutCondition
 
readonly ImmutableArray< SkillRequiredSkills
 
readonly uint RecipeHash
 
readonly int Amount
 
readonly? int Quality
 
readonly bool HideForNonTraitors
 
readonly int FabricationLimitMin
 How many of this item the fabricator can create (< 0 = unlimited) More...
 

Properties

ItemPrefab TargetItem [get]
 
LocalizedString DisplayName [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ FabricationRecipe()

Barotrauma.FabricationRecipe.FabricationRecipe ( ContentXElement  element,
Identifier  itemPrefab 
)

Member Data Documentation

◆ Amount

readonly int Barotrauma.FabricationRecipe.Amount

◆ FabricationLimitMin

readonly int Barotrauma.FabricationRecipe.FabricationLimitMin

How many of this item the fabricator can create (< 0 = unlimited)

Definition at line 230 of file BarotraumaShared/SharedSource/Items/ItemPrefab.cs.

◆ HideForNonTraitors

readonly bool Barotrauma.FabricationRecipe.HideForNonTraitors

◆ OutCondition

readonly float Barotrauma.FabricationRecipe.OutCondition

◆ Quality

readonly? int Barotrauma.FabricationRecipe.Quality

◆ RecipeHash

readonly uint Barotrauma.FabricationRecipe.RecipeHash

◆ RequiredItems

readonly ImmutableArray<RequiredItem> Barotrauma.FabricationRecipe.RequiredItems

◆ RequiredMoney

readonly int Barotrauma.FabricationRecipe.RequiredMoney

◆ RequiredSkills

readonly ImmutableArray<Skill> Barotrauma.FabricationRecipe.RequiredSkills

◆ RequiredTime

readonly float Barotrauma.FabricationRecipe.RequiredTime

◆ RequiresRecipe

readonly bool Barotrauma.FabricationRecipe.RequiresRecipe

◆ SuitableFabricatorIdentifiers

readonly ImmutableArray<Identifier> Barotrauma.FabricationRecipe.SuitableFabricatorIdentifiers

◆ TargetItemPrefabIdentifier

readonly Identifier Barotrauma.FabricationRecipe.TargetItemPrefabIdentifier

Property Documentation

◆ DisplayName

LocalizedString Barotrauma.FabricationRecipe.DisplayName
get

◆ TargetItem

ItemPrefab Barotrauma.FabricationRecipe.TargetItem
get