aboutsummaryrefslogtreecommitdiff
path: root/data/recipes
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2025-09-29 20:54:56 +0200
committernokoe <nokoe@mailbox.org>2025-09-29 20:54:56 +0200
commit061d81eb5300dd14878e09a9a5f90b491b39db55 (patch)
tree88a025a633608f010a6e8b080b1ab696b1e3b9aa /data/recipes
parentf158171def2828104d48d1725ab1089d56cdb04d (diff)
downloadhurrycurry-061d81eb5300dd14878e09a9a5f90b491b39db55.tar
hurrycurry-061d81eb5300dd14878e09a9a5f90b491b39db55.tar.bz2
hurrycurry-061d81eb5300dd14878e09a9a5f90b491b39db55.tar.zst
add deep fry recipe
Diffstat (limited to 'data/recipes')
-rw-r--r--data/recipes/default.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/data/recipes/default.js b/data/recipes/default.js
index 1fcda5be..338768ca 100644
--- a/data/recipes/default.js
+++ b/data/recipes/default.js
@@ -127,6 +127,11 @@ function roll(s, two) {
out({ action: "active", inputs: [s], outputs: [o, two ? o : null], tile: "rolling-board", duration: 2 })
return o
}
+function deep_fry(s, two) {
+ const o = new Item(`sliced-${s.name}`, s.container)
+ out({ action: "active", inputs: [s], outputs: [o, two ? o : null], tile: "deep-fryer", duration: 8 })
+ return o
+}
function cook(s, duration = 20) {
const o = new Item(`cooked-${s.name}`, s.container)
out({ action: "passive", duration, revert_duration: duration * 2, tile: "stove", inputs: [s], outputs: [o] })
@@ -279,7 +284,7 @@ edible(
// edible(combine(PL, cook(rice.tr(POT)), cut(mushroom), cut(tomato)).as("rice-bowl"))
// Steak
-const french_fries = sear(cut(potato)).as("french-fries");
+const french_fries = deep_fry(cut(potato)).as("french-fries");
const bun = either(bake(dough).as("bun"), crate("bun"))
edible(
bun.tr(PL),