Cow_Life_Sim_RPG/Locations/Pier/Pier.tscn

62 lines
2.2 KiB
Plaintext

[gd_scene load_steps=6 format=3 uid="uid://d3ipm7yhn8rdv"]
[ext_resource type="Script" path="res://Locations/Pier/Pier.gd" id="1_bmkg1"]
[ext_resource type="Script" path="res://Objects/Ground.gd" id="2_17o36"]
[ext_resource type="Texture2D" uid="uid://dnteubbiaiwc5" path="res://Locations/Pier/Pier.png" id="3_6su1g"]
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="4_ypobo"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_34cll"]
size = Vector2(3538, 2501)
[node name="Pier" type="Node2D"]
script = ExtResource("1_bmkg1")
[node name="Ground" type="Node2D" parent="."]
process_priority = 1
z_index = -3
position = Vector2(-1043, -753)
script = ExtResource("2_17o36")
[node name="Area2D" type="Area2D" parent="Ground"]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Area2D"]
position = Vector2(1048, 758.5)
shape = SubResource("RectangleShape2D_34cll")
[node name="Layout" type="Sprite2D" parent="."]
z_index = -2
texture = ExtResource("3_6su1g")
[node name="Bounds" type="Node" parent="."]
[node name="StaticBody2D" type="StaticBody2D" parent="Bounds"]
[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D"]
polygon = PackedVector2Array(-603, 404, 1116, 596, 561, 379, 527, 22, -398, 24, -394, -135, 521, -133, 546, -392, 1007, -377, 1007, 394, 564, 389, 1200, 583, 1199, -657, 211, -682, -640, -302)
[node name="TravelBox" parent="." instance=ExtResource("4_ypobo")]
z_index = -1
position = Vector2(951, -111)
[node name="Panel" parent="TravelBox/Interactable" index="1"]
offset_bottom = 101.0
[node name="Traveller" parent="TravelBox" index="3"]
destinationNames = Array[String](["Home"])
destinationLocations = Array[int]([10])
destinationEntranceID = Array[int]([1])
movementVerb = "Walk To"
[node name="InteractionArea" parent="TravelBox/Traveller" index="0"]
position = Vector2(0, 49)
[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
position = Vector2(0, 2)
[connection signal="input_event" from="Ground/Area2D" to="Ground" method="_on_area_2d_input_event"]
[editable path="TravelBox"]
[editable path="TravelBox/Interactable"]
[editable path="TravelBox/Interactable/ActionMenu"]
[editable path="TravelBox/Traveller"]