Added Mandrake Decoction

This commit is contained in:
2026-01-06 15:02:16 +01:00
parent 583a9df618
commit 69bcf0920a
2 changed files with 23 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ var (
LeachedCoal Ingredient = Ingredient{"Leached Coal", BottomShelf}
Saltpetre Ingredient = Ingredient{"Saltpetre", BottomShelf}
Sulphur Ingredient = Ingredient{"Sulphur", BottomShelf}
MandrakeRoot Ingredient = Ingredient{"Mandrake Root", BottomShelf}
FreshwaterPearl Ingredient = Ingredient{"Freshwater Pearl", BottomShelf}
)
func IngredientFromString(s string) (Ingredient, error) {
@@ -120,6 +122,10 @@ func IngredientFromString(s string) (Ingredient, error) {
return Saltpetre, nil
case "Sulphur":
return Sulphur, nil
case "MandrakeRoot":
return MandrakeRoot, nil
case "FreshwaterPearl":
return FreshwaterPearl, nil
default:
return Water, fmt.Errorf("Invalid Ingredient: %s", s)
}