Files
Super-Mario-Bros.-Remastere…/Scenes/Prefabs/UI/ResourcePackContainer.tscn
2025-09-13 16:30:32 +01:00

135 lines
5.1 KiB
Plaintext

[gd_scene load_steps=11 format=3 uid="uid://lggi3b4310yl"]
[ext_resource type="Script" uid="uid://cbc02k2pmw13p" path="res://Scripts/UI/ResourcePackContainer.gd" id="1_dm3ff"]
[ext_resource type="Texture2D" uid="uid://3p2l7rec0gh5" path="res://Assets/Sprites/UI/Cursor.png" id="1_fcw43"]
[ext_resource type="Texture2D" uid="uid://uh7uhdkv3e6s" path="res://Assets/Sprites/Blocks/QuestionBlock.png" id="2_7ke7c"]
[ext_resource type="Script" uid="uid://cbal8ms2oe1ik" path="res://Scripts/Classes/Components/ResourceSetterNew.gd" id="3_fwtyy"]
[ext_resource type="JSON" path="res://Assets/Sprites/UI/Cursor.json" id="4_of2ay"]
[ext_resource type="StyleBox" uid="uid://comkghpj0djcl" path="res://Resources/UI/Panel.tres" id="5_fwtyy"]
[ext_resource type="Script" uid="uid://d63p6qr5a748" path="res://Scripts/UI/AutoScrollContainer.gd" id="7_khoix"]
[ext_resource type="Script" uid="uid://co6tjg3w6qpd8" path="res://Scripts/Parts/LabelFontChanger.gd" id="7_of2ay"]
[sub_resource type="AtlasTexture" id="AtlasTexture_fwtyy"]
atlas = ExtResource("1_fcw43")
region = Rect2(0, 0, 8, 8)
[sub_resource type="AtlasTexture" id="AtlasTexture_fcw43"]
atlas = ExtResource("2_7ke7c")
region = Rect2(0, 0, 16, 16)
[node name="ResourcePackContainer" type="HBoxContainer"]
custom_minimum_size = Vector2(0, 30)
offset_left = 2.0
offset_top = 2.0
offset_right = 254.0
offset_bottom = 34.0
focus_mode = 2
script = ExtResource("1_dm3ff")
[node name="Cursor" type="TextureRect" parent="."]
unique_name_in_owner = true
modulate = Color(1, 1, 1, 0)
layout_mode = 2
texture = SubResource("AtlasTexture_fwtyy")
stretch_mode = 3
[node name="ResourceSetter" type="Node" parent="Cursor" node_paths=PackedStringArray("node_to_affect")]
script = ExtResource("3_fwtyy")
node_to_affect = NodePath("..")
property_name = "texture"
mode = 1
resource_json = ExtResource("4_of2ay")
metadata/_custom_type_script = "uid://cbal8ms2oe1ik"
[node name="ResourcePackContainer" type="PanelContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = ExtResource("5_fwtyy")
[node name="MarginContainer" type="MarginContainer" parent="ResourcePackContainer"]
layout_mode = 2
theme_override_constants/margin_left = -4
theme_override_constants/margin_top = -4
theme_override_constants/margin_right = -4
theme_override_constants/margin_bottom = -4
[node name="HBoxContainer" type="HBoxContainer" parent="ResourcePackContainer/MarginContainer"]
layout_mode = 2
[node name="Icon" type="TextureRect" parent="ResourcePackContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 0
texture = SubResource("AtlasTexture_fcw43")
stretch_mode = 3
[node name="VBoxContainer" type="VBoxContainer" parent="ResourcePackContainer/MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 4
[node name="TitleScroll" type="ScrollContainer" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 16)
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("7_khoix")
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="Title" type="Label" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/TitleScroll"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "TITLEAAAAAAAAAAAAAAAAAAAAAA"
[node name="DescScroll" type="ScrollContainer" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 12)
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 3
vertical_scroll_mode = 3
script = ExtResource("7_khoix")
direction = 1
metadata/_custom_type_script = "uid://d63p6qr5a748"
[node name="Description" type="Label" parent="ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/DescScroll"]
unique_name_in_owner = true
modulate = Color(0.603653, 0.603653, 0.603653, 1)
custom_minimum_size = Vector2(0, 8)
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "Replaces Blue Toad, with Yellow Toad"
autowrap_mode = 2
uppercase = true
[node name="LoadedOrder" type="Label" parent="ResourcePackContainer/MarginContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
text = "1"
[node name="LabelFontChanger" type="Node" parent="." node_paths=PackedStringArray("labels")]
script = ExtResource("7_of2ay")
labels = [NodePath("../ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/TitleScroll/Title"), NodePath("../ResourcePackContainer/MarginContainer/HBoxContainer/VBoxContainer/DescScroll/Description"), NodePath("../ResourcePackContainer/MarginContainer/HBoxContainer/LoadedOrder")]
metadata/_custom_type_script = "uid://co6tjg3w6qpd8"
[node name="Edit" type="Control" parent="."]
custom_minimum_size = Vector2(10, 0)
layout_mode = 2
[node name="EditLabel" type="Label" parent="Edit"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
text = "►"
vertical_alignment = 1
uppercase = true