[gd_scene load_steps=26 format=3 uid="uid://bli44drdpfyr0"]

[ext_resource type="Script" path="res://Locations/TutorialBoat/BoatLayout.gd" id="1_66sp7"]
[ext_resource type="Texture2D" uid="uid://diuvimmdheih6" path="res://Locations/TutorialBoat/BoatLayout.png" id="2_epbsn"]
[ext_resource type="Texture2D" uid="uid://brarrvbvbf70e" path="res://Locations/TutorialBoat/Stuct/BoatTopFence.png" id="3_7uyyy"]
[ext_resource type="Texture2D" uid="uid://4312b1i74x7k" path="res://Locations/TutorialBoat/Stuct/BoatMainFence.png" id="4_5t0vc"]
[ext_resource type="Script" path="res://Objects/Ground.gd" id="6_83nvy"]
[ext_resource type="PackedScene" uid="uid://drg4stgda7ak5" path="res://Objects/Tutorial/StairFence.tscn" id="7_b5flj"]
[ext_resource type="PackedScene" uid="uid://bsmbaccrcqb6f" path="res://Objects/Tutorial/Sail.tscn" id="7_hqwrw"]
[ext_resource type="PackedScene" uid="uid://spicsevifl6g" path="res://Objects/Travel/TravelBox.tscn" id="8_erdu3"]
[ext_resource type="Script" path="res://Interactions/Travel/TutorialTraveller.gd" id="9_xjbu1"]
[ext_resource type="PackedScene" uid="uid://dg362ce5ejlh5" path="res://Objects/Juicers/juicerMachine.tscn" id="10_1gm7s"]
[ext_resource type="PackedScene" uid="uid://ccxcml46e4nxw" path="res://Objects/JuiceCafe/juice_shop.tscn" id="11_w7ymx"]
[ext_resource type="Script" path="res://Objects/JuiceCafe/TutorialShop.gd" id="12_e6ayq"]
[ext_resource type="PackedScene" uid="uid://ccvxw3e2nc55a" path="res://NPCs/Tutorial/Normal/TutorialTapir/TutorialTapir.tscn" id="12_qwfwl"]
[ext_resource type="PackedScene" uid="uid://h4xktqg1hl6h" path="res://NPCs/Tutorial/Normal/TradingToad/TradingToad.tscn" id="13_xbw8p"]
[ext_resource type="PackedScene" uid="uid://c01l3yqjfdav0" path="res://NPCs/Tutorial/Normal/JuicingJaguar/JuicingJaguar.tscn" id="14_7jhac"]
[ext_resource type="PackedScene" uid="uid://bg1nwnomgw3el" path="res://NPCs/Tutorial/Normal/ArsonAlliogator/ArsonAlligator.tscn" id="15_80alv"]
[ext_resource type="PackedScene" uid="uid://cpkmcy7ijcrhx" path="res://NPCs/Tutorial/Normal/ScavengingSheep/ScavengingSheep.tscn" id="16_iosy4"]
[ext_resource type="PackedScene" uid="uid://d14udc4fo4gqq" path="res://Objects/Tutorial/Barrel/OrangeBarrel.tscn" id="17_7exvk"]
[ext_resource type="PackedScene" uid="uid://dhk768odtfjjc" path="res://Objects/GroundItems/GroundItem.tscn" id="18_auvwi"]
[ext_resource type="Script" path="res://Locations/TutorialBoat/FlagManager.gd" id="18_cuykd"]
[ext_resource type="Script" path="res://Items/Plants/Stick.gd" id="19_xgx3j"]
[ext_resource type="PackedScene" uid="uid://bb11otk7gg0aw" path="res://Objects/Museum/Stand/MuseumStand.tscn" id="22_4ctfh"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_ebe1k"]
size = Vector2(3538, 2501)

[sub_resource type="SegmentShape2D" id="SegmentShape2D_m0h7j"]
a = Vector2(2, -205)
b = Vector2(1, 149)

[sub_resource type="SegmentShape2D" id="SegmentShape2D_o8n5f"]
b = Vector2(-144, -81)

[node name="Boat" type="Node2D"]
y_sort_enabled = true
script = ExtResource("1_66sp7")

[node name="BoatLayout" type="Sprite2D" parent="."]
z_index = -2
texture = ExtResource("2_epbsn")

[node name="BoatTopFence" type="Sprite2D" parent="."]
z_index = 2
position = Vector2(-1086, 114)
texture = ExtResource("3_7uyyy")

[node name="BoatMainFence" type="Sprite2D" parent="."]
z_index = 2
position = Vector2(313, 181)
texture = ExtResource("4_5t0vc")

[node name="Ground" type="Node2D" parent="."]
process_priority = 1
z_index = -3
position = Vector2(-1043, -753)
script = ExtResource("6_83nvy")

[node name="Area2D" type="Area2D" parent="Ground"]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Ground/Area2D"]
position = Vector2(1048, 758.5)
shape = SubResource("RectangleShape2D_ebe1k")

[node name="Bounds" type="Node" parent="."]

[node name="StaticBody2D" type="StaticBody2D" parent="Bounds"]

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Bounds/StaticBody2D"]
polygon = PackedVector2Array(-756, 322, -758, 148, -1381, 150, -1377, -384, -775, -379, -616, -227, 1098, -223, 1128, -21, 1107, 320, -747, 322, -525, 597, 1200, 583, 1501, 53, 1321, -413, 342, -460, -809, -545, -1519, -519, -1546, 93, -1559, 536, -832, 597, -569, 574)

[node name="FloorBlock" type="Node" parent="."]

[node name="StaticBody2D" type="StaticBody2D" parent="FloorBlock"]
position = Vector2(-769, 0)

[node name="CollisionShape2D" type="CollisionShape2D" parent="FloorBlock/StaticBody2D"]
shape = SubResource("SegmentShape2D_m0h7j")

[node name="StaticBody2D2" type="StaticBody2D" parent="FloorBlock"]
position = Vector2(-625, -126)

[node name="CollisionShape2D" type="CollisionShape2D" parent="FloorBlock/StaticBody2D2"]
shape = SubResource("SegmentShape2D_o8n5f")

[node name="StaticBody2D4" type="StaticBody2D" parent="FloorBlock"]
position = Vector2(-624, -227)

[node name="CollisionShape2D" type="CollisionShape2D" parent="FloorBlock/StaticBody2D4"]
shape = SubResource("SegmentShape2D_o8n5f")

[node name="StaticBody2D3" type="StaticBody2D" parent="FloorBlock"]
position = Vector2(-667, -11)

[node name="Sail" parent="." instance=ExtResource("7_hqwrw")]
position = Vector2(9, -3)

[node name="StairFence" parent="." instance=ExtResource("7_b5flj")]
position = Vector2(-716, 70)

[node name="CollisionShape2D" parent="StairFence/StaticBody2D" index="0"]
disabled = true

[node name="StairFence2" parent="." instance=ExtResource("7_b5flj")]
position = Vector2(-716, -5)

[node name="CollisionShape2D" parent="StairFence2/StaticBody2D" index="0"]
disabled = true

[node name="TravelBox" parent="." instance=ExtResource("8_erdu3")]
position = Vector2(-716, -4)

[node name="AnimatedSprite2D" parent="TravelBox" index="1"]
z_index = -1
position = Vector2(-1.5, 33)
scale = Vector2(0.97, 0.66)

[node name="CollisionPolygon2D" parent="TravelBox/StaticBody2D" index="0"]
polygon = PackedVector2Array(-51, -52, 47, -52, 47, 18, 1.52838, 18, -52, 18)

[node name="Traveller" parent="TravelBox" index="3"]
position = Vector2(-21, 32)
script = ExtResource("9_xjbu1")
destinationNames = Array[String](["Park"])
destinationLocations = Array[int]([7])
destinationEntranceID = Array[int]([0])
movementVerb = "Walk To"

[node name="CollisionShape2D" parent="TravelBox/Traveller/InteractionArea" index="0"]
position = Vector2(-1, -3)

[node name="Popup" type="Popup" parent="TravelBox/Traveller" index="1"]
unique_name_in_owner = true
position = Vector2i(200, 200)
size = Vector2i(300, 200)
max_size = Vector2i(300, 200)

[node name="VBoxContainer" type="VBoxContainer" parent="TravelBox/Traveller/Popup"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -133.0
offset_top = -43.5
offset_right = 133.0
offset_bottom = 43.5
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = 17
alignment = 1

[node name="TutorialPopupText" type="Label" parent="TravelBox/Traveller/Popup/VBoxContainer"]
custom_minimum_size = Vector2(100, 100)
layout_mode = 2
text = "Are you sure you want to leave?
Juicing Jaguar, Juicing Jaguar, Juicing Jaguar, Juicing Jaguar, Juicing Jaguar"
horizontal_alignment = 1
vertical_alignment = 1
autowrap_mode = 3

[node name="HBoxContainer" type="HBoxContainer" parent="TravelBox/Traveller/Popup/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
size_flags_stretch_ratio = 0.0

[node name="Confirm" type="Button" parent="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
text = "Leave"

[node name="Cancel" type="Button" parent="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(50, 0)
layout_mode = 2
text = "Stay"

[node name="Juicer" parent="." instance=ExtResource("10_1gm7s")]
position = Vector2(-1313, 50)

[node name="JuiceShop" parent="." instance=ExtResource("11_w7ymx")]
position = Vector2(-1264, -216)

[node name="Panel" parent="JuiceShop/Interactable" index="1"]
offset_left = -38.8
offset_top = -37.1
offset_right = 127.2
offset_bottom = 88.9

[node name="StaticBody2D" parent="JuiceShop" index="2"]
position = Vector2(0, -66)

[node name="CollisionPolygon2D" parent="JuiceShop/StaticBody2D" index="0"]
visible = true
polygon = PackedVector2Array(-35, -32, 31, -37, 46, 30, -29, 29)
disabled = false

[node name="ShopHaver" parent="JuiceShop" index="3"]
script = ExtResource("12_e6ayq")

[node name="CollisionShape2D" parent="JuiceShop/ShopHaver/InteractionArea" index="0"]
position = Vector2(2.19995, -0.100006)

[node name="TutorialTapir" parent="." instance=ExtResource("12_qwfwl")]
position = Vector2(-273, 111)

[node name="TradingToad" parent="." instance=ExtResource("13_xbw8p")]
position = Vector2(-1155, -305)

[node name="JuicingJaguar" parent="." instance=ExtResource("14_7jhac")]
position = Vector2(-1173, 61)

[node name="ArsonAlligator" parent="." instance=ExtResource("15_80alv")]
position = Vector2(488, -101)

[node name="ScavengingSheep" parent="." instance=ExtResource("16_iosy4")]
position = Vector2(504, 191)

[node name="OrangeBarrel" parent="." instance=ExtResource("17_7exvk")]
position = Vector2(760, 164)

[node name="Scavengeable" parent="OrangeBarrel" index="0"]
scavengeDifficulty = 3

[node name="FlagManager" type="Node2D" parent="." groups=["FlagManager"]]
script = ExtResource("18_cuykd")

[node name="GroundItem" parent="." instance=ExtResource("18_auvwi")]
position = Vector2(285, -132)
itemClass = ExtResource("19_xgx3j")

[node name="MoneyStand" parent="." instance=ExtResource("22_4ctfh")]
position = Vector2(-1312, 49)

[connection signal="input_event" from="Ground/Area2D" to="Ground" method="_on_area_2d_input_event"]
[connection signal="pressed" from="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer/Confirm" to="TravelBox/Traveller" method="_on_confirm_pressed"]
[connection signal="pressed" from="TravelBox/Traveller/Popup/VBoxContainer/HBoxContainer/Cancel" to="TravelBox/Traveller" method="_on_cancel_pressed"]

[editable path="StairFence"]
[editable path="StairFence2"]
[editable path="TravelBox"]
[editable path="TravelBox/Interactable"]
[editable path="TravelBox/Interactable/ActionMenu"]
[editable path="TravelBox/Traveller"]
[editable path="JuiceShop"]
[editable path="JuiceShop/Interactable"]
[editable path="JuiceShop/Interactable/ActionMenu"]
[editable path="JuiceShop/ShopHaver"]
[editable path="OrangeBarrel"]
[editable path="OrangeBarrel/Scavengeable"]
[editable path="OrangeBarrel/Interactable"]
[editable path="OrangeBarrel/Interactable/ActionMenu"]
