From a2583d0f8be4af7890ace52d49fe99b7861e97b2 Mon Sep 17 00:00:00 2001 From: nokoe Date: Thu, 11 Jul 2024 17:54:35 +0200 Subject: add auto_sushi map --- client/map/tiles/chair.gd | 4 ++++ client/map/tiles/wall_cross.tscn | 1 + 2 files changed, 5 insertions(+) (limited to 'client') diff --git a/client/map/tiles/chair.gd b/client/map/tiles/chair.gd index 54fe7f0c..f45de00c 100644 --- a/client/map/tiles/chair.gd +++ b/client/map/tiles/chair.gd @@ -20,6 +20,10 @@ func _init(rename: String, neighbors: Array): super(rename, neighbors) var chair = preload("res://map/tiles/chair.tscn").instantiate() var facing = 0; + for i in range(4): + if neighbors[i] == "conveyor": + facing = i + break for i in range(4): if neighbors[i] == "table": facing = i diff --git a/client/map/tiles/wall_cross.tscn b/client/map/tiles/wall_cross.tscn index 7cac188d..15a8b24a 100644 --- a/client/map/tiles/wall_cross.tscn +++ b/client/map/tiles/wall_cross.tscn @@ -5,5 +5,6 @@ [node name="WallCross" type="Node3D"] [node name="Mesh" type="MeshInstance3D" parent="."] +transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0) mesh = ExtResource("1_cq25f") skeleton = NodePath("") -- cgit v1.2.3-70-g09d2