diff options
Diffstat (limited to 'data/recipes')
| -rw-r--r-- | data/recipes/default.js | 41 | 
1 files changed, 17 insertions, 24 deletions
| diff --git a/data/recipes/default.js b/data/recipes/default.js index c237be79..7d777d31 100644 --- a/data/recipes/default.js +++ b/data/recipes/default.js @@ -196,12 +196,6 @@ function edible(...items) {          out({ action: "demand", inputs: [i], outputs: [i.container?.dispose ?? i.container], duration: 10 })      }  } -function edible_hot(...items) { -    edible(...items) -    edible(...items.map(i => { -        return combine(i.container, i, chili) -    })) -}  function either(a, b) {      if (a.name != b.name) throw new Error("either options are named differently");      if (a.container != b.container) throw new Error("either options are contained differently"); @@ -215,7 +209,6 @@ function sink_fill(c) {  out({ action: "active", duration: 2, tile: "sink", inputs: [new Container("dirty-plate")], outputs: [PL] }) -const chili = crate("chili")  const tomato = crate("tomato")  const steak = crate("steak")  const flour = crate("flour") @@ -236,38 +229,38 @@ const dough = process(flour.tr(FP)).as("dough").tr()  // Pizza  const pizza_dough = roll(dough) -edible_hot( -    bake(combine(pizza_dough, tomato_juice, cut(cheese), cut(mushroom))).tr(PL), -    bake(combine(pizza_dough, patty, cut(cheese))).tr(PL), +edible(      bake(combine(pizza_dough, tomato_juice, cut(cheese))).tr(PL), -    bake(combine(pizza_dough, patty, leek)).tr(PL), +    bake(combine(pizza_dough, tomato_juice, cut(cheese), cut(mushroom))).tr(PL), +    // bake(combine(pizza_dough, patty, cut(cheese))).tr(PL), +    // bake(combine(pizza_dough, patty, leek)).tr(PL),  )  // Bowl -edible_hot(combine(PL, cook(rice.tr(POT)), cut(mushroom), cut(tomato)).as("rice-bowl")) +// edible(combine(PL, cook(rice.tr(POT)), cut(mushroom), cut(tomato)).as("rice-bowl"))  // Steak  const french_fries = sear(cut(potato)).as("french-fries");  const bun = bake(dough).as("bun") -edible_hot( +edible(      bun.tr(PL),      french_fries.tr(PL),      combine(PL, sear(steak), bun),      combine(PL, sear(steak), french_fries),      combine(PL, sear(steak), cook(potato.tr(POT))), -    combine(PL, sear(steak), sear(cut(mushroom))), -    combine(PL, sear(steak), sear(cut(mushroom)), french_fries), -    combine(PL, sear(steak), sear(cut(mushroom)), cook(potato.tr(POT))), +    // combine(PL, sear(steak), sear(cut(mushroom))), +    // combine(PL, sear(steak), sear(cut(mushroom)), french_fries), +    // combine(PL, sear(steak), sear(cut(mushroom)), cook(potato.tr(POT))),  )  // Salad -edible_hot( +edible(      combine(PL, cut(tomato), cut(lettuce)),      combine(PL, cut(lettuce)),  )  // Burger -edible_hot( +edible(      combine(PL, cut(bun), sear(patty), cut(cheese)),      combine(PL, cut(bun), sear(patty), cut(cheese), cut(lettuce)),      combine(PL, cut(bun), sear(patty), cut(tomato), cut(lettuce)), @@ -279,17 +272,17 @@ edible_hot(  // Noodles  const noodle = cook(cut(roll(dough)).as("noodles").tr(POT)) -edible_hot( +edible(      combine(PL, noodle, tomato_juice, cut(cheese)), -    combine(PL, noodle, tomato_juice, cut(cheese), sear(patty)), +    // combine(PL, noodle, tomato_juice, cut(cheese), sear(patty)),  )  // Soup -edible_hot( +edible(      cook(combine(POT, tomato_juice)).as("tomato-soup").tr(PL),      cook(combine(POT, cut(mushroom))).as("mushroom-soup").tr(PL), -    cook(combine(POT, cheese, leek)).as("cheese-leek-soup").tr(PL), -    cook(combine(PL, patty, cut(potato), leek)).as("stew").tr(PL) +    cook(combine(POT, cheese, cut(leek))).as("cheese-leek-soup").tr(PL), +    // cook(combine(PL, patty, cut(potato), cut(leek))).as("stew").tr(PL)  )  // Rice and nigiri @@ -321,7 +314,7 @@ edible(  // Curry  const curry_with_rice = combine(PL, cook(rice.tr(POT)), cook(combine(POT, milk, tomato, leek)).as("curry")) -edible_hot(curry_with_rice) +edible(curry_with_rice)  auto_trash()  auto_burn() | 
