summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/recipes.yaml9
-rw-r--r--test-client/protocol.ts2
2 files changed, 6 insertions, 5 deletions
diff --git a/data/recipes.yaml b/data/recipes.yaml
index 17c4b7f3..f356912c 100644
--- a/data/recipes.yaml
+++ b/data/recipes.yaml
@@ -13,6 +13,9 @@
- { tile: trash, action: !instant , inputs: [dough] }
- { tile: trash, action: !instant , inputs: [steak-meal] }
- { tile: table, inputs: [raw-steak, void] }
+- { tile: table, inputs: [sliced-tomato, void] }
+- { tile: table, inputs: [dough, void] }
+- { tile: table, inputs: [bread, void] }
- tile: tomato-spawn # Tomato pipeline
outputs: [tomato]
@@ -69,11 +72,9 @@
- tile: table
inputs: [tomatosteak-meal, bread]
outputs: [tomatoburger-meal]
- action: !instant
-
+ action: !instant
- # cups
-- tile: watercooler
+- tile: watercooler # Cups
inputs: [glass]
outputs: [water]
action: !passive 2
diff --git a/test-client/protocol.ts b/test-client/protocol.ts
index d5605e37..2dd18b4d 100644
--- a/test-client/protocol.ts
+++ b/test-client/protocol.ts
@@ -11,7 +11,7 @@ export interface Gamedata {
export type PacketS =
{ join: { name: string } } // You join, sent as first packet.
- | { position: { pos: Vec2, rot: number } } // Update your position
+ | { position: { pos: Vec2, rot: number } } // Update your position and rotation in radians (0 is -y)
| { interact: { pos: Vec2, edge: boolean } } // Interact with some tile. edge is true when pressing and false when releasing interact button
| { collide: { player: PlayerID, force: Vec2 } } // Apply force to another player as a result of a collision