[gd_scene load_steps=17 format=3 uid="uid://ckad8stc13n83"]

[ext_resource type="PackedScene" uid="uid://gg5ph541e4p3" path="res://scenes/player.tscn" id="1_2585i"]
[ext_resource type="PackedScene" uid="uid://ddwkhfly2xyyt" path="res://models/interior.obj" id="1_lphcl"]
[ext_resource type="Texture2D" uid="uid://cgw1p1kkos7on" path="res://assets/textures/world/material/concretepoured/concretepoured_col.png" id="2_l4ecd"]
[ext_resource type="Texture2D" uid="uid://bawjipies8h2d" path="res://assets/textures/world/material/scratcheslight/scratcheslight_overlay_var2.jpg" id="2_q6muq"]
[ext_resource type="PackedScene" uid="uid://b8bvidqu7tmfs" path="res://scenes/objects/interactables/task_terminal.tscn" id="3_30m3x"]
[ext_resource type="Texture2D" uid="uid://di4obkop8ephm" path="res://assets/textures/world/material/concretepoured/concretepoured_ao.png" id="3_kjg8t"]
[ext_resource type="Texture2D" uid="uid://d3dolqycw3mpv" path="res://assets/textures/world/material/scratcheslight/scratcheslight_nrm.jpg" id="3_ngvi5"]
[ext_resource type="Texture2D" uid="uid://bcbgpyrfr4123" path="res://assets/textures/world/material/concretepoured/concretepoured_metalness.png" id="4_3bilk"]
[ext_resource type="PackedScene" uid="uid://dqy8bqf1chm8c" path="res://scenes/objects/interactables/button_stand.tscn" id="4_cruoa"]
[ext_resource type="Texture2D" uid="uid://j0mywmwge6t5" path="res://assets/textures/world/material/scratcheslight/scratcheslight_overlay_var1.jpg" id="4_krrud"]
[ext_resource type="PackedScene" uid="uid://22blfybi6n4q" path="res://scenes/completion_counter.tscn" id="5_lo1l3"]
[ext_resource type="Texture2D" uid="uid://cklnmi23c8c3j" path="res://assets/textures/world/material/concretepoured/concretepoured_nrm.png" id="5_we3dw"]
[ext_resource type="PackedScene" uid="uid://cy0x2nliyw8gw" path="res://scenes/door.tscn" id="6_853p2"]
[ext_resource type="Texture2D" uid="uid://w4n61moqflg3" path="res://assets/textures/world/material/concretepoured/concretepoured_roughness.png" id="6_bdw2q"]

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_780x3"]
albedo_texture = ExtResource("2_q6muq")
metallic_specular = 0.0
roughness_texture = ExtResource("4_krrud")
normal_enabled = true
normal_texture = ExtResource("3_ngvi5")
clearcoat_enabled = true
clearcoat = 0.15
clearcoat_texture = ExtResource("4_krrud")
uv1_scale = Vector3(30, 30, 30)
uv2_triplanar_sharpness = 3.605

[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cra61"]
albedo_texture = ExtResource("2_l4ecd")
metallic = 1.0
metallic_texture = ExtResource("4_3bilk")
roughness_texture = ExtResource("6_bdw2q")
normal_enabled = true
normal_texture = ExtResource("5_we3dw")
ao_enabled = true
ao_texture = ExtResource("3_kjg8t")

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

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.707107, -0.5, 0.5, 0, 0.707107, 0.707107, -0.707107, -0.5, 0.5, 0, 0, 0)
directional_shadow_blend_splits = true
sky_mode = 1
metadata/_edit_lock_ = true

[node name="interior" parent="." instance=ExtResource("1_lphcl")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 3, 0)

[node name="Hallway" parent="interior" index="0"]
surface_material_override/0 = SubResource("StandardMaterial3D_780x3")

[node name="Cube" parent="interior" index="1"]
surface_material_override/0 = SubResource("StandardMaterial3D_cra61")

[node name="Player" parent="." instance=ExtResource("1_2585i")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 5.23956)

[node name="TaskTerminal" parent="." instance=ExtResource("3_30m3x")]
transform = Transform3D(-4.37114e-08, 0, -1, 0, 1, 0, 1, 0, -4.37114e-08, 0.5, 0.027395, 0)

[node name="ButtonStand" parent="." instance=ExtResource("4_cruoa")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2, 0.7, 0)
one_shot = true

[node name="CompletionCounter" parent="." node_paths=PackedStringArray("nodes_needed") instance=ExtResource("5_lo1l3")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0617981, 3.05379, 6.24098)
nodes_needed = [NodePath("../ButtonStand"), NodePath("../ButtonStand2")]

[node name="Door" parent="." instance=ExtResource("6_853p2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.1, 1.425, 6.64)

[node name="ButtonStand2" parent="." instance=ExtResource("4_cruoa")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3, 0.7, 4)

[connection signal="lock" from="CompletionCounter" to="Door" method="close"]
[connection signal="unlock" from="CompletionCounter" to="Door" method="open"]

[editable path="interior"]
