|
|
@ -215,6 +215,8 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
|
|
|
|
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)
|
|
|
|
newFocusString += "/Conditions";
|
|
|
|
newFocusString += "/Conditions";
|
|
|
|
|
|
|
|
else if (game->main_interface.create_work_order.open)
|
|
|
|
|
|
|
|
newFocusString += "/Create";
|
|
|
|
else
|
|
|
|
else
|
|
|
|
newFocusString += "/Default";
|
|
|
|
newFocusString += "/Default";
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -481,11 +483,6 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
|
|
|
|
newFocusString += "/AssignUniform";
|
|
|
|
newFocusString += "/AssignUniform";
|
|
|
|
focusStrings.push_back(newFocusString);
|
|
|
|
focusStrings.push_back(newFocusString);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (game->main_interface.create_work_order.open) {
|
|
|
|
|
|
|
|
newFocusString = baseFocus;
|
|
|
|
|
|
|
|
newFocusString += "/CreateWorkOrder";
|
|
|
|
|
|
|
|
focusStrings.push_back(newFocusString);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (game->main_interface.hotkey.open) {
|
|
|
|
if (game->main_interface.hotkey.open) {
|
|
|
|
newFocusString = baseFocus;
|
|
|
|
newFocusString = baseFocus;
|
|
|
|
newFocusString += "/Hotkey";
|
|
|
|
newFocusString += "/Hotkey";
|
|
|
|