[gd_scene format=3 uid="uid://c2160x4hwd3y2"]

[ext_resource type="PackedScene" uid="uid://cisurm74fqg2i" path="res://sources/minigames/base/words/words_minigame.tscn" id="1_ntn14"]
[ext_resource type="Script" uid="uid://cnegbjo0qx68k" path="res://sources/minigames/caterpillar/caterpillar_minigame.gd" id="2_ycf8p"]
[ext_resource type="Texture2D" uid="uid://bqurji8fhnr48" path="res://assets/minigames/caterpillar/graphics/gauge_icon_caterpillar_empty.png" id="6_xkfwj"]
[ext_resource type="Texture2D" uid="uid://bmdhpgxmur1vo" path="res://assets/minigames/caterpillar/graphics/gauge_icon_caterpillar_full.png" id="7_u5jxc"]
[ext_resource type="Texture2D" uid="uid://cdc5fnfdssjnt" path="res://assets/minigames/caterpillar/graphics/background.png" id="8_q64mq"]
[ext_resource type="PackedScene" uid="uid://cqx0qux4msnm7" path="res://sources/minigames/caterpillar/caterpillar.tscn" id="9_m0xwi"]

[node name="CaterpillarMinigame" unique_id=663837896 instance=ExtResource("1_ntn14")]
script = ExtResource("2_ycf8p")
minigame_name = 4
lesson_nb = 6
difficulty = 0
max_number_of_lives = 5
max_progression = 5

[node name="AudioStreamPlayer" parent="." index="0" unique_id=649246549]
process_mode = 0
bus = &"Effects"

[node name="MinigameUI" parent="." index="1" unique_id=1199249440]
empty_progression_icon = ExtResource("6_xkfwj")
full_progression_icon = ExtResource("7_u5jxc")

[node name="Background" type="TextureRect" parent="GameRoot" parent_id_path=PackedInt32Array(1053321881) index="0" unique_id=1281055668]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 3
texture = ExtResource("8_q64mq")

[node name="BranchesZone" type="Control" parent="GameRoot" parent_id_path=PackedInt32Array(1053321881) index="1" unique_id=1204536120]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="Caterpillar" parent="GameRoot" parent_id_path=PackedInt32Array(1053321881) index="2" unique_id=1720828836 instance=ExtResource("9_m0xwi")]
position = Vector2(384, 0)

[node name="BerryTimer" type="Timer" parent="GameRoot" parent_id_path=PackedInt32Array(1053321881) index="3" unique_id=1648175812]
wait_time = 3.0

[connection signal="timeout" from="GameRoot/BerryTimer" to="." method="_on_berry_timer_timeout"]
