summaryrefslogtreecommitdiff
path: root/test-client/tiles.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-17 03:46:01 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-17 03:46:01 +0200
commiteabe0cff44921ea43f31340e12f20159ba5c381e (patch)
treed1dc24a189f3cf4ec13bcbab40977b3d8068f194 /test-client/tiles.ts
parent181d1c97e01f66b4a9415eec118d82cbce87346b (diff)
downloadhurrycurry-eabe0cff44921ea43f31340e12f20159ba5c381e.tar
hurrycurry-eabe0cff44921ea43f31340e12f20159ba5c381e.tar.bz2
hurrycurry-eabe0cff44921ea43f31340e12f20159ba5c381e.tar.zst
can move items around. rejoin persistance seems okk
Diffstat (limited to 'test-client/tiles.ts')
-rw-r--r--test-client/tiles.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/test-client/tiles.ts b/test-client/tiles.ts
index 3b15385c..6eb1dc29 100644
--- a/test-client/tiles.ts
+++ b/test-client/tiles.ts
@@ -24,10 +24,12 @@ function circle(radius: number, fill: string, stroke?: string, stroke_width?: nu
}
const table = [base("rgb(133, 76, 38)")];
+const floor = [base("#333", "#222", 0.05)];
export const FALLBACK_TILE: Component[] = [base("#f0f")];
export const TILES: { [key: string]: Component[] } = {
- "floor": [base("#333", "#222", 0.05)],
+ "floor": floor,
"table": table,
"pan": [...table, circle(0.4, "#444", "#999")],
+ "flour_bag": [...floor, circle(0.5, "#fff", "#ddd")],
}