Files
nethackrc/menucolor.rc

106 lines
4.0 KiB
Plaintext

OPTIONS=menucolors,menu_objsyms
{% set unknown_buc = "gray" %}
{% set cursed = "red" %}
{% set uncursed = "white" %}
{% set blessed = "green" %}
{% set danger_item = "red" %}
{% set valuable_item = "yellow" %}
{% set bag_kaboom = "magenta" %}
{% set equipped = "(being worn|\(wielded|weapon in|tethered to|lit\)|\(on (left|right)|at the ready|in quiver)" %}
{% set weight_end = "(\s+(\{[0-9]+\}|\([0-9]+ aum\)))?$" %}
### Item Status (BUC/worn)
MENUCOLOR=""={{ unknown_buc }}
MENUCOLOR="gold pieces?"={{ valuable_item }}
MENUCOLOR="[Bb]lessed"={{ blessed }}
MENUCOLOR="[Hh]oly"={{ blessed }}
MENUCOLOR="[Cc]ursed"={{ cursed }}
MENUCOLOR="[Uu]nholy"={{ cursed }}
MENUCOLOR="[Uu]ncursed"={{ uncursed }}
MENUCOLOR=".*{{ equipped }}"={{ unknown_buc }}&inverse
MENUCOLOR="[Cc]ursed.*{{ equipped }}"={{ cursed }}&inverse
MENUCOLOR="[Uu]ncursed.*{{ equipped }}"={{ uncursed }}&inverse
MENUCOLOR="[Bb]lessed.*{{ equipped }}"={{ blessed }}&inverse
### Items
## Gray Stones
MENUCOLOR="luckstone|called luck"=bright blue
MENUCOLOR="touchstone|called touch"=bright blue
MENUCOLOR=" [Cc]ursed luckstone| [Cc]ursed.*called luck"=red
MENUCOLOR="loadstone|called load"={{ danger_item }}
MENUCOLOR="gray stone"={{ danger_item }}
MENUCOLOR="chameleon corpse"={{ danger_item }}
MENUCOLOR="doppelganger corpse"={{ danger_item }}
MENUCOLOR="were.* corpse"={{ danger_item }}
## Gemstones
MENUCOLOR="dilithium crystal"={{ valuable_item }}
MENUCOLOR="diamonds?{{ weight_end }}"={{ valuable_item }}
MENUCOLOR="rub(y|ies){{ weight_end }}"={{ valuable_item }}
MENUCOLOR="jacinth stone"={{ valuable_item }}
MENUCOLOR="sapphires?{{ weight_end }}"={{ valuable_item }}
MENUCOLOR="black opal"={{ valuable_item }}
MENUCOLOR="emeralds?{{ weight_end }}"={{ valuable_item }}
MENUCOLOR="turquoise stone"={{ valuable_item }}
MENUCOLOR="citrine"={{ valuable_item }}
MENUCOLOR="aquamarine"={{ valuable_item }}
MENUCOLOR="amber stone"={{ valuable_item }}
MENUCOLOR="topaz stone"={{ valuable_item }}
MENUCOLOR="jet stone"={{ valuable_item }}
MENUCOLOR="opals?{{ weight_end }}"={{ valuable_item }}
MENUCOLOR="chrysoberyl"={{ valuable_item }}
MENUCOLOR="garnet stone"={{ valuable_item }}
MENUCOLOR="amethyst"={{ valuable_item }}
MENUCOLOR="jasper stone"={{ valuable_item }}
MENUCOLOR="fluorite"={{ valuable_item }}
MENUCOLOR="jade stone"={{ valuable_item }}
MENUCOLOR="obsidian stone"={{ valuable_item }}
MENUCOLOR="agate stone"={{ valuable_item }}
MENUCOLOR="Amulet of Yendor named"={{ valuable_item }}
MENUCOLOR="Amulet of Yendor named.*{{ equipped }}"={{ valuable_item }}&inverse
MENUCOLOR="wand (of|called) cancellation"={{ bag_kaboom }}
MENUCOLOR="bag (of|called) tricks"={{ bag_kaboom }}
MENUCOLOR="bag (of|called) holding"={{ bag_kaboom }}
### Overview
MENUCOLOR="^\s*Level.*rust trap"=bright blue
MENUCOLOR="^\s*Level.*You are here"=green
{% set branch_header = "white&inverse" %}
{% set branch_transition = "yellow" %}
## Branches
MENUCOLOR="The Tutorial:"={{ branch_header }}
MENUCOLOR="The Dungeons of Doom:"={{ branch_header }}
MENUCOLOR="The Gnomish Mines:"={{ branch_header }}
MENUCOLOR="Stairs down to The Gnomish Mines"={{ branch_transition }}
MENUCOLOR="Sokoban:"={{ branch_header }}
MENUCOLOR="Stairs up to Sokoban"={{ branch_transition }}
MENUCOLOR="The Quest:"={{ branch_header }}
MENUCOLOR="Portal to The Quest"={{ branch_transition }}
MENUCOLOR="Fort Ludios:"={{ branch_header }}
MENUCOLOR="Portal to Fort Ludios"={{ branch_transition }}
MENUCOLOR="Gehennom:"={{ branch_header }}
MENUCOLOR="Vlad.s Tower:"={{ branch_header }}
MENUCOLOR="Stairs up to Vlad.s Tower"={{ branch_transition }}
MENUCOLOR="The Elemental Planes:"={{ branch_header }}
## |TNNT|
MENUCOLOR="robotfindskitten:"={{ branch_header }}
MENUCOLOR="Portal to robotfindskitten"={{ branch_transition }}
MENUCOLOR="DevTeam Office:"={{ branch_header }}
MENUCOLOR="Stairs up to DevTeam Office"={{ branch_transition }}
MENUCOLOR="Deathmatch Arena:"={{ branch_header }}
MENUCOLOR="Portal to Deathmatch Arena"={{ branch_transition }}
## Spells
MENUCOLOR=" 0%.*%"=green
MENUCOLOR="100%.*%"=red
MENUCOLOR="%.*\(gone\)"=orange
MENUCOLOR="implicit_uncursed"={{ unknown_buc }}