summaryrefslogtreecommitdiff
path: root/test-client/protocol.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-18 09:57:39 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-23 19:20:50 +0200
commit9bdb81bb34bd6a7e33c47d6fcb3dced1c5bda991 (patch)
treef99e521bf3b199162ed3e4e45536e944fe634489 /test-client/protocol.ts
parenta99aa006599827ea999a5684e40635175c8d790a (diff)
downloadhurrycurry-9bdb81bb34bd6a7e33c47d6fcb3dced1c5bda991.tar
hurrycurry-9bdb81bb34bd6a7e33c47d6fcb3dced1c5bda991.tar.bz2
hurrycurry-9bdb81bb34bd6a7e33c47d6fcb3dced1c5bda991.tar.zst
can start passive recipes
Diffstat (limited to 'test-client/protocol.ts')
-rw-r--r--test-client/protocol.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index d5cb2034..ccd891dd 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -24,6 +24,6 @@ export type PacketC =
| { put_item: { item: ItemID, pos: Vec2 } }
| { produce_item: { id: ItemID, pos: Vec2, kind: ItemIndex } }
| { consume_item: { id: ItemID, pos: Vec2 } }
- | { set_active: { tile: Vec2 } }
+ | { set_active: { tile: Vec2, progress?: number } }
| { update_map: { pos: Vec2, tile: TileIndex } }