[gd_scene load_steps=6 format=3 uid="uid://cn41xqc3lwaxy"]

[ext_resource type="Script" path="res://scripts/contract.gd" id="1_esxg1"]
[ext_resource type="Texture2D" uid="uid://bnqe06njx2agc" path="res://sprites/contract.png" id="1_jwp1o"]
[ext_resource type="PackedScene" uid="uid://dpwqurhly8osd" path="res://scenes/interactible_manager.tscn" id="3_khqae"]
[ext_resource type="PackedScene" uid="uid://sk2uc8hcxhcj" path="res://scenes/physical_dialogue.tscn" id="4_oks7g"]

[sub_resource type="CircleShape2D" id="CircleShape2D_mxuxo"]
radius = 116.44

[node name="Contract" type="Area2D" node_paths=PackedStringArray("InteractibleManager")]
script = ExtResource("1_esxg1")
InteractibleManager = NodePath("InteractibleManager")

[node name="Sprite2D" type="Sprite2D" parent="."]
scale = Vector2(0.5, 0.5)
texture = ExtResource("1_jwp1o")

[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("CircleShape2D_mxuxo")

[node name="InteractibleManager" parent="." node_paths=PackedStringArray("ItemShown") instance=ExtResource("3_khqae")]
ItemShown = NodePath("../Dialogue")

[node name="Dialogue" parent="." instance=ExtResource("4_oks7g")]
offset_top = -202.455
offset_bottom = -162.455

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