Cow_Life_Sim_RPG/NPCs/HomeArea/ExperiencingHorse/ExperiencingHorse.tscn

81 lines
2.9 KiB
Plaintext

[gd_scene load_steps=13 format=3 uid="uid://cgmn87axlg0pg"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_v5oq0"]
[ext_resource type="Script" path="res://NPCs/HomeArea/ExperiencingHorse/ExperiencingHorse.gd" id="2_2vft7"]
[ext_resource type="Texture2D" uid="uid://r06mrqjsmm1r" path="res://NPCs/HomeArea/ExperiencingHorse/ExperiencingHorse.png" id="2_165vk"]
[ext_resource type="Texture2D" uid="uid://c3u5couyvm7a4" path="res://NPCs/HomeArea/ExperiencingHorse/TomatoEatAnim/ExperiencingHorseTomatoEat2.png" id="3_wr38y"]
[ext_resource type="Texture2D" uid="uid://dfbxxfc4aseut" path="res://NPCs/HomeArea/ExperiencingHorse/TomatoEatAnim/ExperiencingHorseTomatoEat3.png" id="4_33yp1"]
[ext_resource type="Texture2D" uid="uid://c4qh3denpaqj2" path="res://NPCs/HomeArea/ExperiencingHorse/TomatoEatAnim/ExperiencingHorseTomatoEat4.png" id="5_fe2qm"]
[ext_resource type="Texture2D" uid="uid://e8g36cavq5ja" path="res://NPCs/HomeArea/ExperiencingHorse/TomatoEatAnim/ExperiencingHorseTomatoEat5.png" id="6_e5a66"]
[ext_resource type="Texture2D" uid="uid://cu7qs036rruuk" path="res://NPCs/HomeArea/ExperiencingHorse/TomatoEatAnim/ExperiencingHorseTomatoEat6.png" id="7_gnl3d"]
[ext_resource type="Texture2D" uid="uid://8o33qodny3ld" path="res://NPCs/HomeArea/ExperiencingHorse/TomatoEatAnim/ExperiencingHorseTomatoEat7.png" id="8_shug0"]
[sub_resource type="SpriteFrames" id="SpriteFrames_gjq7k"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("2_165vk")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_wr38y")
}, {
"duration": 1.0,
"texture": ExtResource("4_33yp1")
}, {
"duration": 1.0,
"texture": ExtResource("5_fe2qm")
}, {
"duration": 1.0,
"texture": ExtResource("6_e5a66")
}, {
"duration": 1.0,
"texture": ExtResource("7_gnl3d")
}, {
"duration": 1.0,
"texture": ExtResource("8_shug0")
}],
"loop": false,
"name": &"tomatoEating",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_1udna"]
radius = 62.1289
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_sp5mq"]
radius = 8.0
height = 100.0
[node name="ExperiencingHorse" instance=ExtResource("1_v5oq0")]
script = ExtResource("2_2vft7")
[node name="Sprite" parent="." index="0"]
position = Vector2(0, -36)
sprite_frames = SubResource("SpriteFrames_gjq7k")
[node name="Panel" parent="Interactable" index="1"]
offset_left = -69.0
offset_top = -65.0
offset_right = 60.0
offset_bottom = 14.0
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
position = Vector2(0, -22)
shape = SubResource("CircleShape2D_1udna")
[node name="CollisionShape2D" parent="." index="3"]
position = Vector2(10, 8)
rotation = 1.5708
shape = SubResource("CapsuleShape2D_sp5mq")
[connection signal="animation_finished" from="Sprite" to="." method="_on_sprite_animation_finished"]
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Talkable"]