[gd_scene load_steps=39 format=4 uid="uid://dh43kt0l28qd5"]

[ext_resource type="Script" uid="uid://5e157vdk6175" path="res://addons/reedscene/scene/ReedScene.gd" id="1_uuej8"]
[ext_resource type="Script" uid="uid://bh066o84byplh" path="res://addons/reedscene/scene/ReedSceneID.gd" id="2_kqs7t"]
[ext_resource type="Script" uid="uid://dn0ksjoswquf5" path="res://addons/reedscene/scene/SceneManager.gd" id="3_uuej8"]
[ext_resource type="Script" uid="uid://ons77en82uls" path="res://addons/reedscene/scene/scene_trigger/base/SceneTrigger.gd" id="4_2v5hg"]
[ext_resource type="Script" uid="uid://dsgl7lbyjsiif" path="res://addons/reedscene/act/ActManager.gd" id="4_jlqvj"]
[ext_resource type="Resource" uid="uid://bym4pb0ellj7b" path="res://_scene/scene_trigger_resource/default_switch.tres" id="5_td1yf"]
[ext_resource type="Script" uid="uid://fxpk2ot6otfh" path="res://addons/reedscene/act/Act.gd" id="5_vajwc"]
[ext_resource type="Script" uid="uid://baqgorvlumyju" path="res://addons/reedscene/act/SingleAct.gd" id="6_td1yf"]
[ext_resource type="Script" uid="uid://pxjf5vst08eo" path="res://addons/reedscene/prop/PropManager.gd" id="7_pawhc"]
[ext_resource type="PackedScene" uid="uid://bflwr7cryd2l0" path="res://_shared/camera/CameraAnchor.tscn" id="8_x0ktb"]
[ext_resource type="Script" uid="uid://b4menkyub4ce7" path="res://addons/reedscene/prop/PropComponent.gd" id="9_03jph"]
[ext_resource type="Script" uid="uid://di41kt2tj34c2" path="res://addons/reedscene/prop/StateManager.gd" id="10_6tjqf"]
[ext_resource type="Script" uid="uid://7lml6d1t5xtq" path="res://addons/reedscene/prop/PropState.gd" id="11_vl8fy"]
[ext_resource type="Script" uid="uid://cdvgq0xqdbagk" path="res://addons/reedscene/prop/Effect/ReedPropEffect.gd" id="12_dqcx2"]
[ext_resource type="Resource" uid="uid://bjjxh7g7iosla" path="res://_props/_camera/camera_anchor_disable.tres" id="13_86ew5"]
[ext_resource type="Resource" uid="uid://458r8rf7x02p" path="res://_props/_camera/camera_anchor_enable.tres" id="14_vq1vg"]
[ext_resource type="PackedScene" uid="uid://bonrls3iuhdqb" path="res://_props/_prefabs/player/player_trigger_volumn.tscn" id="15_g6605"]
[ext_resource type="Resource" uid="uid://dd4df6yjkeifa" path="res://_props/_prefabs/player/effect/player_trigger_volumn_disable.tres" id="16_k4hob"]
[ext_resource type="Resource" uid="uid://b6iglvt36pm55" path="res://_props/_prefabs/player/effect/player_trigger_volumn_enable.tres" id="17_bf0ve"]
[ext_resource type="TileSet" uid="uid://doepkfp83k0lb" path="res://_tileset/test.tres" id="20_2v5hg"]
[ext_resource type="PackedScene" uid="uid://cxgcmdxlbwwjh" path="res://_props/_prefabs/player/player_respawn_point.tscn" id="20_td1yf"]
[ext_resource type="Script" uid="uid://bf1qlvdbf8qdp" path="res://addons/reedscene/prop/Effect/EAT_CallFunc.gd" id="21_pawhc"]
[ext_resource type="Script" uid="uid://8cqs3i8sr8b1" path="res://addons/reedscene/prop/Effect/ETT_Owner.gd" id="22_x0ktb"]

[sub_resource type="Resource" id="Resource_oupin"]
script = ExtResource("6_td1yf")

[sub_resource type="Resource" id="Resource_pvikv"]
script = ExtResource("6_td1yf")
state_id = 1

[sub_resource type="Resource" id="Resource_03jph"]
script = ExtResource("6_td1yf")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_kgsud"]
script = ExtResource("5_vajwc")
prop_state_map = Dictionary[int, ExtResource("6_td1yf")]({
0: SubResource("Resource_oupin"),
1: SubResource("Resource_pvikv"),
2: SubResource("Resource_03jph")
})

[sub_resource type="Resource" id="Resource_7a0so"]
script = ExtResource("6_td1yf")
state_id = 1
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_3e1bk"]
script = ExtResource("6_td1yf")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_6tjqf"]
script = ExtResource("6_td1yf")
metadata/_custom_type_script = "uid://baqgorvlumyju"

[sub_resource type="Resource" id="Resource_kcnes"]
script = ExtResource("5_vajwc")
prop_state_map = Dictionary[int, ExtResource("6_td1yf")]({
0: SubResource("Resource_7a0so"),
1: SubResource("Resource_3e1bk"),
2: SubResource("Resource_6tjqf")
})

[sub_resource type="RectangleShape2D" id="RectangleShape2D_oupin"]
size = Vector2(800, 480)

[sub_resource type="Resource" id="Resource_ctwrc"]
script = ExtResource("21_pawhc")
func_name = &"pop_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

[sub_resource type="Resource" id="Resource_0u6xi"]
script = ExtResource("22_x0ktb")

[sub_resource type="Resource" id="Resource_r0e2c"]
script = ExtResource("12_dqcx2")
effect_target_type = SubResource("Resource_0u6xi")
effect_apply_type = SubResource("Resource_ctwrc")
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"

[sub_resource type="Resource" id="Resource_hatj6"]
script = ExtResource("21_pawhc")
func_name = &"push_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

[sub_resource type="Resource" id="Resource_o2v7x"]
script = ExtResource("22_x0ktb")

[sub_resource type="Resource" id="Resource_ubvm0"]
script = ExtResource("12_dqcx2")
effect_target_type = SubResource("Resource_o2v7x")
effect_apply_type = SubResource("Resource_hatj6")
metadata/_custom_type_script = "uid://cdvgq0xqdbagk"

[node name="L1_S3" type="Node2D"]
script = ExtResource("1_uuej8")
metadata/_custom_type_script = "uid://5e157vdk6175"

[node name="[Invalid!]" type="Node" parent="."]
script = ExtResource("2_kqs7t")

[node name="SceneManager" type="Node" parent="."]
script = ExtResource("3_uuej8")
quick_trigger = Array[ExtResource("4_2v5hg")]([ExtResource("5_td1yf")])

[node name="ActManager" type="Node" parent="."]
script = ExtResource("4_jlqvj")
prop_state_map = Dictionary[int, ExtResource("5_vajwc")]({
0: SubResource("Resource_kgsud"),
1: SubResource("Resource_kcnes")
})
init_act_id = 0

[node name="Props" type="Node2D" parent="."]
script = ExtResource("7_pawhc")

[node name="CameraAnchor" parent="Props" instance=ExtResource("8_x0ktb")]
position = Vector2(1403, -480)
zoom = Vector2(0.76, 0.76)
limit_top = 350
limit_bottom = -255
limit_left = -430
limit_right = 415
follow_player = true

[node name="[Prop_0000]" type="Node" parent="Props/CameraAnchor"]
script = ExtResource("9_03jph")
prop_id = 0

[node name="States" type="Node" parent="Props/CameraAnchor/[Prop_0000]"]
script = ExtResource("10_6tjqf")

[node name="[ID_0] Disable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States"]
script = ExtResource("11_vl8fy")
state_id = 0
effects = Array[ExtResource("12_dqcx2")]([ExtResource("13_86ew5")])

[node name="[ID_1] Enable" type="Node" parent="Props/CameraAnchor/[Prop_0000]/States"]
script = ExtResource("11_vl8fy")
state_id = 1
effects = Array[ExtResource("12_dqcx2")]([ExtResource("14_vq1vg")])

[node name="PlayerTriggerVolumn" parent="Props" instance=ExtResource("15_g6605")]
position = Vector2(1389, -480)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn"]
shape = SubResource("RectangleShape2D_oupin")
debug_color = Color(0, 0.6213834, 0.54251903, 0.41960785)

[node name="[Prop_0001]" type="Node" parent="Props/PlayerTriggerVolumn"]
script = ExtResource("9_03jph")
prop_id = 1

[node name="States" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]"]
script = ExtResource("10_6tjqf")

[node name="[ID_0] Disable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States"]
script = ExtResource("11_vl8fy")
state_id = 0
effects = Array[ExtResource("12_dqcx2")]([ExtResource("16_k4hob")])

[node name="[ID_1] Enable" type="Node" parent="Props/PlayerTriggerVolumn/[Prop_0001]/States"]
script = ExtResource("11_vl8fy")
state_id = 1
effects = Array[ExtResource("12_dqcx2")]([ExtResource("17_bf0ve")])

[node name="PlayerRespawnPoint" parent="Props" instance=ExtResource("20_td1yf")]
position = Vector2(1015, -433)

[node name="[Prop_0002]" type="Node" parent="Props/PlayerRespawnPoint"]
script = ExtResource("9_03jph")
prop_id = 2

[node name="States" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]"]
script = ExtResource("10_6tjqf")

[node name="[ID_0] Disable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States"]
script = ExtResource("11_vl8fy")
state_id = 0
effects = Array[ExtResource("12_dqcx2")]([SubResource("Resource_r0e2c")])

[node name="[ID_1] Enable" type="Node" parent="Props/PlayerRespawnPoint/[Prop_0002]/States"]
script = ExtResource("11_vl8fy")
state_id = 1
effects = Array[ExtResource("12_dqcx2")]([SubResource("Resource_ubvm0")])

[node name="TileMapLayer" type="TileMapLayer" parent="." groups=["GRAPABLE"]]
texture_filter = 1
tile_map_data = PackedByteArray("[encoded data, 15220 characters]")
tile_set = ExtResource("20_2v5hg")

[connection signal="player_entered" from="Props/PlayerTriggerVolumn" to="SceneManager" method="_on_player_trigger_volumn_player_entered"]
