From 2f0eb04ee11b53017863d8f5479d8fdf8bce1367 Mon Sep 17 00:00:00 2001 From: myk002 Date: Sun, 22 Aug 2021 23:46:29 -0700 Subject: [PATCH] use "lye" as counter instead of "lye-containing" --- data/examples/orders/basic.json | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/data/examples/orders/basic.json b/data/examples/orders/basic.json index ff165db6a..aca5a2037 100644 --- a/data/examples/orders/basic.json +++ b/data/examples/orders/basic.json @@ -945,12 +945,9 @@ }, { "condition" : "AtMost", - "contains" : - [ - "lye" - ], - "reaction_id" : "MAKE_SOAP_FROM_TALLOW", - "value" : 3 + "item_type" : "LIQUID_MISC", + "material" : "LYE", + "value" : 5 } ], "job" : "MakeLye" @@ -977,12 +974,9 @@ }, { "condition" : "AtLeast", - "contains" : - [ - "lye" - ], - "reaction_id" : "MAKE_SOAP_FROM_TALLOW", - "value" : 2 + "item_type" : "LIQUID_MISC", + "material" : "LYE", + "value" : 3 }, { "condition" : "AtMost", @@ -1014,12 +1008,9 @@ }, { "condition" : "AtLeast", - "contains" : - [ - "lye" - ], - "reaction_id" : "MAKE_SOAP_FROM_OIL", - "value" : 2 + "item_type" : "LIQUID_MISC", + "material" : "LYE", + "value" : 3 }, { "condition" : "AtMost",