diff options
-rw-r--r-- | data/recipes.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/recipes.ts b/data/recipes.ts index 30a60b63..c3c764f6 100644 --- a/data/recipes.ts +++ b/data/recipes.ts @@ -54,8 +54,8 @@ function out(r: Recipe) { console.log(`- ${JSON.stringify(r).replaceAll("\"active\"", "!active").replaceAll("\"passive\"", "!passive").replaceAll("\"instant\"", "!instant")}`); } -function cut(from: string, to?: string) { - out({ action: "active", duration: 2, tile: "cuttingboard", inputs: [from], outputs: [to ?? ("sliced-" + from)] }) +function cut(from: string, to?: string, to2?: string) { + out({ action: "active", duration: 2, tile: "cuttingboard", inputs: [from], outputs: [to ?? ("sliced-" + from), to2 ?? null] }) } function cook(from: string, to?: string) { const i = from.endsWith("-pot") ? from : from + "-pot" @@ -131,7 +131,7 @@ cook("raw-steak", "steak") process("flour", "dough") out({ action: "instant", inputs: ["dough-foodprocessor"], outputs: ["foodprocessor", "dough"] }) bake("dough", "bread") -cut("bread", "bread-slice") +cut("bread", "bread-slice", "bread-slice") process("tomato") combine("pot", "leek", "tomato-juice-foodprocessor") |