diff options
Diffstat (limited to 'crawl-ref/source/output.cc')
-rw-r--r-- | crawl-ref/source/output.cc | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/crawl-ref/source/output.cc b/crawl-ref/source/output.cc index 60da17500a..db0d566a9d 100644 --- a/crawl-ref/source/output.cc +++ b/crawl-ref/source/output.cc @@ -1261,6 +1261,12 @@ void print_overview_screen() snprintf(buf, sizeof buf, "%-7s: Blade Hands", slot); else if (you.skills[SK_UNARMED_COMBAT]) snprintf(buf, sizeof buf, "%-7s: Unarmed", slot); + else if (!you_tran_can_wear(EQ_WEAPON)) + { + snprintf(buf, sizeof buf, "%-7s: " + "<darkgray>(currently unavailable)</darkgray>", + slot); + } else snprintf(buf, sizeof buf, "%-7s:", slot); } @@ -1274,9 +1280,15 @@ void print_overview_screen() else { snprintf(buf, sizeof buf, - "%-7s: <darkgray>(unavailable)</lightgray>", slot); + "%-7s: <darkgray>(unavailable)</darkgray>", slot); } } + else if (!you_tran_can_wear(e_order[i])) + { + snprintf(buf, sizeof buf, "%-7s: " + "<darkgray>(currently unavailable)</darkgray>", + slot); + } else { snprintf(buf, sizeof buf, "%-7s:", slot); |