Cow_Life_Sim_RPG/NPCs/Pigeon/pigeon.tscn

65 lines
2 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://cgd10lheoyp4u"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_0ukav"]
[ext_resource type="Script" path="res://NPCs/Pigeon/pigeon.gd" id="2_6cn4s"]
[ext_resource type="Resource" uid="uid://gquvr4wefaoh" path="res://NPCs/Pigeon/Pigeon.dialogue" id="3_3cfl3"]
[ext_resource type="Texture2D" uid="uid://dnmjxip5nsvj5" path="res://NPCs/Pigeon/Lesbian/lesbianpigeon1.png" id="3_ynidx"]
[ext_resource type="Texture2D" uid="uid://ct6y5y6yggti5" path="res://NPCs/Pigeon/Lesbian/lesbianpigeon2.png" id="4_u7x1r"]
[sub_resource type="SpriteFrames" id="SpriteFrames_rfhg3"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_ynidx")
}, {
"duration": 1.0,
"texture": ExtResource("4_u7x1r")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_h3nyb"]
radius = 20.0
[sub_resource type="CircleShape2D" id="CircleShape2D_owve6"]
radius = 14.0
[node name="Pigeon" instance=ExtResource("1_0ukav")]
collision_layer = 17
collision_mask = 17
script = ExtResource("2_6cn4s")
dialogueResource = ExtResource("3_3cfl3")
[node name="Sprite" parent="." index="0"]
position = Vector2(5, -30)
sprite_frames = SubResource("SpriteFrames_rfhg3")
frame_progress = 0.597525
[node name="pigeonarea" type="Area2D" parent="." index="1"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="pigeonarea" index="0"]
position = Vector2(-3, -24)
shape = SubResource("CircleShape2D_h3nyb")
[node name="Panel" parent="Interactable" index="1"]
offset_left = -27.0
offset_top = -59.0
offset_right = 39.0
offset_bottom = 1.0
[node name="CollisionShape2D" parent="." index="4"]
position = Vector2(-2, -4)
shape = SubResource("CircleShape2D_owve6")
[node name="PigeonSounds" type="AudioStreamPlayer2D" parent="." index="5"]
max_distance = 300.0
bus = &"SFX"
[connection signal="finished" from="PigeonSounds" to="." method="_on_pigeon_sounds_finished"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Talkable"]