[gd_scene load_steps=10 format=3 uid="uid://bkwh1ntvgkkrt"] [ext_resource type="Script" uid="uid://dw6jgsasb2fe1" path="res://entities/interactables/compost/scripts/compost.gd" id="1_1758a"] [ext_resource type="Texture2D" uid="uid://f2rte5jc0psp" path="res://entities/interactables/compost/assets/sprites/compost.svg" id="2_r6435"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_etofw"] bg_color = Color(0.260098, 0.11665, 0.0419712, 0.231373) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3ao1n"] bg_color = Color(0.270222, 0.270222, 0.270222, 1) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="RectangleShape2D" id="RectangleShape2D_coj8m"] size = Vector2(77, 92) [sub_resource type="Animation" id="Animation_1758a"] resource_name = "empty" length = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Compost:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0, 12.605), Vector2(0, -24.56), Vector2(0, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Compost:scale") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.1, 0.2, 0.5), "transitions": PackedFloat32Array(1, 1, 1, 1), "update": 0, "values": [Vector2(0.291262, 0.291262), Vector2(0.291, 0.191), Vector2(0.291, 0.366), Vector2(0.291262, 0.291262)] } [sub_resource type="Animation" id="Animation_r6435"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Compost:scale") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0.291262, 0.291262)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("Compost:position") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, 0)] } [sub_resource type="Animation" id="Animation_etofw"] resource_name = "fill" length = 0.3 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Compost:scale") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.1, 0.3), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [Vector2(0.291262, 0.291262), Vector2(0.291, 0.231), Vector2(0.291262, 0.291262)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_etofw"] _data = { &"RESET": SubResource("Animation_r6435"), &"empty": SubResource("Animation_1758a"), &"fill": SubResource("Animation_etofw") } [node name="Compost" type="Area2D"] script = ExtResource("1_1758a") [node name="Compost" type="Sprite2D" parent="."] modulate = Color(0.615686, 0.501961, 0.270588, 1) scale = Vector2(0.291262, 0.291262) texture = ExtResource("2_r6435") [node name="ProgressBar" type="ProgressBar" parent="Compost"] unique_name_in_owner = true offset_left = -62.0 offset_top = -7.0 offset_right = 62.0 offset_bottom = 120.0 theme_override_styles/background = SubResource("StyleBoxFlat_etofw") theme_override_styles/fill = SubResource("StyleBoxFlat_3ao1n") value = 20.0 fill_mode = 3 show_percentage = false [node name="CollisionShape2D" type="CollisionShape2D" parent="."] visible = false position = Vector2(-0.5, 2) shape = SubResource("RectangleShape2D_coj8m") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { &"": SubResource("AnimationLibrary_etofw") }