velho/godot/prefabs/tiles/cowberry.tscn

28 lines
909 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://l72f05nek0y4"]
[ext_resource type="Texture2D" uid="uid://doscvutq8uqmd" path="res://sprites/sheet.png" id="1_e3ld6"]
[ext_resource type="Script" uid="uid://jd6ce3f7e1bh" path="res://prefabs/tiles/gatherable_animation.gd" id="2_kod7n"]
[node name="Blueberry" type="GridPosition" node_paths=PackedStringArray("gatherable", "picked", "not_picked")]
script = ExtResource("2_kod7n")
gatherable = NodePath("Gatherable")
picked = NodePath("Picked")
not_picked = NodePath("Not Picked")
[node name="Not Picked" type="Sprite2D" parent="."]
texture = ExtResource("1_e3ld6")
hframes = 8
vframes = 8
frame = 20
[node name="Picked" type="Sprite2D" parent="."]
visible = false
texture = ExtResource("1_e3ld6")
hframes = 8
vframes = 8
frame = 17
[node name="Gatherable" type="Gatherable" parent="." node_paths=PackedStringArray("grid")]
grid = NodePath("..")
item = "Cowberry"