Browse Source

Fix flash, town portal, and identify scroll descriptions

pull/5105/head
burningserenity 4 years ago committed by Anders Jenbo
parent
commit
4b2b93154d
  1. 15
      Source/items.cpp

15
Source/items.cpp

@ -1823,7 +1823,12 @@ void PrintItemMisc(const Item &item)
{
if (item._iMiscId == IMISC_SCROLL) {
if (ControlMode == ControlTypes::KeyboardAndMouse) {
AddPanelString(_("Right-click to read"));
if (item._iSpell == SPL_TOWN || item._iSpell == SPL_IDENTIFY) {
AddPanelString(_("Right-click to read, then"));
AddPanelString(_("left-click to target"));
} else {
AddPanelString(_("Right-click to read"));
}
} else {
if (!invflag) {
AddPanelString(_("Open inventory to use"));
@ -1834,8 +1839,12 @@ void PrintItemMisc(const Item &item)
}
if (item._iMiscId == IMISC_SCROLLT) {
if (ControlMode == ControlTypes::KeyboardAndMouse) {
AddPanelString(_("Right-click to read, then"));
AddPanelString(_("left-click to target"));
if (item._iSpell == SPL_FLASH) {
AddPanelString(_("Right-click to read"));
} else {
AddPanelString(_("Right-click to read, then"));
AddPanelString(_("left-click to target"));
}
} else {
if (TargetsMonster(item._iSpell)) {
AddPanelString(_("Select from spell book, then"));

Loading…
Cancel
Save