53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
[gd_scene load_steps=8 format=3 uid="uid://bw1okfs32t4b1"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_vkm3w"]
|
|
[ext_resource type="Script" path="res://NPCs/HeadPatter/head_patter.gd" id="2_0ldal"]
|
|
[ext_resource type="Texture2D" uid="uid://c5q02dk7r5dqp" path="res://NPCs/HeadPatter/HeadPatterPat1.png" id="2_dmc7b"]
|
|
[ext_resource type="Resource" uid="uid://ddgw0hlgfvrj8" path="res://NPCs/HeadPatter/HeadpatPuppy.dialogue" id="3_382dn"]
|
|
[ext_resource type="Texture2D" uid="uid://bps8usn41061" path="res://NPCs/HeadPatter/HeadPatterPat2.png" id="3_yppb0"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_4l0u2"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("2_dmc7b")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_yppb0")
|
|
}],
|
|
"loop": true,
|
|
"name": &"default",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_h4rpb"]
|
|
radius = 38.0132
|
|
|
|
[node name="HeadPatter" instance=ExtResource("1_vkm3w")]
|
|
script = ExtResource("2_0ldal")
|
|
dialogueResource = ExtResource("3_382dn")
|
|
|
|
[node name="Sprite" parent="." index="0"]
|
|
position = Vector2(-24, -33)
|
|
sprite_frames = SubResource("SpriteFrames_4l0u2")
|
|
|
|
[node name="Area2D" type="Area2D" parent="." index="1"]
|
|
collision_layer = 3
|
|
collision_mask = 3
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" index="0"]
|
|
position = Vector2(-24, 6)
|
|
shape = SubResource("CircleShape2D_h4rpb")
|
|
|
|
[node name="Panel" parent="Interactable" index="1"]
|
|
offset_left = -27.0
|
|
offset_top = -77.0
|
|
offset_right = 32.0
|
|
offset_bottom = 7.0
|
|
|
|
[connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"]
|
|
|
|
[editable path="Interactable"]
|
|
[editable path="Interactable/ActionMenu"]
|
|
[editable path="Talkable"]
|