Cow_Life_Sim_RPG/NPCs/NPC.tscn

29 lines
1 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://doqfsp7yxools"]
[ext_resource type="Script" path="res://NPCs/NPC.gd" id="1_xppvo"]
[ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="2_2erbc"]
[ext_resource type="PackedScene" uid="uid://c31736waactb2" path="res://Interactions/Talking/Talkable.tscn" id="3_qfelu"]
[sub_resource type="CircleShape2D" id="CircleShape2D_knnlg"]
radius = 47.1699
[sub_resource type="CircleShape2D" id="CircleShape2D_k68dn"]
radius = 29.0172
[node name="NPC" type="StaticBody2D"]
script = ExtResource("1_xppvo")
[node name="Sprite" type="AnimatedSprite2D" parent="."]
[node name="Interactable" parent="." instance=ExtResource("2_2erbc")]
[node name="Talkable" parent="." instance=ExtResource("3_qfelu")]
[node name="CollisionShape2D" parent="Talkable/InteractionArea" index="0"]
shape = SubResource("CircleShape2D_knnlg")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_k68dn")
[editable path="Talkable"]