[gd_scene load_steps=54 format=4 uid="uid://djs1eg5y008cs"]

[ext_resource type="Script" uid="uid://5e157vdk6175" path="res://addons/reedscene/scene/ReedScene.gd" id="1_32vl4"]
[ext_resource type="PackedScene" uid="uid://dwrkfo2vhummq" path="res://_scene/feature/[Featrue]Reset.tscn" id="2_nnp13"]
[ext_resource type="Script" uid="uid://bh066o84byplh" path="res://addons/reedscene/scene/ReedSceneID.gd" id="2_of0lw"]
[ext_resource type="Script" uid="uid://dn0ksjoswquf5" path="res://addons/reedscene/scene/SceneManager.gd" id="3_32vl4"]
[ext_resource type="Script" uid="uid://dsgl7lbyjsiif" path="res://addons/reedscene/act/ActManager.gd" id="4_10cyl"]
[ext_resource type="Script" uid="uid://ons77en82uls" path="res://addons/reedscene/scene/scene_trigger/base/SceneTrigger.gd" id="4_qrebp"]
[ext_resource type="Script" uid="uid://fxpk2ot6otfh" path="res://addons/reedscene/act/Act.gd" id="5_0xms0"]
[ext_resource type="Resource" uid="uid://bym4pb0ellj7b" path="res://_scene/scene_trigger_resource/default_switch.tres" id="5_fdfto"]
[ext_resource type="Script" uid="uid://baqgorvlumyju" path="res://addons/reedscene/act/SingleAct.gd" id="6_agny0"]
[ext_resource type="Script" uid="uid://bhtwi61ts62ta" path="res://_scene/guard/Guard_CurrentActCheck.gd" id="6_fmhh5"]
[ext_resource type="Script" uid="uid://dxj5vimigc651" path="res://addons/reedscene/scene/scene_trigger/base/SceneTriggerEffectPair.gd" id="6_uerbs"]
[ext_resource type="Script" uid="uid://pxjf5vst08eo" path="res://addons/reedscene/prop/PropManager.gd" id="7_8ou3l"]
[ext_resource type="Script" uid="uid://dq6xhoc441rfn" path="res://addons/reedscene/scene/scene_trigger/STR_Autoload.gd" id="7_w12cs"]
[ext_resource type="PackedScene" uid="uid://bflwr7cryd2l0" path="res://_camera/CameraAnchor.tscn" id="8_dq7pn"]
[ext_resource type="Script" uid="uid://b1bgmb71bapws" path="res://addons/reedscene/scene/scene_trigger/base/SceneTriggerEffect.gd" id="8_qg43s"]
[ext_resource type="Script" uid="uid://b4menkyub4ce7" path="res://addons/reedscene/prop/PropComponent.gd" id="9_fdfto"]
[ext_resource type="Script" uid="uid://bjstkg23cq6vq" path="res://addons/reedscene/scene/scene_trigger/STE_SwitchAct.gd" id="10_4o7gt"]
[ext_resource type="Script" uid="uid://di41kt2tj34c2" path="res://addons/reedscene/prop/StateManager.gd" id="10_uerbs"]
[ext_resource type="Script" uid="uid://5jmi0wcn1634" path="res://addons/reedscene/scene/scene_trigger/STT_NodePath.gd" id="11_tetem"]
[ext_resource type="Script" uid="uid://7lml6d1t5xtq" path="res://addons/reedscene/prop/PropState.gd" id="11_w12cs"]
[ext_resource type="Script" uid="uid://cdvgq0xqdbagk" path="res://addons/reedscene/prop/Effect/ReedPropEffect.gd" id="12_fmhh5"]
[ext_resource type="Resource" uid="uid://bjjxh7g7iosla" path="res://_props/_camera/camera_anchor_disable.tres" id="13_qg43s"]
[ext_resource type="Resource" uid="uid://458r8rf7x02p" path="res://_props/_camera/camera_anchor_enable.tres" id="14_nnp13"]
[ext_resource type="PackedScene" uid="uid://bonrls3iuhdqb" path="res://_props/_prefabs/player/player_trigger_volumn.tscn" id="15_lg3ok"]
[ext_resource type="Resource" uid="uid://dd4df6yjkeifa" path="res://_props/_prefabs/player/effect/player_trigger_volumn_disable.tres" id="16_4o7gt"]
[ext_resource type="Resource" uid="uid://b6iglvt36pm55" path="res://_props/_prefabs/player/effect/player_trigger_volumn_enable.tres" id="17_tetem"]
[ext_resource type="PackedScene" uid="uid://cxgcmdxlbwwjh" path="res://_props/_prefabs/player/player_respawn_point.tscn" id="20_agny0"]
[ext_resource type="TileSet" uid="uid://doepkfp83k0lb" path="res://_tileset/test.tres" id="20_qrebp"]
[ext_resource type="Script" uid="uid://bf1qlvdbf8qdp" path="res://addons/reedscene/prop/Effect/EAT_CallFunc.gd" id="21_8ou3l"]
[ext_resource type="Script" uid="uid://8cqs3i8sr8b1" path="res://addons/reedscene/prop/Effect/ETT_Owner.gd" id="22_dq7pn"]
[ext_resource type="PackedScene" uid="uid://cpbaoqfc2kq80" path="res://_props/move_plateform/path_drive_move_plateform/PathDriveMovePlateform.tscn" id="24_fdfto"]

[sub_resource type="Resource" id="Resource_qg43s"]
script = ExtResource("6_fmhh5")
check_pass_ids = Array[int]([1])
metadata/_custom_type_script = "uid://bhtwi61ts62ta"

[sub_resource type="Resource" id="Resource_bcboe"]
script = ExtResource("10_4o7gt")
func_name = &"reset_all"
metadata/_custom_type_script = "uid://bjstkg23cq6vq"

[sub_resource type="Resource" id="Resource_2un1l"]
script = ExtResource("11_tetem")
node_path = NodePath("../[Featrue]reset")
metadata/_custom_type_script = "uid://5jmi0wcn1634"

[sub_resource type="Resource" id="Resource_nnp13"]
script = ExtResource("6_uerbs")
target = SubResource("Resource_2un1l")
effect = Array[ExtResource("8_qg43s")]([SubResource("Resource_bcboe")])
metadata/_custom_type_script = "uid://dxj5vimigc651"

[sub_resource type="Resource" id="Resource_fmhh5"]
script = ExtResource("7_w12cs")
autoload_name = &"GlobalEvent"
monitor_signal = &"player_dead"
metadata/_custom_type_script = "uid://dq6xhoc441rfn"

[sub_resource type="Resource" id="Resource_w12cs"]
script = ExtResource("4_qrebp")
trigger_register_conifg = SubResource("Resource_fmhh5")
guard = SubResource("Resource_qg43s")
trigger_effect_pairs = Array[ExtResource("6_uerbs")]([SubResource("Resource_nnp13")])
metadata/_custom_type_script = "uid://ons77en82uls"

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

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

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

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

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

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

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

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

[sub_resource type="RectangleShape2D" id="RectangleShape2D_oupin"]
size = Vector2(839, 476)

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

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

[sub_resource type="Resource" id="Resource_r0e2c"]
script = ExtResource("12_fmhh5")
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_8ou3l")
func_name = &"push_respawner"
metadata/_custom_type_script = "uid://bf1qlvdbf8qdp"

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

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

[sub_resource type="Curve2D" id="Curve2D_nnp13"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 207, -123)
}
point_count = 2

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

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

[node name="[Featrue]reset" parent="." instance=ExtResource("2_nnp13")]
reset_targets = Array[NodePath]([NodePath("../PathDriveMovePlateform")])

[node name="SceneManager" type="Node" parent="."]
script = ExtResource("3_32vl4")
quick_trigger = Array[ExtResource("4_qrebp")]([ExtResource("5_fdfto"), SubResource("Resource_w12cs")])

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

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

[node name="CameraAnchor" parent="Props" instance=ExtResource("8_dq7pn")]
position = Vector2(336, -385)
limit_top = -335
limit_bottom = 240
limit_left = -427
limit_right = 427

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

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

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

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

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

[node name="CollisionShape2D" type="CollisionShape2D" parent="Props/PlayerTriggerVolumn"]
visible = false
show_behind_parent = true
position = Vector2(-25.5, -2)
shape = SubResource("RectangleShape2D_oupin")
debug_color = Color(0.9025274, 0.3055279, 1.92523e-07, 0.41960785)

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

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

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

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

[node name="PlayerRespawnPoint" parent="Props" instance=ExtResource("20_agny0")]
position = Vector2(208, -256)

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

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

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

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

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

[node name="PathDriveMovePlateform" parent="." instance=ExtResource("24_fdfto")]
position = Vector2(468, -437)
move_speed = 300.0
acceleration = 1000.0

[node name="MovablePlateform" parent="PathDriveMovePlateform" index="0"]
scale = Vector2(0.5, 0.5)

[node name="Path2D" parent="PathDriveMovePlateform" index="1"]
curve = SubResource("Curve2D_nnp13")

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

[editable path="PathDriveMovePlateform"]
