[gd_scene load_steps=7 format=3 uid="uid://bvpt0q4j6nx18"] [ext_resource type="Texture2D" uid="uid://dr8a0rx42o3qy" path="res://assets/sprites/gui/ChooseYourSeeds/PlantFrame.tres" id="1_1hnxi"] [ext_resource type="Script" uid="uid://0mvmfvwe1bc7" path="res://scripts/components/gui/almanach/AlmanachGrid.cs" id="1_ru62c"] [ext_resource type="Script" uid="uid://covbig00p22di" path="res://scripts/components/gui/choose_your_seeds/Previewport.cs" id="2_ru62c"] [ext_resource type="Texture2D" uid="uid://dycdvvgmgmfu6" path="res://assets/sprites/gui/ChooseYourSeeds/FrameField.tres" id="3_oy57w"] [sub_resource type="ViewportTexture" id="ViewportTexture_ru62c"] viewport_path = NodePath("plants/Infobox/FrameAndTitle/Frame/Previewport") [sub_resource type="ViewportTexture" id="ViewportTexture_7yl8g"] viewport_path = NodePath("zombies/Infobox/FrameAndTitle/Frame/Previewport") [node name="Almanach" type="TabContainer"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 tab_alignment = 1 current_tab = 0 [node name="plants" type="HBoxContainer" parent="."] layout_mode = 2 metadata/_tab_index = 0 [node name="SeedpacketsContainer" type="ScrollContainer" parent="plants"] layout_mode = 2 horizontal_scroll_mode = 0 [node name="GridContainer" type="GridContainer" parent="plants/SeedpacketsContainer"] layout_mode = 2 columns = 8 script = ExtResource("1_ru62c") [node name="Infobox" type="VBoxContainer" parent="plants"] layout_mode = 2 size_flags_horizontal = 3 [node name="FrameAndTitle" type="HBoxContainer" parent="plants/Infobox"] layout_mode = 2 [node name="Frame" type="TextureRect" parent="plants/Infobox/FrameAndTitle"] clip_contents = true layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 0 texture = ExtResource("1_1hnxi") [node name="Previewport" type="SubViewport" parent="plants/Infobox/FrameAndTitle/Frame" node_paths=PackedStringArray("title", "description")] canvas_item_default_texture_filter = 0 size = Vector2i(65, 65) script = ExtResource("2_ru62c") title = NodePath("../../Label") description = NodePath("../../../Description/ScrollContainer/RichTextLabel") [node name="FrameField" type="Sprite2D" parent="plants/Infobox/FrameAndTitle/Frame/Previewport"] texture = ExtResource("3_oy57w") [node name="Camera2D" type="Camera2D" parent="plants/Infobox/FrameAndTitle/Frame/Previewport"] [node name="Render" type="TextureRect" parent="plants/Infobox/FrameAndTitle/Frame"] show_behind_parent = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = SubResource("ViewportTexture_ru62c") [node name="Label" type="Label" parent="plants/Infobox/FrameAndTitle"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 horizontal_alignment = 1 vertical_alignment = 1 [node name="Description" type="PanelContainer" parent="plants/Infobox"] layout_mode = 2 size_flags_vertical = 3 theme_type_variation = &"description_panel_container" [node name="ScrollContainer" type="ScrollContainer" parent="plants/Infobox/Description"] layout_mode = 2 horizontal_scroll_mode = 0 [node name="RichTextLabel" type="RichTextLabel" parent="plants/Infobox/Description/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 theme_override_colors/default_color = Color(0, 0, 0, 1) theme_override_colors/font_selected_color = Color(0, 0, 0, 1) bbcode_enabled = true [node name="zombies" type="HBoxContainer" parent="."] visible = false layout_mode = 2 metadata/_tab_index = 1 [node name="SeedpacketsContainer" type="ScrollContainer" parent="zombies"] layout_mode = 2 horizontal_scroll_mode = 0 [node name="GridContainer" type="GridContainer" parent="zombies/SeedpacketsContainer"] layout_mode = 2 columns = 8 script = ExtResource("1_ru62c") _zombies = true [node name="Infobox" type="VBoxContainer" parent="zombies"] layout_mode = 2 size_flags_horizontal = 3 [node name="FrameAndTitle" type="HBoxContainer" parent="zombies/Infobox"] layout_mode = 2 [node name="Frame" type="TextureRect" parent="zombies/Infobox/FrameAndTitle"] clip_contents = true layout_mode = 2 size_flags_horizontal = 0 size_flags_vertical = 0 texture = ExtResource("1_1hnxi") [node name="Previewport" type="SubViewport" parent="zombies/Infobox/FrameAndTitle/Frame" node_paths=PackedStringArray("title", "description")] canvas_item_default_texture_filter = 0 size = Vector2i(130, 130) script = ExtResource("2_ru62c") title = NodePath("../../Label") description = NodePath("../../../Description/ScrollContainer/RichTextLabel") [node name="FrameField" type="Sprite2D" parent="zombies/Infobox/FrameAndTitle/Frame/Previewport"] texture = ExtResource("3_oy57w") [node name="Camera2D" type="Camera2D" parent="zombies/Infobox/FrameAndTitle/Frame/Previewport"] position = Vector2(0, -45) [node name="Render" type="TextureRect" parent="zombies/Infobox/FrameAndTitle/Frame"] show_behind_parent = true layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 texture = SubResource("ViewportTexture_7yl8g") expand_mode = 1 [node name="Label" type="Label" parent="zombies/Infobox/FrameAndTitle"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 1 horizontal_alignment = 1 vertical_alignment = 1 [node name="Description" type="PanelContainer" parent="zombies/Infobox"] layout_mode = 2 size_flags_vertical = 3 theme_type_variation = &"description_panel_container" [node name="ScrollContainer" type="ScrollContainer" parent="zombies/Infobox/Description"] layout_mode = 2 horizontal_scroll_mode = 0 [node name="RichTextLabel" type="RichTextLabel" parent="zombies/Infobox/Description/ScrollContainer"] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 theme_override_colors/default_color = Color(0, 0, 0, 1) theme_override_colors/font_selected_color = Color(0, 0, 0, 1) bbcode_enabled = true