Made interaction area 2d work - and farming/growing work again.
This commit is contained in:
@@ -4,21 +4,27 @@
|
||||
[ext_resource type="Script" uid="uid://bdffon388rkty" path="res://scripts/CSharp/Common/Farming/FieldBehaviour2D.cs" id="2_femni"]
|
||||
[ext_resource type="Texture2D" uid="uid://c2pirgay3jfnn" path="res://art/farm/tilable grounds/böden/trockene farming erde.png" id="3_lsfck"]
|
||||
[ext_resource type="Texture2D" uid="uid://ctvdxwgmfaj5c" path="res://art/farm/tilable grounds/böden/nasse farming erde.png" id="4_cus02"]
|
||||
[ext_resource type="PackedScene" uid="uid://bjhj1wa5olwcu" path="res://prefabs/farm/base_plant.tscn" id="5_msuq8"]
|
||||
[ext_resource type="PackedScene" uid="uid://c3hwbwo423nbm" path="res://prefabs/farm/base_plant_2d.tscn" id="5_femni"]
|
||||
|
||||
[node name="BaseField" type="Node2D"]
|
||||
|
||||
[node name="InteractionArea2" parent="." instance=ExtResource("1_femni")]
|
||||
visible = false
|
||||
z_index = 1
|
||||
scale = Vector2(2.225, 2.225)
|
||||
|
||||
[node name="FieldBehaviour" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.4, 1e-05)
|
||||
texture = ExtResource("3_lsfck")
|
||||
script = ExtResource("2_femni")
|
||||
Tilled = ExtResource("3_lsfck")
|
||||
Watered = ExtResource("4_cus02")
|
||||
|
||||
[node name="BasePlant" parent="FieldBehaviour" node_paths=PackedStringArray("_seeds", "_smallPlants", "_bigPlants", "_readyPlants") instance=ExtResource("5_msuq8")]
|
||||
transform = Transform3D(0.5, 0, 0, 0, -2.18557e-08, 0.5, 0, -0.5, -2.18557e-08, 0, 0, 0)
|
||||
_seeds = [null, null, null]
|
||||
_smallPlants = [null, null, null, null]
|
||||
_bigPlants = [null, null, null, null]
|
||||
_readyPlants = [null, null, null, null]
|
||||
[node name="BasePlant" parent="FieldBehaviour" instance=ExtResource("5_femni")]
|
||||
|
||||
[node name="BigPlant" parent="FieldBehaviour/BasePlant" index="2"]
|
||||
position = Vector2(6, -161)
|
||||
|
||||
[node name="ReadyPlant" parent="FieldBehaviour/BasePlant" index="3"]
|
||||
position = Vector2(0, -204)
|
||||
|
||||
[editable path="FieldBehaviour/BasePlant"]
|
||||
|
||||
Reference in New Issue
Block a user