Skip to content

Commit

Permalink
use submenus for switch dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
Govorunb committed Nov 5, 2023
1 parent 92585bb commit 3d23847
Show file tree
Hide file tree
Showing 2 changed files with 95 additions and 95 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,18 @@ private static string GetDropdownListBoth(CraftTree_Type_All type)
private readonly DropdownList<string> _craftTreePaths_SN_Fabricator = new DropdownList<string>()
{
{"(root)", ""},
{"Resources", "Resources"},
{"Resources -> Basic materials", "Resources/BasicMaterials"},
{"Resources -> Advanced materials", "Resources/AdvancedMaterials"},
{"Resources -> Electronics", "Resources/Electronics"},
{"Survival", "Survival"},
{"Survival -> Water", "Survival/Water"},
{"Survival -> Cooked food", "Survival/CookedFood"},
{"Survival -> Cured food", "Survival/CuredFood"},
{"Personal", "Personal"},
{"Personal -> Equipment", "Personal/Equipment"},
{"Personal -> Tools", "Personal/Tools"},
{"Personal -> Deployables", "Machines"},
{"Resources/(root)", "Resources"},
{"Resources/Basic materials", "Resources/BasicMaterials"},
{"Resources/Advanced materials", "Resources/AdvancedMaterials"},
{"Resources/Electronics", "Resources/Electronics"},
{"Survival/(root)", "Survival"},
{"Survival/Water", "Survival/Water"},
{"Survival/Cooked food", "Survival/CookedFood"},
{"Survival/Cured food", "Survival/CuredFood"},
{"Personal/(root)", "Personal"},
{"Personal/Equipment", "Personal/Equipment"},
{"Personal/Tools", "Personal/Tools"},
{"Personal/Deployables", "Machines"},
};

private readonly DropdownList<string> _craftTreePaths_SN_MVB = new DropdownList<string>()
Expand All @@ -156,21 +156,21 @@ private static string GetDropdownListBoth(CraftTree_Type_All type)
private readonly DropdownList<string> _craftTreePaths_BZ_Fabricator = new DropdownList<string>()
{
{"(root)", ""},
{"Resources", "Resources"},
{"Resources -> Basic materials", "Resources/BasicMaterials"},
{"Resources -> Advanced materials", "Resources/AdvancedMaterials"},
{"Resources -> Electronics", "Resources/Electronics"},
{"Survival", "Survival"},
{"Survival -> Water", "Survival/Water"},
{"Survival -> Cooked food", "Survival/CookedFood"},
{"Survival -> Cured food", "Survival/CuredFood"},
{"Personal", "Personal"},
{"Personal -> Equipment", "Personal/Equipment"},
{"Personal -> Tools", "Personal/Tools"},
{"Personal -> Deployables", "Machines"},
{"Upgrades", "Upgrades"},
{"Upgrades -> Prawn Suit Upgrades", "Upgrades/ExosuitUpgrades"},
{"Upgrades -> Seatruck Upgrades", "Upgrades/SeatruckUpgrades"},
{"Resources/(root)", "Resources"},
{"Resources/Basic materials", "Resources/BasicMaterials"},
{"Resources/Advanced materials", "Resources/AdvancedMaterials"},
{"Resources/Electronics", "Resources/Electronics"},
{"Survival/(root)", "Survival"},
{"Survival/Water", "Survival/Water"},
{"Survival/Cooked food", "Survival/CookedFood"},
{"Survival/Cured food", "Survival/CuredFood"},
{"Personal/(root)", "Personal"},
{"Personal/Equipment", "Personal/Equipment"},
{"Personal/Tools", "Personal/Tools"},
{"Personal/Deployables", "Machines"},
{"Upgrades/(root)", "Upgrades"},
{"Upgrades/Prawn Suit Upgrades", "Upgrades/ExosuitUpgrades"},
{"Upgrades/Seatruck Upgrades", "Upgrades/SeatruckUpgrades"},
};

private readonly DropdownList<string> _craftTreePaths_BZ_MVB = new DropdownList<string>()
Expand Down
136 changes: 68 additions & 68 deletions Unity/Assets/Scripts/SCHIZO/Items/Data/PDAEncyclopediaInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,92 +50,92 @@ public override string GetDropdownListName(SerializedPropertyHolder property)

private readonly DropdownList<string> _encyPaths_SN = new DropdownList<string>()
{
{"(None)", ""},
{"(root)", ""},

{"Advanced Theories", "Advanced"},

{"Blueprints", "Tech"},
{"Blueprints -> Equipment", "Tech/Equipment"},
{"Blueprints -> Habitat Installations", "Tech/Habitats"},
{"Blueprints -> Vehicles", "Tech/Vehicles"},
{"Blueprints -> Power", "Tech/Power"},

{"Data Downloads", "DownloadedData"},
{"Data Downloads -> Alien Data", "DownloadedData/Precursor"},
{"Data Downloads -> Alien Data -> Artifacts", "DownloadedData/Precursor/Artifacts"},
{"Data Downloads -> Alien Data -> Scan Data", "DownloadedData/Precursor/Scan"},
{"Data Downloads -> Alien Data -> Terminal Data", "DownloadedData/Precursor/Terminal"},
{"Data Downloads -> Aurora Survivors", "DownloadedData/AuroraSurvivors"},
{"Data Downloads -> Codes && Clues", "DownloadedData/Codes"},
{"Data Downloads -> Degasi Survivors", "DownloadedData/Degasi"},
{"Data Downloads -> Degasi Survivors -> Alterra Search && Rescue Mission", "DownloadedData/Degasi/Orders"},
{"Data Downloads -> Operations Logs", "DownloadedData/BeforeCrash"},
{"Data Downloads -> Public Documents", "DownloadedData/PublicDocs"},

{"Indigenous Lifeforms", "Lifeforms"},
{"Indigenous Lifeforms -> Coral", "Lifeforms/Coral"},
{"Indigenous Lifeforms -> Fauna", "Lifeforms/Fauna"},
{"Indigenous Lifeforms -> Fauna -> Carnivores", "Lifeforms/Fauna/Carnivores"},
{"Indigenous Lifeforms -> Fauna -> Deceased", "Lifeforms/Fauna/Deceased"},
{"Indigenous Lifeforms -> Fauna -> Herbivores - Large", "Lifeforms/Fauna/LargeHerbivores"},
{"Indigenous Lifeforms -> Fauna -> Herbivores - Small", "Lifeforms/Fauna/SmallHerbivores"},
{"Indigenous Lifeforms -> Fauna -> Leviathans", "Lifeforms/Fauna/Leviathans"},
{"Indigenous Lifeforms -> Fauna -> Scavengers && Parasites", "Lifeforms/Fauna/Scavengers"},

{"Indigenous Lifeforms -> Flora", "Lifeforms/Flora"},
{"Indigenous Lifeforms -> Flora -> Exploitable", "Lifeforms/Flora/Exploitable"},
{"Indigenous Lifeforms -> Flora -> Land", "Lifeforms/Flora/Land"},
{"Indigenous Lifeforms -> Flora -> Sea", "Lifeforms/Flora/Sea"},
{"Blueprints/(root)", "Tech"},
{"Blueprints/Equipment", "Tech/Equipment"},
{"Blueprints/Habitat Installations", "Tech/Habitats"},
{"Blueprints/Vehicles", "Tech/Vehicles"},
{"Blueprints/Power", "Tech/Power"},

{"Data Downloads/(root)", "DownloadedData"},
{"Data Downloads/Alien Data/(root)", "DownloadedData/Precursor"},
{"Data Downloads/Alien Data/Artifacts", "DownloadedData/Precursor/Artifacts"},
{"Data Downloads/Alien Data/Scan Data", "DownloadedData/Precursor/Scan"},
{"Data Downloads/Alien Data/Terminal Data", "DownloadedData/Precursor/Terminal"},
{"Data Downloads/Aurora Survivors", "DownloadedData/AuroraSurvivors"},
{"Data Downloads/Codes && Clues", "DownloadedData/Codes"},
{"Data Downloads/Degasi Survivors/(root)", "DownloadedData/Degasi"},
{"Data Downloads/Degasi Survivors/Alterra Search && Rescue Mission", "DownloadedData/Degasi/Orders"},
{"Data Downloads/Operations Logs", "DownloadedData/BeforeCrash"},
{"Data Downloads/Public Documents", "DownloadedData/PublicDocs"},

{"Indigenous Lifeforms/(root)", "Lifeforms"},
{"Indigenous Lifeforms/Coral", "Lifeforms/Coral"},
{"Indigenous Lifeforms/Fauna/(root)", "Lifeforms/Fauna"},
{"Indigenous Lifeforms/Fauna/Carnivores", "Lifeforms/Fauna/Carnivores"},
{"Indigenous Lifeforms/Fauna/Deceased", "Lifeforms/Fauna/Deceased"},
{"Indigenous Lifeforms/Fauna/Herbivores - Large", "Lifeforms/Fauna/LargeHerbivores"},
{"Indigenous Lifeforms/Fauna/Herbivores - Small", "Lifeforms/Fauna/SmallHerbivores"},
{"Indigenous Lifeforms/Fauna/Leviathans", "Lifeforms/Fauna/Leviathans"},
{"Indigenous Lifeforms/Fauna/Scavengers && Parasites", "Lifeforms/Fauna/Scavengers"},

{"Indigenous Lifeforms/Flora/(root)", "Lifeforms/Flora"},
{"Indigenous Lifeforms/Flora/Exploitable", "Lifeforms/Flora/Exploitable"},
{"Indigenous Lifeforms/Flora/Land", "Lifeforms/Flora/Land"},
{"Indigenous Lifeforms/Flora/Sea", "Lifeforms/Flora/Sea"},

{"Geological Data", "PlanetaryGeology"},

{"Survival Package", "Welcome"},
{"Survival Package -> Additional Technical", "Welcome/StartGear"},
{"Survival Package/(root)", "Welcome"},
{"Survival Package/Additional Technical", "Welcome/StartGear"},

{"Time Capsules", "TimeCapsules"},
};

private readonly DropdownList<string> _encyPaths_BZ = new DropdownList<string>()
{
{"(None)", ""},

{"Logs && Communications", "DownloadedData"},
{"Logs && Communications -> Alterra", "DownloadedData/Alterra"},
{"Logs && Communications -> Alterra Personnel", "DownloadedData/AlterraPersonnel"},
{"Logs && Communications -> Maps", "DownloadedData/Maps"},
{"Logs && Communications -> Marguerit", "DownloadedData/Marguerit"},
{"Logs && Communications -> Memos && Miscellany", "DownloadedData/Memos"},
{"Logs && Communications -> Mercury II Logs", "DownloadedData/ShipWreck"},
{"Logs && Communications -> News", "DownloadedData/News"},
{"Logs && Communications -> Sam", "DownloadedData/Sam"},
{"(root)", ""},

{"Logs && Communications/(root)", "DownloadedData"},
{"Logs && Communications/Alterra", "DownloadedData/Alterra"},
{"Logs && Communications/Alterra Personnel", "DownloadedData/AlterraPersonnel"},
{"Logs && Communications/Maps", "DownloadedData/Maps"},
{"Logs && Communications/Marguerit", "DownloadedData/Marguerit"},
{"Logs && Communications/Memos && Miscellany", "DownloadedData/Memos"},
{"Logs && Communications/Mercury II Logs", "DownloadedData/ShipWreck"},
{"Logs && Communications/News", "DownloadedData/News"},
{"Logs && Communications/Sam", "DownloadedData/Sam"},

{"Personal Log", "PersonalLog"},

{"Research", "Research"},
{"Research -> Alien Data", "Research/Precursor"},
{"Research -> Geological Data", "Research/PlanetaryGeology"},
{"Research -> Indigenous Lifeforms", "Research"},
{"Research -> Indigenous Lifeforms -> Coral", "Research/Lifeforms/Coral"},
{"Research -> Indigenous Lifeforms -> Fauna", "Research/Lifeforms/Fauna"},
{"Research -> Indigenous Lifeforms -> Fauna -> Carnivores", "Research/Lifeforms/Fauna/Carnivores"},
{"Research -> Indigenous Lifeforms -> Fauna -> Herbivores - Large", "Research/Lifeforms/Fauna/LargeHerbivores"},
{"Research -> Indigenous Lifeforms -> Fauna -> Herbivores - Small", "Research/Lifeforms/Fauna/SmallHerbivores"},
{"Research -> Indigenous Lifeforms -> Fauna -> Leviathans", "Research/Lifeforms/Fauna/Leviathans"},
{"Research -> Indigenous Lifeforms -> Fauna -> Leviathans -> Frozen Creature", "Research/Lifeforms/Fauna/Leviathans/FrozenCreature"},
{"Research -> Indigenous Lifeforms -> Fauna -> Other", "Research/Lifeforms/Fauna/Other"},
{"Research -> Indigenous Lifeforms -> Fauna -> Scavengers && Parasites", "Research/Lifeforms/Fauna/Scavengers"},
{"Research -> Indigenous Lifeforms -> Flora", "Lifeforms/Flora"},
{"Research -> Indigenous Lifeforms -> Flora -> Exploitable", "Lifeforms/Flora/Exploitable"},
{"Research -> Indigenous Lifeforms -> Flora -> Land", "Lifeforms/Flora/Land"},
{"Research -> Indigenous Lifeforms -> Flora -> Sea", "Lifeforms/Flora/Sea"},
{"Research/(root)", "Research"},
{"Research/Alien Data", "Research/Precursor"},
{"Research/Geological Data", "Research/PlanetaryGeology"},
{"Research/Indigenous Lifeforms/(root)", "Research"},
{"Research/Indigenous Lifeforms/Coral", "Research/Lifeforms/Coral"},
{"Research/Indigenous Lifeforms/Fauna/(root)", "Research/Lifeforms/Fauna"},
{"Research/Indigenous Lifeforms/Fauna/Carnivores", "Research/Lifeforms/Fauna/Carnivores"},
{"Research/Indigenous Lifeforms/Fauna/Herbivores - Large", "Research/Lifeforms/Fauna/LargeHerbivores"},
{"Research/Indigenous Lifeforms/Fauna/Herbivores - Small", "Research/Lifeforms/Fauna/SmallHerbivores"},
{"Research/Indigenous Lifeforms/Fauna/Leviathans/(root)", "Research/Lifeforms/Fauna/Leviathans"},
{"Research/Indigenous Lifeforms/Fauna/Leviathans/Frozen Creature", "Research/Lifeforms/Fauna/Leviathans/FrozenCreature"},
{"Research/Indigenous Lifeforms/Fauna/Other", "Research/Lifeforms/Fauna/Other"},
{"Research/Indigenous Lifeforms/Fauna/Scavengers && Parasites", "Research/Lifeforms/Fauna/Scavengers"},
{"Research/Indigenous Lifeforms/Flora/(root)", "Lifeforms/Flora"},
{"Research/Indigenous Lifeforms/Flora/Exploitable", "Lifeforms/Flora/Exploitable"},
{"Research/Indigenous Lifeforms/Flora/Land", "Lifeforms/Flora/Land"},
{"Research/Indigenous Lifeforms/Flora/Sea", "Lifeforms/Flora/Sea"},

{"Survival", "Survival"},

{"Tech", "Tech"},
{"Tech -> Equipment", "Tech/Equipment"},
{"Tech -> Habitat Installations", "Tech/Habitats"},
{"Tech -> Power", "Tech/Power"},
{"Tech -> Vehicles", "Tech/Vehicles"},
{"Tech/(root)", "Tech"},
{"Tech/Equipment", "Tech/Equipment"},
{"Tech/Habitat Installations", "Tech/Habitats"},
{"Tech/Power", "Tech/Power"},
{"Tech/Vehicles", "Tech/Vehicles"},
};
}
}

0 comments on commit 3d23847

Please sign in to comment.