[gd_scene load_steps=11 format=3 uid="uid://cgjc4wurbgimy"] [ext_resource type="Script" uid="uid://hg7jay2kt441" path="res://scripts/CSharp/Common/Inventory/InventoryUi.cs" id="1_6wusm"] [ext_resource type="Texture2D" uid="uid://3ln8aleyxgp1" path="res://art/ui/UI/UI_bag_export_01.png" id="3_vvo7l"] [ext_resource type="Texture2D" uid="uid://dcidjcsqk12p1" path="res://art/ui/UI/UI_bag_export_02.png" id="4_df8i8"] [ext_resource type="Texture2D" uid="uid://c7wqla0mbu3np" path="res://art/ui/babushka_ui_tmp_inventory_select.png" id="4_tiss4"] [ext_resource type="PackedScene" uid="uid://c0kmdjeqkqrwv" path="res://prefabs/UI/Inventory/Slot.tscn" id="5_u7kje"] [ext_resource type="Script" path="res://scripts/CSharp/Common/Quest/PupUpPostIt.cs" id="6_n5apg"] [sub_resource type="LabelSettings" id="LabelSettings_tiss4"] font_size = 22 font_color = Color(0, 0, 0, 1) [sub_resource type="Animation" id="Animation_tiss4"] resource_name = "NewPostit" length = 2.0 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2, 1.3, 1.8), "transitions": PackedFloat32Array(0.435277, 0.133972, 1.8025, 1), "update": 0, "values": [Vector2(-228, -400), Vector2(126, -400), Vector2(126, -400), Vector2(23, -161)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:scale") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 1.3, 1.8), "transitions": PackedFloat32Array(1, 1.8, 1), "update": 0, "values": [Vector2(1, 1), Vector2(1, 1), Vector2(0.7, 0.7)] } [sub_resource type="Animation" id="Animation_n5apg"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(126, -353)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath(".:scale") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(1, 1)] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_n5apg"] _data = { &"NewPostit": SubResource("Animation_tiss4"), &"RESET": SubResource("Animation_n5apg") } [node name="CanvasLayer" type="CanvasLayer"] layer = 90 follow_viewport_enabled = true [node name="Inventory" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_6wusm") metadata/_edit_use_anchors_ = true [node name="SlotsContainer" type="Control" parent="Inventory"] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 0 scale = Vector2(0.7, 0.7) [node name="SlotSelectContainer" type="Control" parent="Inventory/SlotsContainer"] custom_minimum_size = Vector2(900, 100) layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -450.0 offset_top = -115.0 offset_right = 450.0 offset_bottom = -15.0 grow_horizontal = 2 grow_vertical = 0 [node name="Selector" type="TextureRect" parent="Inventory/SlotsContainer/SlotSelectContainer"] z_index = 10 custom_minimum_size = Vector2(100, 100) layout_mode = 0 offset_left = 1.0 offset_right = 101.0 offset_bottom = 100.0 texture = ExtResource("4_tiss4") expand_mode = 1 [node name="SlotsMover" type="Control" parent="Inventory/SlotsContainer"] custom_minimum_size = Vector2(900, 610) layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -200.0 offset_top = -611.0 offset_right = 200.0 offset_bottom = -1.0 grow_horizontal = 2 grow_vertical = 0 [node name="BackgroundContainer" type="Control" parent="Inventory/SlotsContainer/SlotsMover"] layout_mode = 1 anchors_preset = 0 offset_left = 5.0 offset_top = 384.0 offset_right = 901.0 offset_bottom = 1230.0 mouse_filter = 2 [node name="TextureRect" type="TextureRect" parent="Inventory/SlotsContainer/SlotsMover/BackgroundContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = -305.0 offset_right = 303.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("3_vvo7l") expand_mode = 3 [node name="TextureRect2" type="TextureRect" parent="Inventory/SlotsContainer/SlotsMover/BackgroundContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("3_vvo7l") expand_mode = 3 flip_h = true [node name="TextureRect3" type="TextureRect" parent="Inventory/SlotsContainer/SlotsMover/BackgroundContainer"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 texture = ExtResource("4_df8i8") expand_mode = 3 flip_h = true [node name="Slots" type="Control" parent="Inventory/SlotsContainer/SlotsMover"] custom_minimum_size = Vector2(900, 610) layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_top = 496.0 offset_bottom = 496.0 grow_horizontal = 2 grow_vertical = 2 [node name="Slot" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 [node name="Slot2" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 100.0 offset_right = 200.0 [node name="Slot3" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 201.0 offset_right = 301.0 [node name="Slot4" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 301.0 offset_right = 401.0 [node name="Slot5" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 401.0 offset_right = 501.0 [node name="Slot6" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 501.0 offset_right = 601.0 [node name="Slot7" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 601.0 offset_right = 701.0 [node name="Slot8" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 702.0 offset_right = 802.0 [node name="Slot9" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 802.0 offset_right = 902.0 [node name="Slot10" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 101.0 offset_top = 212.0 offset_right = 201.0 offset_bottom = 312.0 [node name="Slot11" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 201.0 offset_top = 212.0 offset_right = 301.0 offset_bottom = 312.0 [node name="Slot12" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 301.0 offset_top = 212.0 offset_right = 401.0 offset_bottom = 312.0 [node name="Slot13" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 401.0 offset_top = 212.0 offset_right = 501.0 offset_bottom = 312.0 [node name="Slot14" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 501.0 offset_top = 212.0 offset_right = 601.0 offset_bottom = 312.0 [node name="Slot15" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 602.0 offset_top = 212.0 offset_right = 702.0 offset_bottom = 312.0 [node name="Slot16" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 702.0 offset_top = 212.0 offset_right = 802.0 offset_bottom = 312.0 [node name="Slot17" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 102.0 offset_top = 312.0 offset_right = 202.0 offset_bottom = 412.0 [node name="Slot18" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 202.0 offset_top = 312.0 offset_right = 302.0 offset_bottom = 412.0 [node name="Slot19" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 302.0 offset_top = 312.0 offset_right = 402.0 offset_bottom = 412.0 [node name="Slot20" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 402.0 offset_top = 312.0 offset_right = 502.0 offset_bottom = 412.0 [node name="Slot21" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 502.0 offset_top = 312.0 offset_right = 602.0 offset_bottom = 412.0 [node name="Slot22" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 603.0 offset_top = 312.0 offset_right = 703.0 offset_bottom = 412.0 [node name="Slot23" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 703.0 offset_top = 312.0 offset_right = 803.0 offset_bottom = 412.0 [node name="Slot24" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 102.0 offset_top = 412.0 offset_right = 202.0 offset_bottom = 512.0 [node name="Slot25" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 202.0 offset_top = 412.0 offset_right = 302.0 offset_bottom = 512.0 [node name="Slot26" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 302.0 offset_top = 412.0 offset_right = 402.0 offset_bottom = 512.0 [node name="Slot27" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 402.0 offset_top = 412.0 offset_right = 502.0 offset_bottom = 512.0 [node name="Slot28" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 502.0 offset_top = 412.0 offset_right = 602.0 offset_bottom = 512.0 [node name="Slot29" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 603.0 offset_top = 412.0 offset_right = 703.0 offset_bottom = 512.0 [node name="Slot30" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 703.0 offset_top = 412.0 offset_right = 803.0 offset_bottom = 512.0 [node name="Slot31" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 102.0 offset_top = 512.0 offset_right = 202.0 offset_bottom = 612.0 [node name="Slot32" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 202.0 offset_top = 512.0 offset_right = 302.0 offset_bottom = 612.0 [node name="Slot33" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 302.0 offset_top = 512.0 offset_right = 402.0 offset_bottom = 612.0 [node name="Slot34" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 402.0 offset_top = 512.0 offset_right = 502.0 offset_bottom = 612.0 [node name="Slot35" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 502.0 offset_top = 512.0 offset_right = 602.0 offset_bottom = 612.0 [node name="Slot36" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 603.0 offset_top = 512.0 offset_right = 703.0 offset_bottom = 612.0 [node name="Slot37" parent="Inventory/SlotsContainer/SlotsMover/Slots" instance=ExtResource("5_u7kje")] layout_mode = 1 offset_left = 703.0 offset_top = 512.0 offset_right = 803.0 offset_bottom = 612.0 [node name="Messages" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="MessageContainer" type="Control" parent="Messages"] layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 grow_vertical = 0 [node name="PopUpPostIt" type="Control" parent="Messages/MessageContainer"] layout_mode = 1 anchors_preset = 2 anchor_top = 1.0 anchor_bottom = 1.0 offset_left = 126.0 offset_top = -353.0 offset_right = 326.0 offset_bottom = -153.0 grow_vertical = 0 script = ExtResource("6_n5apg") [node name="Background" type="ColorRect" parent="Messages/MessageContainer/PopUpPostIt"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(1, 1, 0.447059, 1) [node name="Text" type="Label" parent="Messages/MessageContainer/PopUpPostIt"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 10.0 offset_top = 10.0 offset_right = -10.0 offset_bottom = -10.0 grow_horizontal = 2 grow_vertical = 2 text = "Make me a Sandwitch, bitch" label_settings = SubResource("LabelSettings_tiss4") horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 2 [node name="AnimationPlayer" type="AnimationPlayer" parent="Messages/MessageContainer/PopUpPostIt"] libraries = { &"": SubResource("AnimationLibrary_n5apg") } [connection signal="ready" from="Messages/MessageContainer/PopUpPostIt/AnimationPlayer" to="Messages/MessageContainer/PopUpPostIt/AnimationPlayer" method="play" binds= ["Fu"]]