Cow_Life_Sim_RPG/NPCs/Beach/Snak/Snak.tscn

50 lines
1.4 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://b65h8ptq88k31"]
[ext_resource type="PackedScene" uid="uid://doqfsp7yxools" path="res://NPCs/NPC.tscn" id="1_ycn6h"]
[ext_resource type="Script" path="res://NPCs/Beach/Snak/Snak.gd" id="2_kaunn"]
[ext_resource type="Texture2D" uid="uid://d170nfxigc28x" path="res://NPCs/Beach/Snak/Snak.png" id="3_wsidj"]
[sub_resource type="SpriteFrames" id="SpriteFrames_bfh8j"]
animations = [{
"frames": [{
"duration": 1.0,
"texture": ExtResource("3_wsidj")
}],
"loop": true,
"name": &"default",
"speed": 5.0
}]
[sub_resource type="CircleShape2D" id="CircleShape2D_1wnv4"]
radius = 45.0
[node name="Snak" instance=ExtResource("1_ycn6h")]
script = ExtResource("2_kaunn")
[node name="Sprite" parent="." index="0"]
position = Vector2(0, -43)
sprite_frames = SubResource("SpriteFrames_bfh8j")
[node name="Interactable" parent="." index="1"]
position = Vector2(0, -43)
[node name="Panel" parent="Interactable" index="1"]
offset_left = -36.0
offset_top = -12.0
offset_right = 36.0
offset_bottom = 14.0
metadata/_edit_use_anchors_ = true
[node name="Talkable" parent="." index="2"]
position = Vector2(0, -43)
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
shape = SubResource("CircleShape2D_1wnv4")
[node name="CollisionShape2D" parent="." index="3"]
position = Vector2(0, -39)
[editable path="Interactable"]
[editable path="Interactable/ActionMenu"]
[editable path="Talkable"]