[gd_scene load_steps=18 format=3 uid="uid://dyum5p1i4skee"] [ext_resource type="PackedScene" uid="uid://cujx1a8vwxsj8" path="res://Objects/world_object.tscn" id="1_o8hry"] [ext_resource type="Texture2D" uid="uid://chsmw1poq32gu" path="res://Objects/SkillSpecific/Gardening/PlantingSpot.png" id="2_1jtgw"] [ext_resource type="Script" path="res://Objects/SkillSpecific/Gardening/PlantingSpot.gd" id="2_wl8q1"] [ext_resource type="Texture2D" uid="uid://c3m2e2k7pa3al" path="res://Items/Foods/Fruits/Sprites/Apple.png" id="3_2uyv6"] [ext_resource type="Texture2D" uid="uid://b32jksi1wsmvp" path="res://Objects/SkillSpecific/Gardening/HarvestingTree/HarvestingTree.png" id="4_4aabt"] [ext_resource type="Texture2D" uid="uid://d11tc6ts1khob" path="res://Items/Foods/Fruits/Sprites/Tomato.png" id="5_lxiyu"] [ext_resource type="PackedScene" uid="uid://cjend4i0ag1bq" path="res://UI/Gardening/PlantingWindow.tscn" id="5_pc6bo"] [ext_resource type="PackedScene" uid="uid://bqibe7ha6r5ls" path="res://Interactions/Interactable/interactable.tscn" id="6_00gxq"] [ext_resource type="PackedScene" uid="uid://c5ov4p0febsqt" path="res://UI/Gardening/FertilizingWindow.tscn" id="7_cikuu"] [ext_resource type="PackedScene" uid="uid://cjocgnhcqft5t" path="res://Interactions/GardeningSpot/GardeningSpot.tscn" id="9_6evsd"] [sub_resource type="SpriteFrames" id="SpriteFrames_8pqi2"] animations = [{ "frames": [{ "duration": 1.0, "texture": ExtResource("2_1jtgw") }], "loop": true, "name": &"default", "speed": 5.0 }] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_514te"] [sub_resource type="CircleShape2D" id="CircleShape2D_a8rsb"] radius = 34.3657 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_33pvk"] bg_color = Color(0.729412, 0.556863, 0.482353, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0, 0, 0, 1) corner_radius_top_left = 6 corner_radius_top_right = 6 corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8ce7q"] bg_color = Color(0.239216, 0.14902, 0.0745098, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.8, 0.8, 0.8, 0) corner_radius_top_left = 6 corner_radius_top_right = 6 corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4qsgr"] bg_color = Color(0.709804, 0.870588, 0.556863, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0, 0, 0, 1) corner_radius_top_left = 6 corner_radius_top_right = 6 corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 anti_aliasing = false [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bhbot"] bg_color = Color(0.239216, 0.729412, 0.0745098, 1) border_width_left = 2 border_width_top = 2 border_width_right = 2 border_width_bottom = 2 border_color = Color(0.8, 0.8, 0.8, 0) corner_radius_top_left = 6 corner_radius_top_right = 6 corner_radius_bottom_right = 6 corner_radius_bottom_left = 6 anti_aliasing = false [node name="PlantingSpot" instance=ExtResource("1_o8hry")] process_mode = 3 script = ExtResource("2_wl8q1") [node name="PlantedItem" type="Sprite2D" parent="." index="0"] unique_name_in_owner = true position = Vector2(0, -25) texture = ExtResource("3_2uyv6") [node name="HarvestingTree" type="Node2D" parent="." index="1"] unique_name_in_owner = true [node name="HarvestingTreeSprite" type="Sprite2D" parent="HarvestingTree" index="0"] position = Vector2(2, -64) texture = ExtResource("4_4aabt") [node name="HarvestableSprite1" type="Sprite2D" parent="HarvestingTree" index="1"] unique_name_in_owner = true position = Vector2(-49, -85) texture = ExtResource("5_lxiyu") [node name="HarvestableSprite2" type="Sprite2D" parent="HarvestingTree" index="2"] unique_name_in_owner = true position = Vector2(12, -102) texture = ExtResource("5_lxiyu") [node name="HarvestableSprite3" type="Sprite2D" parent="HarvestingTree" index="3"] unique_name_in_owner = true position = Vector2(51, -55) texture = ExtResource("5_lxiyu") [node name="AnimatedSprite2D" parent="." index="2"] position = Vector2(1, -13) sprite_frames = SubResource("SpriteFrames_8pqi2") [node name="CollisionPolygon2D" parent="StaticBody2D" index="0"] position = Vector2(-3, 52) polygon = PackedVector2Array(4, -54, 4, -53, 4, -54) disabled = true [node name="FertilizingWindow" parent="." index="4" instance=ExtResource("7_cikuu")] visible = false [node name="PlantingWindow" parent="." index="5" instance=ExtResource("5_pc6bo")] visible = false [node name="Interactable" parent="." index="6" instance=ExtResource("6_00gxq")] [node name="Panel" parent="Interactable" index="1"] offset_left = -37.0 offset_top = -34.0 offset_right = 36.0 offset_bottom = 11.0 [node name="GrownPanel" type="Panel" parent="Interactable" index="2"] unique_name_in_owner = true offset_left = -73.0 offset_top = -122.0 offset_right = 82.0 offset_bottom = 11.0 theme_override_styles/panel = SubResource("StyleBoxEmpty_514te") [node name="GardeningSpot" parent="." index="7" instance=ExtResource("9_6evsd")] [node name="CollisionShape2D" parent="GardeningSpot/InteractionArea" index="0"] position = Vector2(0, -13) shape = SubResource("CircleShape2D_a8rsb") [node name="DiggingBar" type="ProgressBar" parent="." index="8"] unique_name_in_owner = true visible = false offset_left = -56.0 offset_top = -76.0 offset_right = 57.0 offset_bottom = -60.0 theme_override_styles/background = SubResource("StyleBoxFlat_33pvk") theme_override_styles/fill = SubResource("StyleBoxFlat_8ce7q") value = 40.0 show_percentage = false [node name="HarvestingBar" type="ProgressBar" parent="." index="9"] unique_name_in_owner = true visible = false offset_left = -56.0 offset_top = -145.0 offset_right = 57.0 offset_bottom = -129.0 theme_override_styles/background = SubResource("StyleBoxFlat_4qsgr") theme_override_styles/fill = SubResource("StyleBoxFlat_bhbot") value = 40.0 show_percentage = false [connection signal="gui_input" from="Interactable/GrownPanel" to="Interactable" method="_on_panel_gui_input"] [editable path="Interactable"] [editable path="Interactable/ActionMenu"] [editable path="GardeningSpot"]