aboutsummaryrefslogtreecommitdiff
path: root/test-client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-20 14:00:38 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:21:49 +0200
commit5bf50cd276a568f55fb1d5aedef96e614bed015b (patch)
tree94adf4dbed06a407e3b3223175d4e5a4e0a21e22 /test-client
parent7d721cae4241e01dd3f88b38a7d005d18d647454 (diff)
downloadhurrycurry-5bf50cd276a568f55fb1d5aedef96e614bed015b.tar
hurrycurry-5bf50cd276a568f55fb1d5aedef96e614bed015b.tar.bz2
hurrycurry-5bf50cd276a568f55fb1d5aedef96e614bed015b.tar.zst
generated recipes, adjust duration, rename items, other stuff
Diffstat (limited to 'test-client')
-rw-r--r--test-client/tiles.ts23
1 files changed, 16 insertions, 7 deletions
diff --git a/test-client/tiles.ts b/test-client/tiles.ts
index 7db8f2a3..42fba268 100644
--- a/test-client/tiles.ts
+++ b/test-client/tiles.ts
@@ -92,24 +92,33 @@ const door: Component = c => {
}
const plate = [circle(0.4, "#b6b6b6", "#f7f7f7", 0.02)];
+const pot = [circle(0.35, "rgb(29, 29, 29)", "rgb(39, 39, 39)", 0.04)];
+const burned = [circle(0.3, "rgb(61, 18, 0)"), cross(0.2, "red", 0.02)]
export const FALLBACK_ITEM: Component[] = [circle(0.3, "#f0f")];
export const ITEMS: { [key: string]: Component[] } = {
+ "pot": pot,
"raw-steak": [circle(0.3, "#cc3705")],
+ "raw-steak-pot": [...pot, circle(0.3, "#cc3705")],
+ "steak-pot": [...pot, circle(0.3, "#702200")],
+ "burned-pot": [...pot, ...burned],
"steak": [circle(0.3, "#702200")],
"flour": [circle(0.3, "#d8c9c2")],
"dough": [circle(0.3, "#b38d7d")],
"bread": [circle(0.3, "#853e20")],
"tomato": [circle(0.3, "#d63838")],
+ "burned": burned,
"sliced-tomato": [circle(0.3, "#d16363", "#d63838", 0.08)],
"plate": plate,
"dirty-plate": [circle(0.4, "#947a6f", "#d3a187", 0.02)],
- "steak-meal": [...plate, ...arrange_items("steak")],
- "bread-meal": [...plate, ...arrange_items("bread")],
- "burger-meal": [...plate, ...arrange_items("bread", "steak")],
- "sliced-tomato-meal": [...plate, ...arrange_items("sliced-tomato")],
- "tomatosteak-meal": [...plate, ...arrange_items("tomato", "steak")],
- "tomatoburger-meal": [...plate, ...arrange_items("bread", "steak", "tomato")],
+
+ "steak-plate": [...plate, ...arrange_items("steak")],
+ "bread-plate": [...plate, ...arrange_items("bread")],
+ "sliced-tomato-plate": [...plate, ...arrange_items("sliced-tomato")],
+ "bread-steak-plate": [...plate, ...arrange_items("bread", "steak")],
+ "bread-sliced-tomato-plate": [...plate, ...arrange_items("bread", "sliced-tomato")],
+ "sliced-tomato-steak-plate": [...plate, ...arrange_items("sliced-tomato", "steak")],
+ "bread-sliced-tomato-steak-plate": [...plate, ...arrange_items("bread", "sliced-tomato", "steak")],
}
const table = [base("rgb(133, 76, 38)")];
@@ -130,7 +139,7 @@ export const TILES: { [key: string]: Component[] } = {
"trash": [...floor, circle(0.4, "rgb(20, 20, 20)"), cross(0.3, "rgb(90, 36, 36)")],
"sink": [base("rgb(131, 129, 161)", "rgb(177, 174, 226)", 0.2)],
"oven": [base("rgb(241, 97, 61)", "rgb(109, 84, 84)", 0.3)],
- "pan": [...counter, circle(0.4, "#444", "#999")],
+ "stove": [...counter, circle(0.4, "#444", "#999")],
"flour-crate": crate("flour"),
"dirty-plate-crate": crate("dirty-plate"),
"raw-steak-crate": crate("raw-steak"),