From 1f1dd6fd6d4da24b3832a5079f07e11ffea20b15 Mon Sep 17 00:00:00 2001 From: Travisani Date: Wed, 9 Nov 2022 00:38:35 -0300 Subject: [PATCH] Added "rune spell name" to rune on look (#558) --- src/items/item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/item.cpp b/src/items/item.cpp index 0bd9208385c..d7846937a41 100644 --- a/src/items/item.cpp +++ b/src/items/item.cpp @@ -1733,7 +1733,7 @@ std::string Item::getDescription(const ItemType& it, int32_t lookDistance, if (item) { tmpSubType = item->getSubType(); } - s << ". " << (it.stackable && tmpSubType > 1 ? "They" : "It") << " can only be used by "; + s << " (\"" << it.runeSpellName << "\"). " << (it.stackable && tmpSubType > 1 ? "They" : "It") << " can only be used by "; const VocSpellMap& vocMap = rune->getVocMap(); std::vector showVocMap;