[gd_scene load_steps=15 format=3 uid="uid://ceb5ontjww6ju"]

[ext_resource type="PackedScene" uid="uid://dyhvoundu2kqc" path="res://parts/Building.tscn" id="1_w8dh7"]
[ext_resource type="PackedScene" uid="uid://bqlkj4ar8q1ws" path="res://parts/assemblies/BeltConveyorAssembly.tscn" id="3_uc4id"]
[ext_resource type="PackedScene" uid="uid://kdpe7o4ec1fa" path="res://parts/DiffuseSensor.tscn" id="5_wkvk5"]
[ext_resource type="PackedScene" uid="uid://drle8i15nwr68" path="res://parts/StackLight.tscn" id="6_yqk3b"]
[ext_resource type="Script" uid="uid://bl7o7avq4pi78" path="res://src/StackLight/stack_light_data.gd" id="7_wdjsd"]
[ext_resource type="Script" uid="uid://buet0tp11gjdl" path="res://src/StackLight/stack_segment_data.gd" id="8_7heji"]
[ext_resource type="PackedScene" uid="uid://co2mqmdwpn57w" path="res://parts/BoxSpawner.tscn" id="9_k8u6b"]
[ext_resource type="PackedScene" uid="uid://c1mup2vown0ak" path="res://parts/BladeStop.tscn" id="9_uxtiq"]
[ext_resource type="PackedScene" uid="uid://gddgyvex6gdj" path="res://parts/PushButton.tscn" id="10_uc4id"]
[ext_resource type="PackedScene" uid="uid://bl73u0rvt2orv" path="res://parts/Despawner.tscn" id="10_uxtiq"]
[ext_resource type="Script" path="res://node.gd" id="11_uc4id"]

[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_p2jmr"]
friction = 0.5

[sub_resource type="Resource" id="Resource_uc4id"]
resource_local_to_scene = true
script = ExtResource("8_7heji")
active = false
segment_color = Color(1, 0.501961, 0, 1)

[sub_resource type="Resource" id="Resource_qdmhf"]
resource_local_to_scene = true
script = ExtResource("7_wdjsd")
segment_datas = [SubResource("Resource_uc4id")]

[node name="Simulation" type="Node3D"]

[node name="Building" parent="." instance=ExtResource("1_w8dh7")]

[node name="FL2078_2" parent="." instance=ExtResource("3_uc4id")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.08, -0.308412, -1.61317)
local_floor_plane = Plane(0, 1, 0, -1.69159)
speed = 0.0
belt_physics_material = SubResource("PhysicsMaterial_p2jmr")
enable_comms = true
speed_tag_name = "FL2078_2_OIP"
running_tag_name = ""
metadata/hijack_scale = true
size = Vector3(9.89833, 0.5, 1.524)
metadata/hijack_scale = true

[node name="FL2078_3" parent="." instance=ExtResource("3_uc4id")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 5.77592, -0.308412, -1.61485)
local_floor_plane = Plane(0, 1, 0, -1.69159)
speed = 0.0
belt_physics_material = SubResource("PhysicsMaterial_p2jmr")
enable_comms = true
speed_tag_name = "FL2078_3_OIP"
running_tag_name = ""
metadata/hijack_scale = true
size = Vector3(9.79035, 0.5, 1.524)
metadata/hijack_scale = true

[node name="DiffuseSensor" parent="." instance=ExtResource("5_wkvk5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 10.1174, -0.123983, -2.79222)
max_range = 2.479
enable_comms = true
tag_name = "FL2078_3_JPE1_OIP"

[node name="StackLight" parent="." instance=ExtResource("6_yqk3b")]
transform = Transform3D(3, 0, 0, 0, 0.45, 0, 0, 0, 3, -3.21323, -0.0751796, -0.625089)
_data = SubResource("Resource_qdmhf")
"Light 1" = SubResource("Resource_uc4id")
enable_comms = true
tag_groups = null
tag_name = "FL2078_2_BCN_OIP"

[node name="BoxSpawner" parent="." instance=ExtResource("9_k8u6b")]
transform = Transform3D(1, 2.30012e-09, -9.31322e-10, -2.30012e-09, 1, 8.84756e-09, 9.31322e-10, -8.84756e-09, 1, -8.44228, 0.21153, -1.72495)
disable = true

[node name="BladeStop" parent="." instance=ExtResource("9_uxtiq")]
transform = Transform3D(-0.999775, 0.0212216, 0, -0.0212216, -0.999775, 0, 0, 0, 0.448, 0.959132, 1.01775, -1.52709)

[node name="PushButton" parent="." instance=ExtResource("10_uc4id")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.35268, -0.30861, -0.714896)
text = "MCM"
toggle = true
pressed = true
button_color = Color(0, 1, 0, 1)
enable_comms = true
pushbutton_tag_group_name = "TagGroup0"
pushbutton_tag_name = "MCM_OIP"
lamp_tag_group_name = "TagGroup0"

[node name="Despawner" parent="." instance=ExtResource("10_uxtiq")]
transform = Transform3D(2, 0, 0, 0, 1, 0, 0, 0, 2, 11.6196, -1.5, -1.66478)

[node name="Node" type="Node" parent="."]
script = ExtResource("11_uc4id")

[node name="PushButton2" parent="." instance=ExtResource("10_uc4id")]
transform = Transform3D(0.999998, 0, 0.00211185, 0, 1, 0, -0.00211185, 0, 0.999998, -0.614295, -0.294131, -0.655009)
text = "Station Partner"
button_color = Color(0.823212, 0.823212, 0.823212, 1)
enable_comms = true
pushbutton_tag_group_name = "TagGroup0"
pushbutton_tag_name = "Jam_PB_OIP"
lamp_tag_group_name = "TagGroup0"

[node name="DiffuseSensor2" parent="." instance=ExtResource("5_wkvk5")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.0223006, -0.03558, -2.90476)
max_range = 1.849
normally_closed = true
enable_comms = true
tag_name = "FL2078_2_JPE1_OIP"

[node name="PushButton3" parent="." instance=ExtResource("10_uc4id")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.34897, -0.728368, -0.714896)
text = "Maintenance_Mode"
toggle = true
button_color = Color(0.769044, 0.429336, 0.316485, 1)
enable_comms = true
pushbutton_tag_group_name = "TagGroup0"
pushbutton_tag_name = "TOGGLE_MAINT_MODE"
lamp_tag_group_name = "TagGroup0"
