[gd_scene load_steps=5 format=3 uid="uid://jwo1q2q8lsyp"]

[ext_resource type="PackedScene" uid="uid://caydb1odthjag" path="res://src/overworld/player.tscn" id="1_rtats"]
[ext_resource type="Script" path="res://src/overworld/overworld.gd" id="1_wo1un"]
[ext_resource type="PackedScene" uid="uid://dfwxneq7cu3su" path="res://src/overworld/npc_overworld.tscn" id="2_st2f2"]
[ext_resource type="Script" path="res://src/trade/npcs/bloobert.gd" id="4_752ky"]

[node name="Overworld" type="Node3D" node_paths=PackedStringArray("_interact_prompt_label", "_day_label", "_fade_rect", "_player")]
script = ExtResource("1_wo1un")
_interact_prompt_label = NodePath("UI/InteractPrompt")
_day_label = NodePath("UI/DayLabel")
_fade_rect = NodePath("UI/FadeRect")
_player = NodePath("Player")

[node name="UI" type="CanvasLayer" parent="."]

[node name="InteractPrompt" type="RichTextLabel" parent="UI"]
visible = false
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -312.0
offset_top = -172.0
offset_right = -104.0
offset_bottom = -148.0
grow_horizontal = 2
grow_vertical = 2
text = "Press E to interact! Hahah!"
fit_content = true
autowrap_mode = 0

[node name="DayLabel" type="RichTextLabel" parent="UI"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = 104.0
offset_top = -172.0
offset_right = 312.0
offset_bottom = -148.0
grow_horizontal = 2
grow_vertical = 2
bbcode_enabled = true
text = "[right]Day 0[/right]"
fit_content = true
autowrap_mode = 0

[node name="FadeRect" type="ColorRect" parent="UI"]
visible = false
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
color = Color(0, 0, 0, 1)

[node name="Player" parent="." instance=ExtResource("1_rtats")]

[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1, -1, -1)
use_collision = true
size = Vector3(31, 1, 45)

[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 0.307905, 0.951417, 0, -0.951417, 0.307905, 0, 0, 0)

[node name="NpcOverworld" parent="." instance=ExtResource("2_st2f2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.99024, 0, -7.04422)
_npc_data = ExtResource("4_752ky")
