add more focus strings for justice screens

develop
Myk Taylor 2023-10-08 13:44:45 -07:00
parent 0ad61ccf26
commit 34bbf4cce9
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

@ -259,7 +259,12 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
newFocusString += '/' + enum_item_key(game->main_interface.info.artifacts.mode); newFocusString += '/' + enum_item_key(game->main_interface.info.artifacts.mode);
break; break;
case df::enums::info_interface_mode_type::JUSTICE: case df::enums::info_interface_mode_type::JUSTICE:
newFocusString += '/' + enum_item_key(game->main_interface.info.justice.current_mode); if (game->main_interface.info.justice.interrogating)
newFocusString += "/Interrogating";
else if (game->main_interface.info.justice.convicting)
newFocusString += "/Convicting";
else
newFocusString += '/' + enum_item_key(game->main_interface.info.justice.current_mode);
break; break;
case df::enums::info_interface_mode_type::WORK_ORDERS: case df::enums::info_interface_mode_type::WORK_ORDERS:
if (game->main_interface.info.work_orders.conditions.open) if (game->main_interface.info.work_orders.conditions.open)