Added Mandrake Decoction
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user