[gd_scene load_steps=16 format=3 uid="uid://p2dkmy6xs31c"] [ext_resource type="Script" uid="uid://dw6jgsasb2fe1" path="res://entities/interactables/truck/compost/scripts/compost.gd" id="1_ux0j5"] [ext_resource type="Texture2D" uid="uid://n7hhyqhhtx0q" path="res://entities/interactables/truck/compost/assets/sprites/compost.png" id="2_grq07"] [ext_resource type="Shader" uid="uid://bqjwmomh851lc" path="res://common/vfx/materials/shaders/skew.gdshader" id="3_grq07"] [ext_resource type="FontFile" uid="uid://cpnsnrqhfkj3k" path="res://gui/ressources/fonts/spincycle_ot.otf" id="4_ux0j5"] [ext_resource type="Texture2D" uid="uid://dcgnamu7sb3ov" path="res://common/icons/bolt.svg" id="5_65b0j"] [sub_resource type="CircleShape2D" id="CircleShape2D_65b0j"] radius = 57.0 [sub_resource type="ShaderMaterial" id="ShaderMaterial_grq07"] shader = ExtResource("3_grq07") shader_parameter/fov = 1.0 shader_parameter/cull_back = true shader_parameter/y_rot = 73.4370120382575 shader_parameter/x_rot = -57.169994165575005 shader_parameter/inset = 0.0 [sub_resource type="ViewportTexture" id="ViewportTexture_4hdev"] viewport_path = NodePath("CountViewPort") [sub_resource type="ShaderMaterial" id="ShaderMaterial_8nmxn"] shader = ExtResource("3_grq07") shader_parameter/fov = 1.0 shader_parameter/cull_back = true shader_parameter/y_rot = -50.112993830367486 shader_parameter/x_rot = -40.629993379925 shader_parameter/inset = 0.0 [sub_resource type="ViewportTexture" id="ViewportTexture_24qh8"] viewport_path = NodePath("IconViewPort") [sub_resource type="LabelSettings" id="LabelSettings_kgjd8"] font = ExtResource("4_ux0j5") font_size = 30 [sub_resource type="Animation" id="Animation_8nmxn"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("..:scale") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(1, 1)] } [sub_resource type="Animation" id="Animation_ux0j5"] resource_name = "bump" length = 0.3 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("..:scale") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.099999994, 0.16666669, 0.3), "transitions": PackedFloat32Array(1, 1, 1, 1), "update": 0, "values": [Vector2(1, 1), Vector2(1.195, 0.915), Vector2(0.81, 1.195), Vector2(1, 1)] } [sub_resource type="Animation" id="Animation_65b0j"] resource_name = "empty" [sub_resource type="AnimationLibrary" id="AnimationLibrary_8nmxn"] _data = { &"RESET": SubResource("Animation_8nmxn"), &"bump": SubResource("Animation_ux0j5"), &"empty": SubResource("Animation_65b0j") } [node name="Compost" type="Area2D"] script = ExtResource("1_ux0j5") default_interact_text = "PLACE_SEED" default_info_title = "COMPOST" default_info_desc = "COMPOST_DESC_TEXT" [node name="CollisionShape2D" type="CollisionShape2D" parent="."] position = Vector2(0, -3) shape = SubResource("CircleShape2D_65b0j") [node name="SpriteGroup" type="Node2D" parent="."] [node name="Sprite" type="Sprite2D" parent="SpriteGroup"] unique_name_in_owner = true scale = Vector2(0.09, 0.09) texture = ExtResource("2_grq07") [node name="CountTexture" type="Sprite2D" parent="SpriteGroup"] material = SubResource("ShaderMaterial_grq07") position = Vector2(34.000004, 18.000002) scale = Vector2(1.2352942, 1.2352942) texture = SubResource("ViewportTexture_4hdev") [node name="IconTexture" type="Sprite2D" parent="SpriteGroup"] material = SubResource("ShaderMaterial_8nmxn") position = Vector2(-34.000004, 16.000002) scale = Vector2(0.50000006, 0.50000006) texture = SubResource("ViewportTexture_24qh8") [node name="CountViewPort" type="SubViewport" parent="."] transparent_bg = true size = Vector2i(163, 34) [node name="Count" type="Label" parent="CountViewPort"] unique_name_in_owner = true modulate = Color(0.0627451, 0.019607844, 0.22745098, 1) anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 6 text = "5/3" label_settings = SubResource("LabelSettings_kgjd8") horizontal_alignment = 1 vertical_alignment = 1 [node name="IconViewPort" type="SubViewport" parent="."] transparent_bg = true size = Vector2i(64, 64) [node name="Icon" type="TextureRect" parent="IconViewPort"] unique_name_in_owner = true modulate = Color(0.0627451, 0.019607844, 0.22745098, 1) anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 size_flags_horizontal = 3 size_flags_vertical = 6 texture = ExtResource("5_65b0j") expand_mode = 3 stretch_mode = 5 [node name="AnimationPlayer" type="AnimationPlayer" parent="."] unique_name_in_owner = true root_node = NodePath("../SpriteGroup/CountTexture") libraries = { &"": SubResource("AnimationLibrary_8nmxn") }