diff options
| author | nokoe <nokoe@mailbox.org> | 2025-12-13 21:44:45 +0100 |
|---|---|---|
| committer | nokoe <nokoe@mailbox.org> | 2025-12-13 21:44:45 +0100 |
| commit | 285608d79b3e635b37c6155a6165a26668431bcd (patch) | |
| tree | d69ebac06a14c62e94a8839bace2fae2a228bd75 | |
| parent | 3976a555d2ec26c1529ced29d1860f2a24ba086f (diff) | |
| download | hurrycurry-285608d79b3e635b37c6155a6165a26668431bcd.tar hurrycurry-285608d79b3e635b37c6155a6165a26668431bcd.tar.bz2 hurrycurry-285608d79b3e635b37c6155a6165a26668431bcd.tar.zst | |
add `crate:*` to recipes
| -rw-r--r-- | data/maps/debug.yaml | 2 | ||||
| -rw-r--r-- | data/recipes/default.js | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/data/maps/debug.yaml b/data/maps/debug.yaml index 397be888..5b5c939c 100644 --- a/data/maps/debug.yaml +++ b/data/maps/debug.yaml @@ -67,7 +67,7 @@ tiles: "²": potato-crate -x "³": bun-crate -x "¼": noodles-crate -x - "°": crate:basket + "°": crate:tomato -x "½": trash -x "Ø": black-hole -w diff --git a/data/recipes/default.js b/data/recipes/default.js index d3f08cf1..f8134985 100644 --- a/data/recipes/default.js +++ b/data/recipes/default.js @@ -130,6 +130,8 @@ function crate(s) { const item = new Item(s); out({ action: "instant", inputs: [], outputs: [item], tile: `${s}-crate`, points: -1 }) out({ action: "instant", inputs: [item], outputs: [], tile: `${s}-crate`, points: 1 }) + out({ action: "instant", inputs: [], outputs: [item], tile: `crate\:${s}`, points: -1 }) + out({ action: "instant", inputs: [item], outputs: [], tile: `crate\:${s}`, points: 1 }) return item } function cut(s, two, duration = 2) { |