[gd_scene format=3 uid="uid://caf0xanmxbshy"] [ext_resource type="Script" uid="uid://caeikc7e3igkd" path="res://stations/table.gd" id="1_2vcpj"] [ext_resource type="Script" uid="uid://cquqe4f1m1sw6" path="res://addons/godot-xr-tools/objects/snap_zone.gd" id="1_8j1nt"] [ext_resource type="PackedScene" uid="uid://cbs8jiqe8rcmn" path="res://abstract/station.tscn" id="1_station"] [ext_resource type="AudioStream" uid="uid://ck72h06t8hyyk" path="res://sounds/money.mp3" id="2_jslhm"] [ext_resource type="AudioStream" uid="uid://dllgyc8jh83an" path="res://sounds/220195__gameaudio__click-wooden-1.wav" id="3_0s6ir"] [ext_resource type="PackedScene" uid="uid://bxbocxdaayvwx" path="res://UI/progress_bar.tscn" id="3_kjf1i"] [sub_resource type="BoxShape3D" id="BoxShape3D_probe"] size = Vector3(0.2, 0.3, 0.2) [sub_resource type="BoxShape3D" id="BoxShape3D_24d3s"] size = Vector3(0.7983472, 0.060000002, 0.59873295) [sub_resource type="SphereShape3D" id="SphereShape3D_dlkho"] radius = 0.6 [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_24d3s"] albedo_color = Color(0.31, 0.21576, 0.1333, 1) [sub_resource type="BoxShape3D" id="BoxShape3D_vlqg6"] size = Vector3(2.1, 0.5, 2.1) [node name="Table" unique_id=987495548 instance=ExtResource("1_station")] [node name="StationMovement" parent="." index="0" unique_id=946873975 node_paths=PackedStringArray("station")] station = NodePath("../Table") [node name="ProgressBar3D" parent="." index="4" unique_id=654673176] visible = false [node name="SnapZone" parent="." index="5" unique_id=1315859105] enabled = false [node name="Table" type="StaticBody3D" parent="." index="6" unique_id=1863572470 node_paths=PackedStringArray("notification_audio", "ambient_audio", "snap_zone", "synchronizer") groups=["station", "table"]] script = ExtResource("1_2vcpj") money_sound = ExtResource("2_jslhm") probe_paths = Array[NodePath]([NodePath("ProbeForward"), NodePath("ProbeRight"), NodePath("ProbeBack"), NodePath("ProbeLeft")]) pickup_sound = ExtResource("3_0s6ir") drop_sound = ExtResource("3_0s6ir") notification_audio = NodePath("../AudioStreamPlayer3DNotification") ambient_audio = NodePath("../AudioStreamPlayer3DAmbient") snap_zone = NodePath("XRToolsSnapZone") synchronizer = NodePath("../MultiplayerSynchronizer") [node name="ProbeForward" type="Area3D" parent="Table" index="0" unique_id=-1294555795] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, -0.45) collision_layer = 512 [node name="CollisionShape3D" type="CollisionShape3D" parent="Table/ProbeForward" index="0" unique_id=-1294555794] shape = SubResource("BoxShape3D_probe") [node name="ProbeRight" type="Area3D" parent="Table" index="1" unique_id=-1294555793] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.45, 0.5, 0) collision_layer = 512 [node name="CollisionShape3D" type="CollisionShape3D" parent="Table/ProbeRight" index="0" unique_id=-1294555792] shape = SubResource("BoxShape3D_probe") [node name="ProbeBack" type="Area3D" parent="Table" index="2" unique_id=-1294555791] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0.45) collision_layer = 512 [node name="CollisionShape3D" type="CollisionShape3D" parent="Table/ProbeBack" index="0" unique_id=-1294555790] shape = SubResource("BoxShape3D_probe") [node name="ProbeLeft" type="Area3D" parent="Table" index="3" unique_id=-1294555789] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.45, 0.5, 0) collision_layer = 512 [node name="CollisionShape3D" type="CollisionShape3D" parent="Table/ProbeLeft" index="0" unique_id=-1294555788] shape = SubResource("BoxShape3D_probe") [node name="CollisionShape3D" type="CollisionShape3D" parent="Table" index="4" unique_id=228053941] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.50155246, 0) shape = SubResource("BoxShape3D_24d3s") [node name="CollisionShape3D2" type="CollisionShape3D" parent="Table" index="5" unique_id=276384063] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.094791204, 0.9715525, 0.0012244582) shape = SubResource("BoxShape3D_24d3s") [node name="XRToolsSnapZone" type="Area3D" parent="Table" index="6" unique_id=1947858647 groups=["station_zone"]] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.0285525, 0) collision_layer = 65536 collision_mask = 65540 script = ExtResource("1_8j1nt") stash_sound = ExtResource("3_0s6ir") snap_mode = 1 metadata/_custom_type_script = "uid://cquqe4f1m1sw6" [node name="CollisionShape3D2" type="CollisionShape3D" parent="Table/XRToolsSnapZone" index="0" unique_id=1176887393] transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, -0.000975132, 0) shape = SubResource("SphereShape3D_dlkho") [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Table/XRToolsSnapZone" index="1" unique_id=2135860710] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.013531357, -0.015141487, 0.012176305) [node name="CSGCombiner3D" type="CSGCombiner3D" parent="Table" index="7" unique_id=2085635675] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.50155246, 0) [node name="CSGBox3D" type="CSGBox3D" parent="Table/CSGCombiner3D" index="0" unique_id=411048765] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.46137518, 0) size = Vector3(0.6, 0.077, 0.6) material = SubResource("StandardMaterial3D_24d3s") [node name="CSGBox3D2" type="CSGBox3D" parent="Table/CSGCombiner3D" index="1" unique_id=2093582402] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.02685462, 0) size = Vector3(0.1, 0.9258911, 0.1) material = SubResource("StandardMaterial3D_24d3s") [node name="CSGBox3D4" type="CSGBox3D" parent="Table/CSGCombiner3D" index="2" unique_id=345709075] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.41408914, 0) size = Vector3(0.1, 0.15142211, 0.5341797) material = SubResource("StandardMaterial3D_24d3s") [node name="CSGBox3D5" type="CSGBox3D" parent="Table/CSGCombiner3D" index="3" unique_id=550923256] transform = Transform3D(-4.371139e-08, 0, -1, 0, 1, 0, 1, 0, -4.371139e-08, 0, -0.41408914, 0) size = Vector3(0.1, 0.15142211, 0.5341797) material = SubResource("StandardMaterial3D_24d3s") [node name="Customers" type="Node3D" parent="Table" index="8" unique_id=2147179512] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.50155246, 0) [node name="Customer" type="Node3D" parent="Table/Customers" index="0" unique_id=1265943831] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.016780734, -0.08218986, 0) [node name="CSGCombiner3D" type="CSGCombiner3D" parent="Table/Customers/Customer" index="0" unique_id=1211819222] transform = Transform3D(1.095, 0, 0, 0, 1.095, 0, 0, 0, 1.095, 0.08442788, -0.19989291, 0) [node name="CSGSphere3D" type="CSGSphere3D" parent="Table/Customers/Customer/CSGCombiner3D" index="0" unique_id=2104132980] transform = Transform3D(0.9999998, 0, 0, 0, 0.9999998, 0, 0, 0, 0.9999998, -0.7149929, 1.2762557, 0) radius = 0.17520222 [node name="CSGSphere3D2" type="CSGSphere3D" parent="Table/Customers/Customer/CSGCombiner3D" index="1" unique_id=808477724] transform = Transform3D(0.9999998, 0, 0, 0, 1.7476468, 0, 0, 0, 0.9999998, -0.7366721, 0.8531885, 0) radius = 0.17520222 [node name="Seats" type="Node3D" parent="Table" index="9" unique_id=1101423789] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.50155246, 0) [node name="Seat" type="Node3D" parent="Table/Seats" index="0" unique_id=1951252898] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.9079602, -0.37259835, 0) [node name="CSGCombiner3D" type="CSGCombiner3D" parent="Table/Seats/Seat" index="0" unique_id=384912485] [node name="CSGCylinder3D" type="CSGCylinder3D" parent="Table/Seats/Seat/CSGCombiner3D" index="0" unique_id=170426769] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.18637085, 0.51674986, 0) radius = 0.25634766 height = 0.051940918 sides = 16 [node name="CSGCylinder3D2" type="CSGCylinder3D" parent="Table/Seats/Seat/CSGCombiner3D" index="1" unique_id=1294605073] transform = Transform3D(0.24355066, 0.98373884, 0, -1.3339849, 0.1796049, 0, 0, 0, 0.8365013, -0.05247748, 0.8547088, 0) radius = 0.25634766 height = 0.051940918 sides = 16 [node name="CSGBox3D" type="CSGBox3D" parent="Table/Seats/Seat/CSGCombiner3D" index="2" unique_id=1761839440] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.030369163, 0.18746406, 0.1341562) size = Vector3(0.05, 0.6713196, 0.05) [node name="CSGBox3D2" type="CSGBox3D" parent="Table/Seats/Seat/CSGCombiner3D" index="3" unique_id=1395371703] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.030369163, 0.18746406, -0.15065354) size = Vector3(0.05, 0.6713196, 0.05) [node name="CSGBox3D3" type="CSGBox3D" parent="Table/Seats/Seat/CSGCombiner3D" index="4" unique_id=96608061] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.33084005, 0.18746406, 0.1341562) size = Vector3(0.05, 0.6713196, 0.05) [node name="CSGBox3D4" type="CSGBox3D" parent="Table/Seats/Seat/CSGCombiner3D" index="5" unique_id=1684738537] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.33084005, 0.18746406, -0.15065354) size = Vector3(0.05, 0.6713196, 0.05) [node name="Label3D" type="Label3D" parent="Table" index="10" unique_id=662960977] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8263302, 0) pixel_size = 0.003 billboard = 2 text = "table state" vertical_alignment = 0 line_spacing = -15.0 [node name="Label3DTime" type="Label3D" parent="Table" index="11" unique_id=1534849507] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.0147986, 0) visible = false pixel_size = 0.003 billboard = 2 text = "20.1s" [node name="ProgressBar3D" parent="Table" index="12" unique_id=600000001 instance=ExtResource("3_kjf1i")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.8692299, 0) y_billboard = true [node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="Table" index="13" unique_id=724610642] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.7950532, 0) [node name="PlayerDetectArea3D" type="Area3D" parent="Table" index="14" unique_id=913445150] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.50155246, 0) collision_layer = 0 collision_mask = 524288 [node name="CollisionShape3D" type="CollisionShape3D" parent="Table/PlayerDetectArea3D" index="0" unique_id=1538221021] shape = SubResource("BoxShape3D_vlqg6") [connection signal="body_entered" from="Table/PlayerDetectArea3D" to="Table" method="_on_player_enter"] [connection signal="body_exited" from="Table/PlayerDetectArea3D" to="Table" method="_on_player_exit"]