diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/maps/debug.yaml | 3 | ||||
-rw-r--r-- | data/recipes/default.js | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/data/maps/debug.yaml b/data/maps/debug.yaml index e3aa176c..8eacf650 100644 --- a/data/maps/debug.yaml +++ b/data/maps/debug.yaml @@ -20,7 +20,7 @@ map: - "........................" - "..0123456789ß?Ü........." - "....................¹..." - - "..⌷fRY.SToo..X......⌷..." + - "..⌷fRY.ST™o..X......⌷..." - "..s⌷⌷⌷ɷ⌷⌷zz.........²..." - "................³......." - "..ppppbpppp............." @@ -47,6 +47,7 @@ tiles: "T": stove "b": book "Y": cutting-board + "™": deep-fryer "R": rolling-board "0": rice-crate "1": steak-crate 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), |