Plants now based on entity class

This commit is contained in:
Rendo 2025-07-07 16:55:48 +05:00
commit 08d593175b
14 changed files with 38 additions and 65 deletions

View file

@ -55,13 +55,14 @@ transitions = ["Start", "sunflower_idle", SubResource("AnimationNodeStateMachine
size = Vector2(26, 48)
[node name="Sunflower" instance=ExtResource("1_bikjn")]
_maxHP = 30
MaxHP = 30.0
_effectImmunities = Array[Resource]([])
[node name="Sprite2D" parent="." index="0"]
texture = ExtResource("2_fwcda")
hframes = 9
vframes = 2
frame = 1
frame = 4
[node name="AnimationPlayer" parent="." index="1"]
libraries = {