|
|
|
@ -1,4 +1,4 @@
|
|
|
|
[gd_scene load_steps=54 format=3 uid="uid://gigb28qk8t12"]
|
|
|
|
[gd_scene load_steps=55 format=3 uid="uid://gigb28qk8t12"]
|
|
|
|
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/Player2D.tscn" id="1_7wfwe"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://c25udixd5m6l0" path="res://prefabs/Player2D.tscn" id="1_7wfwe"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://8sr11ex30n0m" path="res://art/mockups/Kenney_Backgrounds/Samples/uncolored_hills.png" id="2_7b2ri"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://8sr11ex30n0m" path="res://art/mockups/Kenney_Backgrounds/Samples/uncolored_hills.png" id="2_7b2ri"]
|
|
|
|
@ -31,6 +31,7 @@
|
|
|
|
[ext_resource type="Texture2D" uid="uid://x8hr8287ff2n" path="res://art/farm/farming/farmobjekte/tools atlas.png" id="29_p6n74"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://x8hr8287ff2n" path="res://art/farm/farming/farmobjekte/tools atlas.png" id="29_p6n74"]
|
|
|
|
[ext_resource type="Script" uid="uid://bdsel2amlbnuq" path="res://scripts/CSharp/Common/Inventory/ItemOnGroundSpawnWith2D.cs" id="30_2nee2"]
|
|
|
|
[ext_resource type="Script" uid="uid://bdsel2amlbnuq" path="res://scripts/CSharp/Common/Inventory/ItemOnGroundSpawnWith2D.cs" id="30_2nee2"]
|
|
|
|
[ext_resource type="Resource" uid="uid://c5yg3lx756v4v" path="res://resources/items/hoe.tres" id="31_r0vdg"]
|
|
|
|
[ext_resource type="Resource" uid="uid://c5yg3lx756v4v" path="res://resources/items/hoe.tres" id="31_r0vdg"]
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cgjc4wurbgimy" path="res://prefabs/UI/Inventory/Inventory.tscn" id="32_2nee2"]
|
|
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_xy0kg"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_xy0kg"]
|
|
|
|
shader = ExtResource("13_7p0hq")
|
|
|
|
shader = ExtResource("13_7p0hq")
|
|
|
|
@ -670,7 +671,7 @@ y_sort_enabled = true
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Player2d" parent="YSorted" node_paths=PackedStringArray("_fieldParent") instance=ExtResource("1_7wfwe")]
|
|
|
|
[node name="Player2d" parent="YSorted" node_paths=PackedStringArray("_fieldParent") instance=ExtResource("1_7wfwe")]
|
|
|
|
z_index = 1
|
|
|
|
z_index = 1
|
|
|
|
position = Vector2(1064, 2128)
|
|
|
|
position = Vector2(1071, 2125)
|
|
|
|
_fieldParent = NodePath("../Farm visuals/FieldParent")
|
|
|
|
_fieldParent = NodePath("../Farm visuals/FieldParent")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Brünnen" type="Sprite2D" parent="YSorted"]
|
|
|
|
[node name="Brünnen" type="Sprite2D" parent="YSorted"]
|
|
|
|
@ -696,6 +697,7 @@ position = Vector2(80, -368)
|
|
|
|
shape = SubResource("CircleShape2D_p6n74")
|
|
|
|
shape = SubResource("CircleShape2D_p6n74")
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Farm visuals" type="Node2D" parent="YSorted"]
|
|
|
|
[node name="Farm visuals" type="Node2D" parent="YSorted"]
|
|
|
|
|
|
|
|
position = Vector2(-60, 122)
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Static" type="Node2D" parent="YSorted/Farm visuals"]
|
|
|
|
[node name="Static" type="Node2D" parent="YSorted/Farm visuals"]
|
|
|
|
|
|
|
|
|
|
|
|
@ -779,6 +781,21 @@ region_rect = Rect2(-2, 1135, 421, 292)
|
|
|
|
texture = ExtResource("29_p6n74")
|
|
|
|
texture = ExtResource("29_p6n74")
|
|
|
|
region_rect = Rect2(1, 1138, 418, 288)
|
|
|
|
region_rect = Rect2(1, 1138, 418, 288)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="CanvasLayer" parent="." instance=ExtResource("32_2nee2")]
|
|
|
|
|
|
|
|
visible = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Inventory" parent="CanvasLayer" index="0"]
|
|
|
|
|
|
|
|
anchors_preset = 7
|
|
|
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
|
|
|
offset_left = -172.8
|
|
|
|
|
|
|
|
offset_top = -194.4
|
|
|
|
|
|
|
|
offset_right = 172.8
|
|
|
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
|
|
|
size_flags_vertical = 8
|
|
|
|
|
|
|
|
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Hoe Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Hoe Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Watercan Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="PickedUpTool" from="YSorted/Player2d" to="Watercan Pickup" method="SetSpriteActiveState"]
|
|
|
|
[connection signal="InteractedTool" from="YSorted/Brünnen/InteractionArea" to="YSorted/Player2d" method="TryFillWateringCan"]
|
|
|
|
[connection signal="InteractedTool" from="YSorted/Brünnen/InteractionArea" to="YSorted/Player2d" method="TryFillWateringCan"]
|
|
|
|
@ -788,7 +805,9 @@ region_rect = Rect2(1, 1138, 418, 288)
|
|
|
|
[connection signal="InteractedTool" from="Hoe Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
[connection signal="InteractedTool" from="Hoe Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
[connection signal="InteractedTool" from="Watercan Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
[connection signal="InteractedTool" from="Watercan Pickup" to="YSorted/Player2d" method="ActivateTool"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[editable path="YSorted/Player2d"]
|
|
|
|
[editable path="YSorted/Brünnen/InteractionArea"]
|
|
|
|
[editable path="YSorted/Brünnen/InteractionArea"]
|
|
|
|
[editable path="Hoe Pickup"]
|
|
|
|
[editable path="Hoe Pickup"]
|
|
|
|
[editable path="Watercan Pickup"]
|
|
|
|
[editable path="Watercan Pickup"]
|
|
|
|
[editable path="Watercan Pickup/ActiveInactive"]
|
|
|
|
[editable path="Watercan Pickup/ActiveInactive"]
|
|
|
|
|
|
|
|
[editable path="CanvasLayer"]
|
|
|
|
|