diff --git a/Level/InFactory.tscn b/Level/InFactory.tscn index 32cdffd..7bc3c2f 100644 --- a/Level/InFactory.tscn +++ b/Level/InFactory.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=33 format=2] +[gd_scene load_steps=36 format=2] [ext_resource path="res://Level/Interactables/Key/Key.tscn" type="PackedScene" id=1] [ext_resource path="res://Level/Interactables/Keycard/Keycard2.tscn" type="PackedScene" id=2] @@ -17,6 +17,9 @@ [ext_resource path="res://Level/Interactables/Pipes/StraightForkPipe.tscn" type="PackedScene" id=15] [ext_resource path="res://Characters/Player/Player.tscn" type="PackedScene" id=16] [ext_resource path="res://Util/NodeGroupNotifier.tscn" type="PackedScene" id=17] +[ext_resource path="res://Level/FactoryMusicHandler.gd" type="Script" id=18] +[ext_resource path="res://Resources/Audio/FactoryMusic/inactive.wav" type="AudioStream" id=19] +[ext_resource path="res://Resources/Audio/FactoryMusic/active.wav" type="AudioStream" id=20] [sub_resource type="Curve3D" id=1] _data = { @@ -68,6 +71,7 @@ rings = 1 [node name="InFactory" type="Navigation"] [node name="KeysCards" type="Spatial" parent="."] +editor/display_folded = true [node name="Key" parent="KeysCards" instance=ExtResource( 1 )] transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 27.7316, 1, -9.61762 ) @@ -1730,6 +1734,16 @@ IsInFactory = true group_name = "Navigator" node_to_send = NodePath("..") +[node name="FactoryMusicHandler" type="Node" parent="."] +script = ExtResource( 18 ) +path_to_pipegame = NodePath("../Architecture/FactoryRoomInterior/PipeGame") + +[node name="InactiveMusic" type="AudioStreamPlayer" parent="FactoryMusicHandler"] +stream = ExtResource( 19 ) + +[node name="ActiveMusic" type="AudioStreamPlayer" parent="FactoryMusicHandler"] +stream = ExtResource( 20 ) + [editable path="Architecture/FactoryRoomWalls/BackWallTrue/Door"] [editable path="Architecture/FactoryRoomInterior/KeyThing/Key"]