diff --git a/data/examples/orders/basic.json b/data/examples/orders/basic.json index 8474e486b..ff165db6a 100644 --- a/data/examples/orders/basic.json +++ b/data/examples/orders/basic.json @@ -709,7 +709,7 @@ "sewn_imageless" ], "item_type" : "BOX", - "value" : 20 + "value" : 30 } ], "job" : "ConstructChest", @@ -745,7 +745,7 @@ "sewn_imageless" ], "item_type" : "BOX", - "value" : 20 + "value" : 30 } ], "job" : "ConstructChest", @@ -781,7 +781,7 @@ "sewn_imageless" ], "item_type" : "BOX", - "value" : 20 + "value" : 30 } ], "job" : "ConstructChest", @@ -817,7 +817,7 @@ "sewn_imageless" ], "item_type" : "BOX", - "value" : 20 + "value" : 30 } ], "job" : "ConstructChest", diff --git a/data/examples/orders/furnace.json b/data/examples/orders/furnace.json index f7fb6133c..1bb7e6641 100644 --- a/data/examples/orders/furnace.json +++ b/data/examples/orders/furnace.json @@ -17,7 +17,7 @@ "condition" : "AtMost", "item_type" : "BAR", "material" : "COAL", - "value" : 100 + "value" : 150 }, { "condition" : "AtMost", @@ -183,8 +183,8 @@ "reaction" : "MAKE_PEARLASH" }, { - "amount_left" : 1, - "amount_total" : 1, + "amount_left" : 4, + "amount_total" : 4, "frequency" : "Daily", "id" : 40, "is_active" : false, @@ -199,7 +199,7 @@ "bag" ], "item_type" : "BOX", - "value" : 5 + "value" : 10 }, { "condition" : "AtMost", @@ -207,7 +207,7 @@ [ "sand_bearing" ], - "value" : 10 + "value" : 30 } ], "job" : "CollectSand" @@ -396,7 +396,7 @@ "condition" : "AtLeast", "item_type" : "BAR", "material" : "COAL", - "value" : 150 + "value" : 100 } ], "job" : "MeltMetalObject" diff --git a/data/examples/orders/glassstock.json b/data/examples/orders/glassstock.json new file mode 100644 index 000000000..bb80cf9f6 --- /dev/null +++ b/data/examples/orders/glassstock.json @@ -0,0 +1,688 @@ +[ + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 187, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "ARMORSTAND", + "value" : 2 + } + ], + "job" : "ConstructArmorStand", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 188, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "BLOCKS", + "material" : "GLASS_GREEN", + "value" : 2 + } + ], + "job" : "ConstructBlocks", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 189, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "BOX", + "material" : "GLASS_GREEN", + "value" : 2 + } + ], + "job" : "ConstructChest", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 190, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "CABINET", + "value" : 2 + } + ], + "job" : "ConstructCabinet", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 191, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "COFFIN", + "value" : 2 + } + ], + "job" : "ConstructCoffin", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 192, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "FLOODGATE", + "value" : 2 + } + ], + "job" : "ConstructFloodgate", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 193, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "GRATE", + "value" : 2 + } + ], + "job" : "ConstructGrate", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 194, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "HATCH_COVER", + "value" : 2 + } + ], + "job" : "ConstructHatchCover", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 195, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "DOOR", + "value" : 2 + } + ], + "job" : "ConstructDoor", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 196, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "STATUE", + "value" : 2 + } + ], + "job" : "ConstructStatue", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 197, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "TABLE", + "value" : 2 + } + ], + "job" : "ConstructTable", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 198, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "CHAIR", + "value" : 2 + } + ], + "job" : "ConstructThrone", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 199, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "WEAPONRACK", + "value" : 2 + } + ], + "job" : "ConstructWeaponRack", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 200, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TRAPCOMP_ENORMOUSCORKSCREW", + "item_type" : "TRAPCOMP", + "material" : "GLASS_GREEN", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TRAPCOMP_ENORMOUSCORKSCREW", + "job" : "MakeTrapComponent", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 201, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TOOL_ALTAR", + "item_type" : "TOOL", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TOOL_ALTAR", + "job" : "MakeTool", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 202, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TOOL_BOOKCASE", + "item_type" : "TOOL", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TOOL_BOOKCASE", + "job" : "MakeTool", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 203, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TOOL_PEDESTAL", + "item_type" : "TOOL", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TOOL_PEDESTAL", + "job" : "MakeTool", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 204, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "CAGE", + "value" : 2 + } + ], + "job" : "MakeCage", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 205, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "PIPE_SECTION", + "material" : "GLASS_GREEN", + "value" : 2 + } + ], + "job" : "MakePipeSection", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 206, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "WINDOW", + "material" : "GLASS_GREEN", + "value" : 2 + } + ], + "job" : "MakeWindow", + "material" : "GLASS_GREEN" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 207, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "sand_bearing" + ], + "value" : 15 + }, + { + "condition" : "AtLeast", + "item_type" : "BAR", + "material" : "COAL", + "value" : 100 + }, + { + "condition" : "AtMost", + "item_type" : "FLASK", + "material" : "GLASS_GREEN", + "value" : 2 + } + ], + "job" : "MakeFlask", + "material" : "GLASS_GREEN" + } +] diff --git a/data/examples/orders/rockstock.json b/data/examples/orders/rockstock.json new file mode 100644 index 000000000..cd7f354c9 --- /dev/null +++ b/data/examples/orders/rockstock.json @@ -0,0 +1,531 @@ +[ + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 169, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "ARMORSTAND", + "value" : 2 + } + ], + "job" : "ConstructArmorStand", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 170, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "BLOCKS", + "value" : 20 + } + ], + "job" : "ConstructBlocks", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 171, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "CABINET", + "value" : 2 + } + ], + "job" : "ConstructCabinet", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 172, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "BOX", + "material" : "INORGANIC", + "value" : 2 + } + ], + "job" : "ConstructChest", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 173, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "COFFIN", + "value" : 2 + } + ], + "job" : "ConstructCoffin", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 174, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "DOOR", + "value" : 2 + } + ], + "job" : "ConstructDoor", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 175, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "FLOODGATE", + "value" : 2 + } + ], + "job" : "ConstructFloodgate", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 176, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "GRATE", + "value" : 2 + } + ], + "job" : "ConstructGrate", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 177, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "HATCH_COVER", + "value" : 2 + } + ], + "job" : "ConstructHatchCover", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 178, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "TRAPPARTS", + "value" : 10 + } + ], + "job" : "ConstructMechanisms", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 179, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "SLAB", + "value" : 2 + } + ], + "job" : "ConstructSlab", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 180, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "STATUE", + "value" : 2 + } + ], + "job" : "ConstructStatue", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 181, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "TABLE", + "value" : 2 + } + ], + "job" : "ConstructTable", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 182, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "CHAIR", + "value" : 2 + } + ], + "job" : "ConstructThrone", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 183, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_type" : "WEAPONRACK", + "value" : 2 + } + ], + "job" : "ConstructWeaponRack", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 184, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TOOL_ALTAR", + "item_type" : "TOOL", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TOOL_ALTAR", + "job" : "MakeTool", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 185, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TOOL_BOOKCASE", + "item_type" : "TOOL", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TOOL_BOOKCASE", + "job" : "MakeTool", + "material" : "INORGANIC" + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 186, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "flags" : + [ + "non_economic", + "hard" + ], + "item_type" : "BOULDER", + "material" : "INORGANIC", + "value" : 50 + }, + { + "condition" : "AtMost", + "item_subtype" : "ITEM_TOOL_PEDESTAL", + "item_type" : "TOOL", + "value" : 2 + } + ], + "item_subtype" : "ITEM_TOOL_PEDESTAL", + "job" : "MakeTool", + "material" : "INORGANIC" + } +] diff --git a/data/examples/orders/woodstock.json b/data/examples/orders/woodstock.json new file mode 100644 index 000000000..ce8865f06 --- /dev/null +++ b/data/examples/orders/woodstock.json @@ -0,0 +1,54 @@ +[ + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 208, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "item_type" : "WOOD", + "value" : 150 + }, + { + "condition" : "AtMost", + "item_type" : "BED", + "value" : 2 + } + ], + "job" : "ConstructBed", + "material_category" : + [ + "wood" + ] + }, + { + "amount_left" : 1, + "amount_total" : 1, + "frequency" : "Daily", + "id" : 209, + "is_active" : false, + "is_validated" : false, + "item_conditions" : + [ + { + "condition" : "AtLeast", + "item_type" : "WOOD", + "value" : 150 + }, + { + "condition" : "AtMost", + "item_type" : "CAGE", + "value" : 2 + } + ], + "job" : "MakeCage", + "material_category" : + [ + "wood" + ] + } +]