aboutsummaryrefslogtreecommitdiff
path: root/test-client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-20 16:23:31 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-20 16:23:31 +0200
commit07dd1b1dab03fb46e548e6a0e9d0311ac2111a36 (patch)
tree9197f9e04face3bea0ec8a5fc2109979e7dc2264 /test-client
parentb31d4b9fa1c8e1a17139e9aaf03d18c9c27e0c18 (diff)
downloadhurrycurry-07dd1b1dab03fb46e548e6a0e9d0311ac2111a36.tar
hurrycurry-07dd1b1dab03fb46e548e6a0e9d0311ac2111a36.tar.bz2
hurrycurry-07dd1b1dab03fb46e548e6a0e9d0311ac2111a36.tar.zst
/end-tutorial
Diffstat (limited to 'test-client')
-rw-r--r--test-client/main.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/test-client/main.ts b/test-client/main.ts
index a6eaf809..a3bf0105 100644
--- a/test-client/main.ts
+++ b/test-client/main.ts
@@ -318,6 +318,7 @@ function keyboard(ev: KeyboardEvent, down: boolean) {
if (down && ev.code == "Numpad5") send({ player: my_id, type: "communicate", message: { text: "/start 5star" } })
if (down && ev.code == "Numpad8") send({ player: my_id, type: "communicate", message: { text: "/start-tutorial plate:seared-patty,sliced-bun" } })
if (down && ev.code == "Numpad9") send({ player: my_id, type: "communicate", message: { text: "/start-tutorial plate:bun" } })
+ if (down && ev.code == "Numpad7") send({ player: my_id, type: "communicate", message: { text: "/end-tutorial" } })
if (down && ev.code == "Numpad0") send({ player: my_id, type: "communicate", message: { text: "/end" } })
if (down && ev.code == "KeyE") particle_splash(get_interact_target() ?? { x: 0, y: 0 })
if (down) keys_down.add(ev.code)