Class Recipe
Used in Factory to determine outputs
Inheritance
System.Object
Recipe
Assembly: Collapse.dll
Syntax
public class Recipe : object
Constructors
Recipe(String)
Declaration
public Recipe(string recipeID)
Parameters
Type |
Name |
Description |
System.String |
recipeID |
|
Properties
Declaration
public FoodRecipe FoodInput { get; set; }
Property Value
Declaration
public List<InventoryItem> Input { get; set; }
Property Value
Output
Declaration
public List<InventoryItem> Output { get; set; }
Property Value
OverrideOutputCountMax
Declaration
public int OverrideOutputCountMax { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
OverrideOutputCountMin
Declaration
public int OverrideOutputCountMin { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ProductionTime
Declaration
public int ProductionTime { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Skill
Declaration
public EGameActivity Skill { get; set; }
Property Value
SkillBonus
Declaration
public int SkillBonus { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Clone(String)
Declaration
public Recipe Clone(string to)
Parameters
Type |
Name |
Description |
System.String |
to |
The item ID to clone this Agent's data to
|
Returns
Type |
Description |
Recipe |
A copy of this AgentData
|
Get the Input JSON property.
Declaration
public List<InventoryItem> GetInput()
Returns
GetOutput()
Get the Output JSON property.
Declaration
public List<InventoryItem> GetOutput()
Returns
Set the Input JSON property.
Declaration
public void SetInput(List<InventoryItem> value)
Parameters
SetOutput(List<InventoryItem>)
Set the Output JSON property.
Declaration
public void SetOutput(List<InventoryItem> value)
Parameters