30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://8xuvjmyjkpeo"]
|
|
|
|
[ext_resource type="Script" uid="uid://jd6ce3f7e1bh" path="res://prefabs/tiles/gatherable_animation.gd" id="1_jqgth"]
|
|
[ext_resource type="Texture2D" uid="uid://noksw27wlt1y" path="res://sprites/blueberry_plant.png" id="2_c8jpc"]
|
|
[ext_resource type="Texture2D" uid="uid://1udkm2j25i8o" path="res://sprites/generic_picked.png" id="3_c8jpc"]
|
|
[ext_resource type="Script" uid="uid://u5cupgv1dx71" path="res://prefabs/tiles/berry_grower.gd" id="4_17ku8"]
|
|
|
|
[node name="Blueberry" type="GridPosition"]
|
|
|
|
[node name="Not Picked" type="Sprite2D" parent="."]
|
|
texture = ExtResource("2_c8jpc")
|
|
|
|
[node name="Picked" type="Sprite2D" parent="."]
|
|
visible = false
|
|
texture = ExtResource("3_c8jpc")
|
|
|
|
[node name="Gatherable" type="Gatherable" parent="." node_paths=PackedStringArray("grid")]
|
|
grid = NodePath("..")
|
|
|
|
[node name="Sprite Swapper" type="Node" parent="." node_paths=PackedStringArray("gatherable", "picked", "not_picked")]
|
|
script = ExtResource("1_jqgth")
|
|
gatherable = NodePath("../Gatherable")
|
|
picked = NodePath("../Picked")
|
|
not_picked = NodePath("../Not Picked")
|
|
|
|
[node name="Grow" type="Node" parent="." node_paths=PackedStringArray("gatherable")]
|
|
script = ExtResource("4_17ku8")
|
|
gatherable = NodePath("../Gatherable")
|
|
days_to_grow = 2
|