|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=11 format=3 uid="uid://gishbn0a8eke"]
|
|
|
|
|
[gd_scene load_steps=12 format=3 uid="uid://gishbn0a8eke"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" uid="uid://cms357f23fmfy" path="res://scripts/CSharp/Common/Farming/PlantBehaviour2D.cs" id="1_66p1c"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://mrnc81ukugh6" path="res://art/farm/farming/farmobjekte/plant_template.png" id="2_oyl0t"]
|
|
|
|
|
@ -6,6 +6,7 @@
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://cqc72e4hq6bcd" path="res://prefabs/interactions/interaction_area_2d.tscn" id="5_3j24b"]
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://dpbbroif2tnil" path="res://prefabs/interactions/generic_item_on_ground_2d.tscn" id="6_gdrin"]
|
|
|
|
|
[ext_resource type="Resource" uid="uid://blr8tine5m0ma" path="res://resources/items/tomato.tres" id="7_vjw4j"]
|
|
|
|
|
[ext_resource type="Script" uid="uid://j2mhvb45egej" path="res://scripts/CSharp/Low Code/Variables/VariableNode.cs" id="8_3og52"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bleimj6jr1jka" path="res://art/general/rectangle.png" id="9_vjw4j"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_u4cty"]
|
|
|
|
|
@ -28,7 +29,7 @@ radius = 300.0
|
|
|
|
|
resource_local_to_scene = true
|
|
|
|
|
radius = 300.0
|
|
|
|
|
|
|
|
|
|
[node name="BasePlant" type="Node2D" node_paths=PackedStringArray("_seeds", "_smallPlants", "_bigPlants", "_readyPlants", "_harvestablePlant", "_magicEffect")]
|
|
|
|
|
[node name="BasePlant" type="Node2D" node_paths=PackedStringArray("_seeds", "_smallPlants", "_bigPlants", "_readyPlants", "_harvestablePlant", "_magicEffect", "_lifecycle")]
|
|
|
|
|
z_index = 1
|
|
|
|
|
y_sort_enabled = true
|
|
|
|
|
script = ExtResource("1_66p1c")
|
|
|
|
|
@ -38,6 +39,7 @@ _bigPlants = [NodePath("BigPlant/01"), NodePath("BigPlant/02"), NodePath("BigPla
|
|
|
|
|
_readyPlants = [NodePath("ReadyPlantInventoryItem/ReadyPlant/01"), NodePath("ReadyPlantInventoryItem/ReadyPlant/02"), NodePath("ReadyPlantInventoryItem/ReadyPlant/03")]
|
|
|
|
|
_harvestablePlant = NodePath("ReadyPlantInventoryItem")
|
|
|
|
|
_magicEffect = NodePath("magic vfx")
|
|
|
|
|
_lifecycle = NodePath("LifeCycle")
|
|
|
|
|
|
|
|
|
|
[node name="Seeds" type="Node2D" parent="."]
|
|
|
|
|
position = Vector2(0, 0.5)
|
|
|
|
|
@ -206,6 +208,10 @@ scale_amount_max = 0.1
|
|
|
|
|
color = Color(0.400601, 0.62444, 0.791217, 1)
|
|
|
|
|
hue_variation_max = 0.4
|
|
|
|
|
|
|
|
|
|
[node name="LifeCycle" type="Node" parent="."]
|
|
|
|
|
script = ExtResource("8_3og52")
|
|
|
|
|
Payload = 3
|
|
|
|
|
|
|
|
|
|
[connection signal="Interacted" from="GrowingInteractionArea" to="." method="Grow"]
|
|
|
|
|
[connection signal="SuccessfulPickUp" from="ReadyPlantInventoryItem" to="." method="queue_free"]
|
|
|
|
|
|
|
|
|
|
|