[gd_scene load_steps=8 format=3 uid="uid://cf6nnjyp8kv78"]

[ext_resource type="Script" uid="uid://b2unuudq5qfl" path="res://scripts/guild_employee.gd" id="1_vwytd"]
[ext_resource type="Texture2D" uid="uid://nrhxsevqn82" path="res://graphics/receptionist.png" id="2_dlmqr"]
[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://scripts/guild_queue.gd" id="3_wurf5"]
[ext_resource type="PackedScene" uid="uid://jbqw0n6dlj08" path="res://templates/speech_bubble.tscn" id="4_dlmqr"]
[ext_resource type="BehaviorTree" uid="uid://dxyx7tjsd7khq" path="res://ai/trees/receptionist.tres" id="7_qmbsn"]

[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_dlmqr"]
radius = 15.0
height = 54.0

[sub_resource type="BlackboardPlan" id="BlackboardPlan_xsrct"]

[node name="Receptionist" type="CharacterBody2D"]
script = ExtResource("1_vwytd")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
rotation = 1.5707964
shape = SubResource("CapsuleShape2D_dlmqr")

[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, -56)
texture = ExtResource("2_dlmqr")

[node name="NavigationAgent2D" type="NavigationAgent2D" parent="."]
path_desired_distance = 30.0
avoidance_enabled = true

[node name="Queue" type="Node2D" parent="."]
position = Vector2(0, 70)
script = ExtResource("3_wurf5")
direction = Vector2(0, 1)

[node name="SpeechBubble" parent="." instance=ExtResource("4_dlmqr")]
position = Vector2(44, -93)

[node name="BTPlayer" type="BTPlayer" parent="."]
behavior_tree = ExtResource("7_qmbsn")
blackboard_plan = SubResource("BlackboardPlan_xsrct")
