[gd_scene load_steps=13 format=3 uid="uid://dhguxwgsg2mew"]

[ext_resource type="PackedScene" uid="uid://dyhvoundu2kqc" path="res://parts/Building.tscn" id="1_pqjvq"]
[ext_resource type="PackedScene" uid="uid://bqlkj4ar8q1ws" path="res://parts/assemblies/BeltConveyorAssembly.tscn" id="3_3xfn1"]
[ext_resource type="PackedScene" uid="uid://kdpe7o4ec1fa" path="res://parts/DiffuseSensor.tscn" id="4_cb1ro"]
[ext_resource type="PackedScene" uid="uid://c1mup2vown0ak" path="res://parts/BladeStop.tscn" id="6_gux8d"]
[ext_resource type="PackedScene" uid="uid://co2mqmdwpn57w" path="res://parts/BoxSpawner.tscn" id="7_vamps"]
[ext_resource type="PackedScene" uid="uid://gddgyvex6gdj" path="res://parts/PushButton.tscn" id="8_pqjvq"]
[ext_resource type="Script" uid="uid://b7gcalyqn1xyy" path="res://fpe.gd" id="8_r6n5s"]
[ext_resource type="PackedScene" uid="uid://drle8i15nwr68" path="res://parts/StackLight.tscn" id="9_cb1ro"]
[ext_resource type="Script" uid="uid://bl7o7avq4pi78" path="res://src/StackLight/stack_light_data.gd" id="10_2l86j"]
[ext_resource type="Script" uid="uid://buet0tp11gjdl" path="res://src/StackLight/stack_segment_data.gd" id="11_gux8d"]

[sub_resource type="Resource" id="Resource_3xfn1"]
resource_local_to_scene = true
script = ExtResource("11_gux8d")
active = false
segment_color = Color(0.0745098, 0.176471, 1, 1)

[sub_resource type="Resource" id="Resource_cb1ro"]
resource_local_to_scene = true
script = ExtResource("10_2l86j")
segment_datas = [SubResource("Resource_3xfn1")]

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

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

[node name="UL1_3" parent="." instance=ExtResource("3_3xfn1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -4.48619, -4.76837e-07, -1.35847)
local_floor_plane = Plane(0, 1, 0, -2)
enable_comms = true
speed_tag_name = "UL1_3_OIP"
running_tag_name = ""
metadata/hijack_scale = true
size = Vector3(11.7174, 0.5, 1.524)
metadata/hijack_scale = true

[node name="UL1_3_FPE1" parent="." instance=ExtResource("4_cb1ro")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.141194, 0.0350112, -2.60662)
max_range = 1.6
normally_closed = true
enable_comms = true
tag_name = "In_Clear_OIP"

[node name="BladeStop" parent="." instance=ExtResource("6_gux8d")]
transform = Transform3D(-0.999323, -0.0336398, 0.00665379, 0.0336435, -0.999434, 0, 0.0148438, 0.00049968, 0.447951, 0.891211, 1.3309, -1.28927)
active = true

[node name="BoxSpawner" parent="." instance=ExtResource("7_vamps")]
transform = Transform3D(1, 2.30012e-09, -9.31322e-10, -2.30012e-09, 1, 8.84756e-09, 9.31322e-10, -8.84756e-09, 1, -9.44986, 0.501, -1.32867)

[node name="fpe" type="Node" parent="."]
script = ExtResource("8_r6n5s")

[node name="MCM_Start" parent="." instance=ExtResource("8_pqjvq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.95448, 0.102839, -0.460195)
text = "START_MCM"
toggle = true
pressed = true
button_color = Color(0, 1, 0, 1)
enable_comms = true
pushbutton_tag_group_name = "TagGroup0"
pushbutton_tag_name = "MCM_START_LATCH_BUTTON"
lamp_tag_group_name = "TagGroup0"

[node name="StackLight" parent="." instance=ExtResource("9_cb1ro")]
transform = Transform3D(3, 0, 0, 0, 0.45, 0, 0, 0, 3, -10.0497, 0.311521, -0.495504)
_data = SubResource("Resource_cb1ro")
"Light 1" = SubResource("Resource_3xfn1")
enable_comms = true
tag_groups = null
tag_name = "Beacon_Light_OIP"

[node name="UL1_4" parent="." instance=ExtResource("3_3xfn1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.90031, 0, -1.35781)
enable_comms = true
speed_tag_name = "UL1_4_OIP"
running_tag_name = ""
metadata/hijack_scale = true
size = Vector3(7.1935, 0.5, 1.524)
metadata/hijack_scale = true

[node name="UL1_4_FPE1" parent="." instance=ExtResource("4_cb1ro")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7.70326, 0.0989852, -2.5893)
normally_closed = true
enable_comms = true
tag_name = "UL1_4_FPE_OIP"

[node name="Run_UP" parent="." instance=ExtResource("8_pqjvq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.22809, 0.105224, -0.460195)
text = "RUN_UP"
toggle = true
pressed = true
button_color = Color(0.297046, 0.494994, 1, 1)
enable_comms = true
pushbutton_tag_group_name = "TagGroup0"
pushbutton_tag_name = "Can_Run_UP_OIP"
lamp_tag_group_name = "TagGroup0"

[node name="PushButton" parent="." instance=ExtResource("8_pqjvq")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -8.9497, -0.302912, -0.460195)
text = "Conveyor_Interlock"
toggle = true
pressed = true
button_color = Color(0, 1, 0, 1)
pushbutton_tag_group_name = "TagGroup0"
lamp_tag_group_name = "TagGroup0"
