aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-21 00:03:15 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:24:39 +0200
commit10aaa4f56642e30b2886735363eb12dfa88e2b70 (patch)
treecc32ff0f407e1962263a45d91742ccd17112f211 /data
parent6a044533ff19da79bc365826e1b89ac0317d133d (diff)
downloadhurrycurry-10aaa4f56642e30b2886735363eb12dfa88e2b70.tar
hurrycurry-10aaa4f56642e30b2886735363eb12dfa88e2b70.tar.bz2
hurrycurry-10aaa4f56642e30b2886735363eb12dfa88e2b70.tar.zst
add tomato soop
Diffstat (limited to 'data')
-rw-r--r--data/demands.yaml2
-rw-r--r--data/map.yaml6
-rw-r--r--data/recipes.ts11
3 files changed, 10 insertions, 9 deletions
diff --git a/data/demands.yaml b/data/demands.yaml
index d7211be4..5752ab52 100644
--- a/data/demands.yaml
+++ b/data/demands.yaml
@@ -8,4 +8,4 @@
- { from: bread-sliced-tomato-steak-plate, to: dirty-plate, duration: 20 }
-- { from: tomato-soop-plate, to: dirty-plate, duration: 15 }
+- { from: tomato-soop-plate, to: dirty-plate, duration: 20 }
diff --git a/data/map.yaml b/data/map.yaml
index 61e31e40..94150de0 100644
--- a/data/map.yaml
+++ b/data/map.yaml
@@ -3,11 +3,11 @@ map:
- "|ctc.ctc.ctc.ctc.ctc.|"
- "|.....c..............|"
- "|c...c...+--www---dd-+"
- - "|tc.ctc..|ss...CC#..X|"
+ - "|tc.ctc..|ss...CC#..H|"
- "|c...c...w........~.R|"
- "|c.......w..######..T|"
- "|tc......w..........F|"
- - "|c.....ct|#moo##SSS##|"
+ - "|c.....ct|#moo##SSS#X|"
- "+---dd---+-----------+"
- "......................"
- ".........!............"
@@ -25,7 +25,7 @@ tiles:
"R": raw-steak-crate
"T": tomato-crate
"F": flour-crate
- "D": dirty-plate-crate
+ "H": herbs-crate
"X": trash
"c": chair
diff --git a/data/recipes.ts b/data/recipes.ts
index c5569a58..04cccf16 100644
--- a/data/recipes.ts
+++ b/data/recipes.ts
@@ -61,7 +61,7 @@ function crate(item: string) {
function get_container(ifull: string): [string, string | null] {
const iparts = ifull.split("-")
const ic = iparts.pop()
- if (ic && iparts.length && ["pot", "plate"].includes(ic)) return [iparts.join("-"), ic]
+ if (ic && iparts.length && ["pot", "plate", "mixer"].includes(ic)) return [iparts.join("-"), ic]
return [ifull, null]
}
@@ -96,16 +96,16 @@ function combine(container: string, ...inputs: string[]) {
}
}
-out({ action: "active", duration: 3, inputs: ["flour"], outputs: ["dough"] })
out({ action: "active", duration: 2, tile: "sink", inputs: ["dirty-plate"], outputs: ["plate"] })
crate("tomato")
crate("raw-steak")
-crate("dirty-plate")
+crate("flour")
+crate("herbs")
+
cut("tomato")
cook("raw-steak", "steak")
combine("plate", "steak-pot", "sliced-tomato", "bread")
-auto_trash()
mix("flour", "dough")
out({ action: "instant", inputs: ["dough-mixer"], outputs: ["mixer", "dough"] })
@@ -114,5 +114,6 @@ bake("dough", "bread")
mix("tomato")
combine("pot", "herbs", "tomato-juice-mixer")
cook("herbs-tomato-juice-pot", "tomato-soop")
-out({ action: "instant", tile: "sink", inputs: ["tomato-soop-pot", "plate"], outputs: ["pot", "tomato-soop-plate"] })
+out({ action: "instant", inputs: ["tomato-soop-pot", "plate"], outputs: ["pot", "tomato-soop-plate"] })
+auto_trash()