Table of Contents

Class MetalAlloyIngredient

Namespace
Vintagestory.GameContent
Assembly
VSSurvivalMod.dll

Defines an ingredient for a AlloyRecipe recipe.

public class MetalAlloyIngredient : JsonItemStack
Inheritance
MetalAlloyIngredient
Inherited Members

Examples

{
	"type": "item",
	"code": "ingot-copper",
	"minratio": 0.5,
	"maxratio": 0.7
}

Fields

MaxRatio (Required)

The maximum ratio of this metal to be used in the alloy, between 0 and 1.

public float MaxRatio

Field Value

float

MinRatio (Required)

The minimum ratio of this metal to be used in the alloy, between 0 and 1.

public float MinRatio

Field Value

float