From 9b1c63172a1d7bd4e65e12b1223da8e7a674e5d9 Mon Sep 17 00:00:00 2001 From: Erik Lunna Date: Sun, 24 Sep 2023 16:31:31 +0200 Subject: [PATCH] Added lenses and goggle info to object lookup. --- src/pager.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/pager.c b/src/pager.c index 432576790..63bb47681 100644 --- a/src/pager.c +++ b/src/pager.c @@ -1636,6 +1636,11 @@ char *usr_text; OBJPUTSTR(buf); } } + /* Kludge for some eyewear. Otherwise we need to add a property field to TOOL which seems like overkill. */ + if (otyp == LENSES) + OBJPUTSTR("Confers searching."); + else if (otyp == GOGGLES) + OBJPUTSTR("Confers underwater vision."); } /* MISC PROPERTIES */