29 lines
1.3 KiB
Plaintext
29 lines
1.3 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://bm1ptkidbwi36"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/delivery_spot.gd" id="1_3e4vt"]
|
|
[ext_resource type="Texture2D" uid="uid://krvl11xhrefj" path="res://sprites/deliveryspot.png" id="1_8xm5p"]
|
|
[ext_resource type="PackedScene" uid="uid://dpwqurhly8osd" path="res://scenes/interactible_manager.tscn" id="2_o3i7n"]
|
|
[ext_resource type="PackedScene" uid="uid://sk2uc8hcxhcj" path="res://scenes/physical_dialogue.tscn" id="3_qfb8a"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_liqw2"]
|
|
size = Vector2(156, 160)
|
|
|
|
[node name="DeliverySpot" type="Area2D"]
|
|
script = ExtResource("1_3e4vt")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(-7, 158)
|
|
shape = SubResource("RectangleShape2D_liqw2")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_8xm5p")
|
|
|
|
[node name="InteractibleManager" parent="." node_paths=PackedStringArray("ItemShown") instance=ExtResource("2_o3i7n")]
|
|
ItemShown = NodePath("../Dialogue")
|
|
|
|
[node name="Dialogue" parent="." instance=ExtResource("3_qfb8a")]
|
|
DefaultText = "Default Address"
|
|
|
|
[connection signal="body_entered" from="." to="InteractibleManager" method="_on_body_entered"]
|
|
[connection signal="body_exited" from="." to="InteractibleManager" method="_on_body_exited"]
|