From 1d00c9c1f1efe8078a2b2cea133378c4b640055f Mon Sep 17 00:00:00 2001 From: BassS0ul <73126509+BassS0ul@users.noreply.github.com> Date: Sun, 7 Apr 2024 13:56:05 -0500 Subject: [PATCH] loading for grammar should work now --- ...lding-9cb87f85f8528d144e7afd2b5badc461.cfg | 2 +- .../.godot/editor/editor_layout.cfg | 2 +- .../.godot/editor/filesystem_cache8 | 36 +++++------ .../.godot/editor/filesystem_update4 | 4 +- .../.godot/editor/project_metadata.cfg | 2 +- .../.godot/editor/script_editor_cache.cfg | 48 ++++++++------- .../MenuManager.gd | 59 +++++++++++++++++++ .../top_toolbar/TopToolbar.tscn | 2 +- 8 files changed, 110 insertions(+), 45 deletions(-) diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/TopToolbar.tscn-folding-9cb87f85f8528d144e7afd2b5badc461.cfg b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/TopToolbar.tscn-folding-9cb87f85f8528d144e7afd2b5badc461.cfg index c40457b..90580d3 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/TopToolbar.tscn-folding-9cb87f85f8528d144e7afd2b5badc461.cfg +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/TopToolbar.tscn-folding-9cb87f85f8528d144e7afd2b5badc461.cfg @@ -2,4 +2,4 @@ node_unfolds=[NodePath("."), PackedStringArray("Layout"), NodePath("HBoxContainer"), PackedStringArray("Material", "Layout/Transform", "Theme Overrides/constants", "Theme Overrides", "Layout"), NodePath("HBoxContainer/VBoxContainer/OptionButton_ModuleSettings"), PackedStringArray("item_count_array", "BiDi", "popup", "Input", "Tooltip"), NodePath("HBoxContainer/VBoxContainer2/OptionButton_Wizards"), PackedStringArray("Text Behavior", "Icon Behavior", "BiDi", "item_count_array"), NodePath("HBoxContainer/VBoxContainer3"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer"), PackedStringArray("Theme Overrides", "Theme Overrides/constants", "Layout"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer/Default/ScrollContainer"), PackedStringArray("Layout", "Layout/Transform", "Layout/Container Sizing"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer"), PackedStringArray("Layout", "Layout/Transform", "Localization", "Focus", "Visibility", "Ordering", "Texture", "Material", "Process"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer/HBoxContainer"), PackedStringArray("Theme Overrides", "Theme Overrides/constants"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer/HBoxContainer2/CheckBox"), PackedStringArray("button_group"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer/HBoxContainer3/CheckBox"), PackedStringArray("button_group"), NodePath("HBoxContainer/VBoxContainer3/GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer/NewGenre"), PackedStringArray("Layout", "Layout/Container Sizing"), NodePath("HBoxContainer/VBoxContainer3/DialogMenu/VBoxContainer/OptionButton"), PackedStringArray("item_count_array"), NodePath("HBoxContainer/VBoxContainer3/DialogMenu/Save Button"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton"), PackedStringArray("item_count_array"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer"), PackedStringArray("Layout", "Layout/Transform", "Theme"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox"), PackedStringArray("Layout", "Layout/Transform", "Layout/Container Sizing", "Theme Overrides", "Theme Overrides/constants"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/LeftSide"), PackedStringArray("Theme Overrides", "Theme Overrides/constants"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/LeftSide/FactionContainer/Faction"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/Middle/NameContainer/Label"), PackedStringArray("Displayed Text"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/Middle/NameContainer/NameEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/Middle/ProfessionContainer/ProfessionEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/Middle/DemeanorContainer/DemeanorEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/Middle/SpeciesContainer/SpeciesEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/Middle/CultureContainer/CultureEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/TopBox/PortraitContainer/ASCIIPortrait"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/HWContainer/Label"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/HWContainer/HWEntry"), PackedStringArray("Layout", "Theme Overrides", "Theme Overrides/font_sizes", "Scroll", "Theme Overrides/fonts"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/BackstoryContainer/Label2"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/BackstoryContainer/BackstoryEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/GenderContainer/Label3"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/GenderContainer/GenderEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/EquipmentContainer/Label4"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/EquipmentContainer/EquipmentEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/CRContainer/Label5"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/CRContainer/CREntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/DialougeContainer/Label6"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/MiddleBox/DialougeContainer/DialougeEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox"), PackedStringArray("Layout", "Layout/Container Sizing", "Localization", "Tooltip", "Input"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/ConContainer/Label"), PackedStringArray("Displayed Text", "Layout", "Layout/Transform", "Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/ConContainer/ConEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/AgiContainer/Label2"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/AgiContainer/AgiEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/SelfDisciplineContainer/Label3"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/SelfDisciplineContainer/SelfDisciplineEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/MemoryContainer/Label4"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/MemoryContainer/MemoryEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/ReasoningContainer/Label5"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/ReasoningContainer/ReasoningEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/StrengthContainer/Label6"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/StrengthContainer/StrengthEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/QuicknessContainer/Label7"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/QuicknessContainer/QuicknessEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/PresenceContainer/Label8"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/PresenceContainer/PresenceEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/IntuitionContainer/Label9"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/IntuitionContainer/IntuitionEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/EmpathyContainer/Label10"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/EmpathyContainer/EmpathyEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/AppearanceContainer/Label11"), PackedStringArray("Layout", "Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/LeftCollumn/AppearanceContainer/AppearanceEntry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill1Container/Label"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill1Container/Skill1Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill2Container/Label2"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill2Container/Skill2Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill3Container/Label3"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill3Container/Skill3Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill4Container/Label4"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill4Container/Skill4Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill5Container/Label5"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill5Container/Skill5Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill6Container/Label6"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill6Container/Skill6Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill7Container/Label7"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill7Container/Skill7Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill8Container/Label8"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill8Container/Skill8Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill9Container/Label9"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill9Container/Skill9Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill10Container/Label10"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/MiddleCollumn/Skill10Container/Skill10Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA1Container/Label"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA1Container/SA1Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA2Container/Label2"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA2Container/SA2Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA3Container/Label3"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA3Container/SA3Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA4Container/Label4"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA4Container/SA4Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA5Container/Label5"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA5Container/SA5Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA6Container/Label6"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA6Container/SA6Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA7Container/Label7"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA7Container/SA7Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA8Container/Label8"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA8Container/SA8Entry"), PackedStringArray("Layout"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA9Container/Label9"), PackedStringArray("Theme Overrides", "Theme Overrides/font_sizes"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu/VBoxContainer/OptionButton/CharacterContainer/BottomBox/RightCollumn/SA9Container/SA9Entry"), PackedStringArray("Layout")] resource_unfolds=[] -nodes_folded=[NodePath("HBoxContainer/VBoxContainer3/GenreMenu"), NodePath("HBoxContainer/VBoxContainer3/DialogMenu")] +nodes_folded=[NodePath("HBoxContainer/VBoxContainer3/GenreMenu"), NodePath("HBoxContainer/VBoxContainer3/CharacterMenu")] diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/editor_layout.cfg b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/editor_layout.cfg index d70ec9a..111dead 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/editor_layout.cfg +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/editor_layout.cfg @@ -16,7 +16,7 @@ dock_5="Inspector,Node,History" [EditorNode] -open_scenes=["res://top_toolbar/TopToolbar.tscn", "res://genre_dialog_container.tscn", "res://new_genre.tscn", "res://term_container.tscn"] +open_scenes=["res://top_toolbar/TopToolbar.tscn", "res://genre_dialog_container.tscn", "res://term_container.tscn", "res://new_genre.tscn"] [ScriptEditor] diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_cache8 b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_cache8 index 6890cec..509b7b8 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_cache8 +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_cache8 @@ -1,19 +1,19 @@ 2a60927148abd1d33b818b535e306557 -::res://::1705255721 -Cabin-VariableFont_wdth,wght.ttf::FontFile::6071708341937432371::1691361083::1691361083::1::::<><>:: -default_env.tres::Environment::-1::1691361083::0::1::::<><>:: -GenreSettings.gd::GDScript::-1::1699512452::0::1::::<>Node<>:: -genre_dialog_container.gd::GDScript::-1::1693701895::0::1::::<>ScrollContainer<>:: -genre_dialog_container.tscn::PackedScene::153944638127573795::1699812762::0::1::::<><>::uid://cl7q0snsncynm<>res://genre_dialog_container.gd -icon.png::CompressedTexture2D::6683631437730026850::1691361083::1691361083::1::::<><>:: -MenuManager.gd::GDScript::-1::1691944901::0::1::::<>Node<>:: -new_genre.tscn::PackedScene::4691503272014395181::1699812762::0::1::::<><>:: -README.md::TextFile::-1::1691361083::0::1::::<><>:: -term_container.tscn::PackedScene::5611995818604433798::1699817594::0::1::::<><>:: -::res://index_screen/::1691361083 -index.tscn::PackedScene::1801527253264693182::1691361083::0::1::::<><>:: -::res://top_toolbar/::1701632118 -CharacterMenu.gd::GDScript::-1::1701632118::0::1::::<>Label<>:: -DialogMenu.gd::GDScript::-1::1699817594::0::1::::<>Label<>:: -GenreDialogManager.gd::GDScript::-1::1693443126::0::1::::<>OptionButton<>:: -TopToolbar.tscn::PackedScene::5079673781919012116::1701632118::0::1::::<><>::res://MenuManager.gd<>res://GenreSettings.gd<>res://top_toolbar/DialogMenu.gd<>res://top_toolbar/GenreDialogManager.gd<>uid://cgtpfhy1ler0<>res://top_toolbar/CharacterMenu.gd +::res://::1712510277 +Cabin-VariableFont_wdth,wght.ttf::FontFile::6071708341937432371::1691364683::1691364683::1::::<><>:: +default_env.tres::Environment::-1::1691364683::0::1::::<><>:: +GenreSettings.gd::GDScript::-1::1699516052::0::1::::<>Node<>:: +genre_dialog_container.gd::GDScript::-1::1693705495::0::1::::<>ScrollContainer<>:: +genre_dialog_container.tscn::PackedScene::153944638127573795::1706469530::0::1::::<><>::uid://cl7q0snsncynm<>res://genre_dialog_container.gd +icon.png::CompressedTexture2D::6683631437730026850::1691364683::1691364683::1::::<><>:: +MenuManager.gd::GDScript::-1::1707680580::0::1::::<>Node<>:: +new_genre.tscn::PackedScene::4691503272014395181::1707680580::0::1::::<><>:: +README.md::TextFile::-1::1691364683::0::1::::<><>:: +term_container.tscn::PackedScene::5611995818604433798::1706469530::0::1::::<><>:: +::res://index_screen/::1691364683 +index.tscn::PackedScene::1801527253264693182::1691364683::0::1::::<><>:: +::res://top_toolbar/::1706475281 +CharacterMenu.gd::GDScript::-1::1705288580::0::1::::<>Label<>:: +DialogMenu.gd::GDScript::-1::1699821194::0::1::::<>Label<>:: +GenreDialogManager.gd::GDScript::-1::1693446726::0::1::::<>OptionButton<>:: +TopToolbar.tscn::PackedScene::5079673781919012116::1706475281::0::1::::<><>::res://MenuManager.gd<>res://GenreSettings.gd<>res://top_toolbar/DialogMenu.gd<>res://top_toolbar/GenreDialogManager.gd<>uid://cgtpfhy1ler0<>res://top_toolbar/CharacterMenu.gd diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_update4 b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_update4 index e9b3727..713f5b2 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_update4 +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/filesystem_update4 @@ -1,2 +1,4 @@ +res://genre_dialog_container.tscn +res://MenuManager.gd res://top_toolbar/TopToolbar.tscn -res://top_toolbar/CharacterMenu.gd +res://term_container.tscn diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/project_metadata.cfg b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/project_metadata.cfg index 265619b..4f84a92 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/project_metadata.cfg +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/project_metadata.cfg @@ -10,7 +10,7 @@ run_reload_scripts=true [recent_files] -scenes=["res://term_container.tscn", "res://new_genre.tscn", "res://genre_dialog_container.tscn", "res://top_toolbar/TopToolbar.tscn", "res://index_screen/index.tscn", "res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn", "res://toolset_test_tabbed_merged/draggable_assets.tscn", "res://toolset_test/drag_and_drop_demo_final.tscn"] +scenes=["res://new_genre.tscn", "res://term_container.tscn", "res://genre_dialog_container.tscn", "res://top_toolbar/TopToolbar.tscn", "res://index_screen/index.tscn", "res://toolset_test_tabbed_merged/tabbed_merged_test_interface.tscn", "res://toolset_test_tabbed_merged/draggable_assets.tscn", "res://toolset_test/drag_and_drop_demo_final.tscn"] scripts=["res://top_toolbar/CharacterMenu.gd", "res://genre_dialog_container.gd", "res://top_toolbar/GenreDialogManager.gd", "res://top_toolbar/DialogMenu.gd", "res://GenreSettings.gd", "res://RadioButtonManager.gd", "res://MenuManager.gd", "res://toolset_test_tabbed_merged/target_container_final.gd", "res://toolset_test_tabbed_merged/toolset_test_tabbed_merged.gd", "res://toolset_test/draggable_final.gd"] [dialog_bounds] diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/script_editor_cache.cfg b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/script_editor_cache.cfg index 4676d2f..557c550 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/script_editor_cache.cfg +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/.godot/editor/script_editor_cache.cfg @@ -3,11 +3,11 @@ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 22, +"column": 117, "folded_lines": Array[int]([]), -"h_scroll_position": 0, -"row": 29, -"scroll_position": 0.0, +"h_scroll_position": 343, +"row": 84, +"scroll_position": 51.0, "selection": false, "syntax_highlighter": "GDScript" } @@ -17,12 +17,16 @@ state={ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 32, +"column": 0, "folded_lines": Array[int]([]), "h_scroll_position": 0, -"row": 35, -"scroll_position": 2.0, -"selection": false, +"row": 2, +"scroll_position": 0.0, +"selection": true, +"selection_from_column": 0, +"selection_from_line": 2, +"selection_to_column": 43, +"selection_to_line": 2, "syntax_highlighter": "GDScript" } @@ -31,16 +35,12 @@ state={ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 76, +"column": 333, "folded_lines": Array[int]([]), -"h_scroll_position": 0, -"row": 16, -"scroll_position": 3.0, -"selection": true, -"selection_from_column": 1, -"selection_from_line": 15, -"selection_to_column": 76, -"selection_to_line": 16, +"h_scroll_position": 2044, +"row": 24, +"scroll_position": 0.0, +"selection": false, "syntax_highlighter": "GDScript" } @@ -63,12 +63,16 @@ state={ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 64, +"column": 87, "folded_lines": Array[int]([]), "h_scroll_position": 0, "row": 16, "scroll_position": 0.0, -"selection": false, +"selection": true, +"selection_from_column": 1, +"selection_from_line": 15, +"selection_to_column": 87, +"selection_to_line": 16, "syntax_highlighter": "GDScript" } @@ -77,11 +81,11 @@ state={ state={ "bookmarks": PackedInt32Array(), "breakpoints": PackedInt32Array(), -"column": 76, +"column": 61, "folded_lines": Array[int]([]), "h_scroll_position": 0, -"row": 100, -"scroll_position": 69.0, +"row": 15, +"scroll_position": 0.0, "selection": false, "syntax_highlighter": "GDScript" } diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/MenuManager.gd b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/MenuManager.gd index 3ead4fe..0993e6a 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/MenuManager.gd +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/MenuManager.gd @@ -15,15 +15,74 @@ func _process(delta): func _on_option_button_wizards_item_selected(index): + var newGenre = load("res://new_genre.tscn") + var toLoad + var data + var parser = XMLParser.new() match index: 0: $GenreMenu.show() $DialogMenu.hide() $CharacterMenu.hide() + parser.open("user://GenreSettings.xml") + var loaded_name = "" + var name_loaded = false + var loaded_def = false + var def_loaded = false + var loadedBase + var base_loaded = false + while parser.read() != ERR_FILE_EOF: + if parser.get_node_type() == XMLParser.NODE_ELEMENT: + var node_name = parser.get_node_name() + if node_name == "default": + var node_data = parser.get_node_data() + if node_data == "true": + loaded_def = true + else: + loaded_def = false + def_loaded = true + + elif node_name == "name": + loaded_name = parser.get_node_data() + if loaded_name != "Fantasy" and loaded_name != "Science Fiction" and loaded_name != "Modern Day": + name_loaded = true + elif node_name == "basedOn": + base_loaded = true + loadedBase = parser.get_node_data() + if def_loaded and name_loaded and base_loaded: + pass + var genreInstance = newGenre.instantiate() + genreInstance.GetChild(0).GetChild(0).Pressed = loaded_def + genreInstance.GetChild(0).GetChild(1).text = loaded_name + if loadedBase == "Modern Day": + genreInstance.getChild(0).GetChild(3).Selected = 0 + elif loadedBase == "Sci Fi": + genreInstance.getChild(0).GetChild(3).Selected = 1 + elif loadedBase == "Fantasy": + genreInstance.getChild(0).GetChild(3).Selected = 2 + $GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer.add_child(genreInstance) + $GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer.move_child($GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer/NewGenre, $GenreMenu/HBoxContainer/Default/ScrollContainer/GenreContainer.get_child_count() - 1) + def_loaded = false + name_loaded = false 1: $GenreMenu.hide() $DialogMenu.show() $CharacterMenu.hide() + var newTerm = load("res://term_container.tscn") + parser.open("user://DialougeSettings.xml") + var unselected = true + while parser.read() != ERR_FILE_EOF: + if parser.get_node_type() == XMLParser.NODE_ELEMENT: + if $DialogMenu/VBoxContainer.get_child($VBoxContainer.get_child_count() - 1).get_child(0).get_child(0).get_child(1).text == "": + var termInstance = newTerm.instantiate() + unselected = true + termInstance.get_child(0).get_child(0).get_child(1).text = parser.get_node_data() + $DialogMenu/VBoxContainer.add_child(termInstance) + $DialogMenu/VBoxContainer.move_child($VBoxContainer/Button, $VBoxContainer.get_child_count() - 1) + elif $DialogMenu/VBoxContainer.get_child($VBoxContainer.get_child_count() - 1).get_child(0).get_child(1).get_child(1).text == "": + $DialogMenu/VBoxContainer.get_child($VBoxContainer.get_child_count() - 1).get_child(0).get_child(1).get_child(1).text = parser.get_node_data() + elif unselected: + $DialogMenu/VBoxContainer.get_child($VBoxContainer.get_child_count() - 1).get_child(1).get_child(1).Selected = parser.get_node_data() 2: $GenreMenu.hide() $DialogMenu.hide() diff --git a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/top_toolbar/TopToolbar.tscn b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/top_toolbar/TopToolbar.tscn index 224b122..07811ca 100644 --- a/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/top_toolbar/TopToolbar.tscn +++ b/Phase2/Godot_Toolset/CodeSandboxes/Experiment_Main_Menu_2023_0611/top_toolbar/TopToolbar.tscn @@ -80,7 +80,6 @@ layout_mode = 2 script = ExtResource("1_l6hds") [node name="GenreMenu" type="Label" parent="HBoxContainer/VBoxContainer3"] -visible = false layout_mode = 2 text = "Genre Menu" script = ExtResource("2_kvqsl") @@ -209,6 +208,7 @@ offset_bottom = 60.0 text = "Save" [node name="CharacterMenu" type="Label" parent="HBoxContainer/VBoxContainer3"] +visible = false layout_mode = 2 text = "Character Menu" script = ExtResource("6_bxipl")