diff options
author | metamuffin <metamuffin@disroot.org> | 2024-06-23 00:19:52 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-06-23 19:31:29 +0200 |
commit | 79a01e7c40e1516c832a9c8e5a193aeafe6f0b7d (patch) | |
tree | 8c563a4662c730560cf861ca73d11a48c552170b | |
parent | 4d274b80d36d9a3136b4070d03459b8e3450b162 (diff) | |
download | hurrycurry-79a01e7c40e1516c832a9c8e5a193aeafe6f0b7d.tar hurrycurry-79a01e7c40e1516c832a9c8e5a193aeafe6f0b7d.tar.bz2 hurrycurry-79a01e7c40e1516c832a9c8e5a193aeafe6f0b7d.tar.zst |
remove herobrine from the game
-rw-r--r-- | data/recipes.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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) { |