This commit is contained in:
Rendo 2025-06-17 00:26:05 +05:00
commit 6efdd7c02c
23 changed files with 134 additions and 30 deletions

View file

@ -3,8 +3,8 @@
[ext_resource type="PackedScene" uid="uid://b1hjjbdwf1rtc" path="res://scenes/templates/plant_template.tscn" id="1_5i0e6"]
[ext_resource type="Texture2D" uid="uid://dff73m8ahamaa" path="res://assets/sprites/atlases/plants/garlic.png" id="2_w2jbi"]
[ext_resource type="AnimationLibrary" uid="uid://cjl81f61gdlvi" path="res://resources/animations/plants/garlic.res" id="3_jkb3q"]
[ext_resource type="Script" path="res://scripts/components/plants/behaviours/HpBasedBehaviour.cs" id="4_bv44h"]
[ext_resource type="Script" path="res://scripts/components/plants/ReturnEffect.cs" id="5_oob20"]
[ext_resource type="Script" uid="uid://btkmd86pn828y" path="res://scripts/components/plants/behaviours/HpBasedBehaviour.cs" id="4_bv44h"]
[ext_resource type="Script" uid="uid://bmtukcq10m8wo" path="res://scripts/components/plants/ReturnEffect.cs" id="5_oob20"]
[ext_resource type="Resource" uid="uid://dsg1vjx76ifgu" path="res://resources/effects/GarlicEffect.tres" id="6_gho1l"]
[sub_resource type="Animation" id="Animation_k0cex"]
@ -24,7 +24,7 @@ tracks/0/keys = {
[sub_resource type="AnimationLibrary" id="AnimationLibrary_v4l78"]
_data = {
"RESET": SubResource("Animation_k0cex")
&"RESET": SubResource("Animation_k0cex")
}
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_mdv0r"]
@ -59,8 +59,8 @@ vframes = 3
[node name="AnimationPlayer" parent="." index="1"]
libraries = {
"": SubResource("AnimationLibrary_v4l78"),
"garlic": ExtResource("3_jkb3q")
&"": SubResource("AnimationLibrary_v4l78"),
&"garlic": ExtResource("3_jkb3q")
}
[node name="AnimationTree" parent="." index="2"]