From 7792d61cdb20c48d956c6e37a509abbc00c0157a Mon Sep 17 00:00:00 2001 From: metamuffin Date: Mon, 24 Jun 2024 22:49:14 +0200 Subject: two slices for every bread --- data/recipes.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'data') 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") -- cgit v1.2.3-70-g09d2