Table of Contents

Class BarrelRecipeIngredient

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Defines an ingredient for use in a BarrelRecipe.

public class BarrelRecipeIngredient : CraftingRecipeIngredient
Inheritance
BarrelRecipeIngredient
Inherited Members

Examples

{
	"type": "item",
	"code": "strongtanninportion",
	"litres": 2,
	"consumeLitres": 2
}
{
	"type": "item",
	"code": "hide-prepared-small",
	"quantity": 1
}

Fields

ConsumeLitres (Optional) (Default: Consume All)

How much of the liquid should be consumed in the recipe? This should only be used by recipes with a non-liquid output.

public float? ConsumeLitres

Field Value

float?

ConsumeQuantity (Optional) (Default: Consume All)

How many of this itemstack should be consumed in the recipe? This should only be used for recipes with a liquid output.

public int? ConsumeQuantity

Field Value

int?

Litres (Optional) (Default: None)

If the ingredient is a liquid, will use this value instead of Quantity.

public float Litres

Field Value

float