more focus strings for squad equipment page

develop
Myk Taylor 2024-01-04 18:59:10 -08:00
parent d773a2aa18
commit d986c3dcdb
No known key found for this signature in database
1 changed files with 8 additions and 1 deletions

@ -684,8 +684,15 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
if (game->main_interface.squad_equipment.open) {
newFocusString = baseFocus;
newFocusString += "/SquadEquipment";
if (game->main_interface.squad_equipment.customizing_equipment)
if (game->main_interface.squad_equipment.customizing_equipment) {
newFocusString += "/Customizing";
if (game->main_interface.squad_equipment.cs_setting_material)
newFocusString += "/Material";
else if (game->main_interface.squad_equipment.cs_setting_color_pattern)
newFocusString += "/Color";
else
newFocusString += "/Default";
}
else
newFocusString += "/Default";
focusStrings.push_back(newFocusString);