From ef18f0900d94df30d5233e301cbbe9783133ad66 Mon Sep 17 00:00:00 2001 From: Kara Alexandra Date: Mon, 20 Oct 2025 13:51:32 -0500 Subject: [PATCH] Fix looting bag of holding and hide message for Book of the Dead surviving fire damage --- menucolor.rc | 11 ++++++++--- msgtypes.rc | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/menucolor.rc b/menucolor.rc index 6e6c8e1..bc39686 100644 --- a/menucolor.rc +++ b/menucolor.rc @@ -1,7 +1,8 @@ {#- parameters for menucolors.rc #} {#- colors for various types of items #} -{%- set unknown_buc = "gray" %} +{%- set basecolor = "gray" %} +{%- set unknown_buc = basecolor %} {%- set cursed = "red" %} {%- set uncursed = "white" %} {%- set blessed = "green" %} @@ -23,7 +24,7 @@ OPTIONS=menucolors,menu_objsyms ### Item Status (BUC/worn) -MENUCOLOR=""={{ unknown_buc }} +MENUCOLOR=""={{ basecolor }} MENUCOLOR="gold pieces?"={{ valuable_item }} MENUCOLOR="[Bb]lessed"={{ blessed }} @@ -118,4 +119,8 @@ MENUCOLOR="100%.*%"=red MENUCOLOR="%.*\(gone\)"=orange ## Option menu entry contains "uncursed" so will display in wrong color unless we set it back -MENUCOLOR="implicit_uncursed"={{ unknown_buc }} +MENUCOLOR="implicit_uncursed"={{ basecolor }} + +## Using a bag of holding could change color because of "bag of holding" match above, so fix "look inside" and "stash" messages +MENUCOLOR="Look inside "={{ basecolor }} +MENUCOLOR="stash one item into "={{ basecolor }} diff --git a/msgtypes.rc b/msgtypes.rc index 3ea4fc3..dd01269 100644 --- a/msgtypes.rc +++ b/msgtypes.rc @@ -13,6 +13,7 @@ MSGTYPE=hide "(It|The .*|.*'s ghost) is uninjured" MSGTYPE=hide "\(I hope you don't mind\.\)" MSGTYPE=hide "Most likely all your gold was stolen from this" MSGTYPE=hide "is not affected by oxidation" +MSGTYPE=hide "(Book of the Dead|papyrus spellbook) glows a strange dark red, but remians intact" MSGTYPE=norep "A mysterious force prevents the .* from teleporting"