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

[ext_resource type="Texture2D" uid="uid://ddjktr536c58t" path="res://sprites/telescope.png" id="1_k0xkm"]
[ext_resource type="Script" path="res://scripts/telescope.gd" id="1_xa4e0"]
[ext_resource type="Script" path="res://scripts/MapCamera2D.gd" id="3_87vjt"]
[ext_resource type="PackedScene" uid="uid://dpwqurhly8osd" path="res://scenes/interactible_manager.tscn" id="3_los3i"]
[ext_resource type="PackedScene" uid="uid://sk2uc8hcxhcj" path="res://scenes/physical_dialogue.tscn" id="4_u4gnh"]

[sub_resource type="CircleShape2D" id="CircleShape2D_gpdtu"]
radius = 123.26

[node name="Telescope" type="Area2D"]
script = ExtResource("1_xa4e0")

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

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

[node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2(0.2, 0.2)
editor_draw_screen = false
script = ExtResource("3_87vjt")
zoom_max = 1.0

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

[node name="Dialogue" parent="." instance=ExtResource("4_u4gnh")]
offset_top = -195.08
offset_bottom = -155.08
DefaultText = "Telescope to see around the map"

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