From 79a01e7c40e1516c832a9c8e5a193aeafe6f0b7d Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 23 Jun 2024 00:19:52 +0200 Subject: remove herobrine from the game --- data/recipes.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/recipes.ts b/data/recipes.ts index 5d267404..fcad1bb6 100644 --- a/data/recipes.ts +++ b/data/recipes.ts @@ -31,7 +31,9 @@ function auto_trash() { function out(r: Recipe) { r.inputs.forEach(i => i ? all_items.add(i) : void 0) r.outputs.forEach(i => i ? all_items.add(i) : void 0) - console.log(`- { tile: ${r.tile ?? null}, inputs: ${JSON.stringify(r.inputs.filter(e => e))}, outputs: ${JSON.stringify(r.outputs.filter(e => e))}, action: !${r.action + " " + (r.duration ?? "")}, warn: ${r.warn ?? false} }`); + r.inputs = r.inputs.filter(e => e) + r.outputs = r.outputs.filter(e => e) + console.log(`- ${JSON.stringify(r).replaceAll("\"active\"", "!active").replaceAll("\"passive\"", "!passive").replaceAll("\"instant\"", "!instant")}`); } function cut(from: string, to?: string) { -- cgit v1.2.3-70-g09d2