Cow_Life_Sim_RPG/NPCs/Seagulls/Seagull.tscn

67 lines
1.9 KiB
Plaintext

[gd_scene load_steps=8 format=3 uid="uid://daohiov27vwu3"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_3w6xu"]
[ext_resource type="Script" path="res://NPCs/Seagulls/Seagull.gd" id="2_qad34"]
[ext_resource type="Texture2D" uid="uid://dnmjxip5nsvj5" path="res://NPCs/Pigeon/Lesbian/lesbianpigeon1.png" id="4_qfxvw"]
[ext_resource type="Texture2D" uid="uid://ct6y5y6yggti5" path="res://NPCs/Pigeon/Lesbian/lesbianpigeon2.png" id="5_6c565"]
[sub_resource type="SpriteFrames" id="SpriteFrames_rfhg3"]
animations = [{
"frames": [],
"loop": true,
"name": &"Caw",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("4_qfxvw")
}, {
"duration": 1.0,
"texture": ExtResource("5_6c565")
}],
"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="Seagull" instance=ExtResource("1_3w6xu")]
collision_layer = 17
collision_mask = 17
script = ExtResource("2_qad34")
[node name="Sprite" parent="." index="0"]
position = Vector2(5, -30)
sprite_frames = SubResource("SpriteFrames_rfhg3")
[node name="SeagullArea" type="Area2D" parent="." index="1"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="SeagullArea" 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="SeagullSounds" type="AudioStreamPlayer2D" parent="." index="5"]
max_distance = 300.0
bus = &"SFX"
[connection signal="finished" from="SeagullSounds" to="." method="_on_seagull_sounds_finished"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Talkable"]