Fix looting bag of holding and hide message for Book of the Dead surviving fire damage

This commit is contained in:
2025-10-20 13:51:32 -05:00
parent bb73ab6eb9
commit ef18f0900d
2 changed files with 9 additions and 3 deletions

View File

@@ -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 }}

View File

@@ -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"