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

[ext_resource type="Texture2D" uid="uid://ci3yxj63e5u8f" path="res://sprites/contractgiver.png" id="1_awtl7"]
[ext_resource type="PackedScene" uid="uid://cn41xqc3lwaxy" path="res://scenes/contract.tscn" id="2_kh0dp"]
[ext_resource type="Theme" uid="uid://d0ir0t347wqv7" path="res://etc/default_theme.tres" id="2_v5tdy"]
[ext_resource type="PackedScene" uid="uid://dpwqurhly8osd" path="res://scenes/interactible_manager.tscn" id="4_1m1bm"]

[sub_resource type="CircleShape2D" id="CircleShape2D_put5l"]
radius = 389.155

[sub_resource type="RectangleShape2D" id="RectangleShape2D_sdg4f"]
size = Vector2(409, 181)

[node name="ContractGiver" type="Area2D"]

[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_awtl7")
metadata/_edit_lock_ = true

[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_top = -256.34
offset_bottom = -256.34

[node name="LabelPanel" type="PanelContainer" parent="Control"]
z_index = 10
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("2_v5tdy")

[node name="Label" type="Label" parent="Control/LabelPanel"]
layout_mode = 2
theme = ExtResource("2_v5tdy")
text = "HeLLO DEAR EMPLOYEE"
horizontal_alignment = 1
vertical_alignment = 1
uppercase = true
metadata/_edit_lock_ = true

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(8, 150)
shape = SubResource("CircleShape2D_put5l")

[node name="Wall" type="StaticBody2D" parent="."]
position = Vector2(-4, 149)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Wall"]
position = Vector2(7.5, 15.5)
shape = SubResource("RectangleShape2D_sdg4f")
metadata/_edit_lock_ = true

[node name="Contract" parent="." instance=ExtResource("2_kh0dp")]
position = Vector2(-498, 747)
Destination = "1263 30th Ave SE Courier Way"

[node name="Contract2" parent="." instance=ExtResource("2_kh0dp")]
position = Vector2(113, 753)

[node name="Contract3" parent="." instance=ExtResource("2_kh0dp")]
position = Vector2(710, 753)

[node name="InteractibleManager" parent="." node_paths=PackedStringArray("ItemShown") instance=ExtResource("4_1m1bm")]
ItemShown = NodePath("../Control/LabelPanel")

[connection signal="body_entered" from="." to="InteractibleManager" method="_on_body_entered"]
[connection signal="body_exited" from="." to="InteractibleManager" method="_on_body_exited"]
