23 lines
929 B
Text
23 lines
929 B
Text
[gd_scene load_steps=3 format=3 uid="uid://b1hjjbdwf1rtc"]
|
|
|
|
[ext_resource type="Script" uid="uid://dli2i6albvugt" path="res://scripts/entities/plants/RuntimePlantData.cs" id="1_324sd"]
|
|
[ext_resource type="Script" uid="uid://dwlwi42smgxkb" path="res://scripts/TimeScalableAnimationTree.cs" id="2_e75pf"]
|
|
|
|
[node name="PlantTemplate" type="Node2D" node_paths=PackedStringArray("_player", "_tree")]
|
|
script = ExtResource("1_324sd")
|
|
_player = NodePath("AnimationPlayer")
|
|
_tree = NodePath("AnimationTree")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
use_parent_material = true
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." node_paths=PackedStringArray("entity")]
|
|
anim_player = NodePath("../AnimationPlayer")
|
|
script = ExtResource("2_e75pf")
|
|
entity = NodePath("..")
|
|
|
|
[node name="Hitbox" type="Area2D" parent="."]
|
|
collision_layer = 2
|
|
collision_mask = 0
|