[gd_scene load_steps=5 format=2]

[ext_resource path="res://Hazards/Knife/Knife.gd" type="Script" id=1]
[ext_resource path="res://Hazards/Fork/Fork.png" type="Texture" id=2]

[sub_resource type="Animation" id=2]
resource_name = "Stab"
length = 0.1
tracks/0/type = "value"
tracks/0/path = NodePath(".:region_rect")
tracks/0/interp = 2
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.05 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Rect2( 0, -400, 300, 470 ), Rect2( 0, 0, 300, 470 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("ForkAbove:region_rect")
tracks/1/interp = 2
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.05 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Rect2( 200, 10, 300, 100 ), Rect2( 200, 410, 300, 100 ) ]
}
tracks/2/type = "method"
tracks/2/path = NodePath(".")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/keys = {
"times": PoolRealArray(  ),
"transitions": PoolRealArray(  ),
"values": [  ]
}
tracks/3/type = "value"
tracks/3/path = NodePath("Hitbox:position")
tracks/3/interp = 2
tracks/3/loop_wrap = true
tracks/3/imported = false
tracks/3/enabled = true
tracks/3/keys = {
"times": PoolRealArray( 0, 0.5 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 0,
"values": [ Vector2( 0, 0 ), Vector2( 0, -400 ) ]
}

[sub_resource type="RectangleShape2D" id=3]
extents = Vector2( 22.25, 28.25 )

[node name="Fork" type="Sprite"]
position = Vector2( 550, 570 )
rotation = 3.14159
scale = Vector2( 2, 2 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 0, -400, 300, 470 )
script = ExtResource( 1 )

[node name="ForkAbove" type="Sprite" parent="."]
position = Vector2( 220.499, 278.001 )
texture = ExtResource( 2 )
region_enabled = true
region_rect = Rect2( 200, 10, 300, 100 )

[node name="Timer" type="Timer" parent="."]
wait_time = 1.75

[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
anims/Stab = SubResource( 2 )

[node name="Hitbox" type="Area2D" parent="."]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
position = Vector2( 108.749, 205.75 )
shape = SubResource( 3 )

[node name="Tween" type="Tween" parent="."]

[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
