aboutsummaryrefslogtreecommitdiff
path: root/data/recipes/default.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-08-10 18:59:52 +0200
committermetamuffin <metamuffin@disroot.org>2024-08-10 18:59:52 +0200
commit3d13c85ec2e3acbee249b4baf20797cc38a8a121 (patch)
tree105cbc42523c360b7ace2f4f8fd6ec92bf355734 /data/recipes/default.ts
parentc620403a86f7672cf48fb460f14b8f3979c9faa0 (diff)
downloadhurrycurry-3d13c85ec2e3acbee249b4baf20797cc38a8a121.tar
hurrycurry-3d13c85ec2e3acbee249b4baf20797cc38a8a121.tar.bz2
hurrycurry-3d13c85ec2e3acbee249b4baf20797cc38a8a121.tar.zst
create new 5star and improve several other maps
Diffstat (limited to 'data/recipes/default.ts')
-rw-r--r--data/recipes/default.ts15
1 files changed, 11 insertions, 4 deletions
diff --git a/data/recipes/default.ts b/data/recipes/default.ts
index 041b7d99..2fb74c7b 100644
--- a/data/recipes/default.ts
+++ b/data/recipes/default.ts
@@ -59,7 +59,12 @@ function auto_trash() {
if (i instanceof Container) continue
if (!i.container) out({ action: "instant", inputs: [i], outputs: [], tile: "trash" })
else {
- out({ action: "instant", inputs: [i], outputs: [i.container.dispose ?? i.container], tile: "trash" })
+ out({
+ action: "instant",
+ inputs: [i],
+ outputs: [i.container.dispose ?? i.container],
+ tile: i.container.dispose_tile ?? "trash"
+ })
}
}
}
@@ -81,11 +86,11 @@ class Item {
}
}
-class Container extends Item { constructor(name: string, public dispose?: Item) { super(name) } }
+class Container extends Item { constructor(name: string, public dispose?: Item, public dispose_tile?: string) { super(name) } }
const FP = new Container("foodprocessor")
const POT = new Container("pot")
const PL = new Container("plate", new Container("dirty-plate"))
-const GL = new Container("glass")
+const GL = new Container("glass", undefined, "sink")
function crate(s: string): Item {
const item = new Item(s);
@@ -228,10 +233,12 @@ edible(strawberry_mochi)
// Drinks
edible(
strawberry_shake.tr(GL),
+ tomato_juice.tr(GL),
sink_fill(GL)
)
-const curry_with_rice = combine(PL, cook(rice.tr(POT)), cook(combine(POT, milk, tomato, leek)))
+// Curry
+const curry_with_rice = combine(PL, cook(rice.tr(POT)), cook(combine(POT, milk, tomato, leek)).as("curry"))
edible(curry_with_rice)
auto_trash()