diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-24 18:33:38 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-24 18:33:38 +0200 |
commit | 9753ae7d43ea1069a9d71c1182dacf8b7028a201 (patch) | |
tree | 5aecf451bef329cb7ec9fd123180eb8f3c07e8a1 | |
parent | 28077fda347b7aaf5cc482409164a93d85e9a4dc (diff) | |
download | hurrycurry-9753ae7d43ea1069a9d71c1182dacf8b7028a201.tar hurrycurry-9753ae7d43ea1069a9d71c1182dacf8b7028a201.tar.bz2 hurrycurry-9753ae7d43ea1069a9d71c1182dacf8b7028a201.tar.zst |
mixer is now food processor
-rw-r--r-- | data/recipes.ts | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/data/recipes.ts b/data/recipes.ts index ea2706ed..7eb8ef4b 100644 --- a/data/recipes.ts +++ b/data/recipes.ts @@ -34,7 +34,7 @@ function auto_trash() { let [i, ic] = get_container(ifull) if (i == "plate") continue if (i == "pot") continue - if (i == "mixer") continue + if (i == "food-processor") continue if (i == "dirty") continue if (ic == "plate") ic = "dirty-plate" out({ @@ -64,10 +64,10 @@ function cook(from: string, to?: string) { out({ action: "passive", duration: 20, revert_duration: 40, tile: "stove", inputs: [i], outputs: [o] }) out({ action: "passive", duration: 5, revert_duration: 10, tile: "stove", inputs: [o], outputs: ["burned-pot"], warn: true }) } -function mix(from: string, to?: string) { - const i = from + "-mixer" - const o = (to ?? (from + "-juice")) + "-mixer" - out({ action: "instant", inputs: ["mixer", from], outputs: [i] }) +function process(from: string, to?: string) { + const i = from + "-food-processor" + const o = (to ?? (from + "-juice")) + "-food-processor" + out({ action: "instant", inputs: ["food-processor", from], outputs: [i] }) out({ action: "active", duration: 3, inputs: [i], outputs: [o] }) } function bake(from: string, to?: string) { @@ -82,7 +82,7 @@ function crate(item: string) { function get_container(ifull: string): [string, string | null] { const iparts = ifull.split("-") const ic = iparts.pop() - if (ic && iparts.length && ["pot", "plate", "mixer"].includes(ic)) return [iparts.join("-"), ic] + if (ic && iparts.length && ["pot", "plate", "food-processor"].includes(ic)) return [iparts.join("-"), ic] return [ifull, null] } @@ -128,12 +128,12 @@ cut("tomato") cook("raw-steak", "steak") combine("plate", "steak-pot", "sliced-tomato", "bread") -mix("flour", "dough") -out({ action: "instant", inputs: ["dough-mixer"], outputs: ["mixer", "dough"] }) +process("flour", "dough") +out({ action: "instant", inputs: ["dough-food-processor"], outputs: ["food-processor", "dough"] }) bake("dough", "bread") -mix("tomato") -combine("pot", "herbs", "tomato-juice-mixer") +process("tomato") +combine("pot", "herbs", "tomato-juice-food-processor") cook("herbs-tomato-juice-pot", "tomato-soop") out({ action: "instant", inputs: ["tomato-soop-pot", "plate"], outputs: ["pot", "tomato-soop-plate"] }) |