From 4d883a67ef81ef9428e39734664430724668077f Mon Sep 17 00:00:00 2001 From: nokoe Date: Mon, 29 Sep 2025 23:57:44 +0200 Subject: use deep fryer basket; persist item rotation on counters --- client/game.gd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'client/game.gd') diff --git a/client/game.gd b/client/game.gd index efb75c9f..7289eed0 100644 --- a/client/game.gd +++ b/client/game.gd @@ -189,6 +189,9 @@ func handle_packet(p): var i = ItemFactory.produce(item_names[p.item], t.item_base) i.animate_spawn() i.position = t.item_base.global_position + i.rotation.y = t.item_base.global_rotation.y + PI + i.position_target = i.position + i.rotation_target = i.rotation.y add_child(i) i.name = item_names[p.item] t.set_item(i) @@ -198,6 +201,9 @@ func handle_packet(p): var i = ItemFactory.produce(item_names[p.item], pl.hand_base[h]) i.animate_spawn() i.position = pl.hand_base[h].global_position + i.rotation.y = pl.hand_base[h].global_rotation.y + i.position_target = i.position + i.rotation_target = i.rotation.y add_child(i) i.name = item_names[p.item] pl.set_item(i, h) -- cgit v1.2.3-70-g09d2