[gd_scene load_steps=7 format=3 uid="uid://b3mksvn2jf7e0"]

[ext_resource type="PackedScene" uid="uid://drrtypncppjps" path="res://templates/quest_board_window.tscn" id="1_4poi3"]
[ext_resource type="Script" uid="uid://blo7tb5135vfm" path="res://scripts/quest_board.gd" id="1_38mwx"]
[ext_resource type="Texture2D" uid="uid://bnt2dlv7kxw7s" path="res://graphics/questboard.png" id="2_3ceph"]
[ext_resource type="Script" uid="uid://b0q2233msdtgo" path="res://scripts/guild_queue.gd" id="3_38mwx"]
[ext_resource type="BehaviorTree" uid="uid://tr5enbq48w6x" path="res://ai/trees/quest_board.tres" id="4_3ceph"]

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

[node name="Quest Board" type="StaticBody2D"]
script = ExtResource("1_38mwx")

[node name="QuestBoardWindow" parent="." instance=ExtResource("1_4poi3")]
visible = false

[node name="Sprite2D" type="Sprite2D" parent="."]
position = Vector2(0, -31)
scale = Vector2(0.25, 0.5)
texture = ExtResource("2_3ceph")

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="."]
position = Vector2(-1, 11)
rotation = 1.5707964
polygon = PackedVector2Array(-29.999998, 32, -21.999998, 36, -10.999998, 36, -3.9999986, 32, -4.0000014, -34, -12.000002, -37, -23.000002, -37, -30.000002, -33)

[node name="Queue" type="Node2D" parent="."]
position = Vector2(-12, 44)
script = ExtResource("3_38mwx")
direction = Vector2(0, 1)

[node name="BTPlayer" type="BTPlayer" parent="."]
behavior_tree = ExtResource("4_3ceph")
blackboard_plan = SubResource("BlackboardPlan_2xphb")
