diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 08:08:33 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-01 08:08:33 +0000 |
commit | 7e91fc9390fa6cc0fc59e8a59deb2d6744a17069 (patch) | |
tree | 041a00babd51d2c6e16c192422452480fadd906d /crawl-ref/settings/menu_colours.txt | |
parent | 5a15505e527c0d7a5c370b26add9b3cb644adf50 (diff) | |
download | crawl-ref-7e91fc9390fa6cc0fc59e8a59deb2d6744a17069.tar.gz crawl-ref-7e91fc9390fa6cc0fc59e8a59deb2d6744a17069.zip |
Can now conditionalize settings based on menu_colour_prefix_class and
menu_colour_prefix_id being set. Used this to make it so that if both
are set that identified ego items are colored light blue, not just
runed/glowing/etc non-identified items.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5398 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/settings/menu_colours.txt')
-rw-r--r-- | crawl-ref/settings/menu_colours.txt | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/crawl-ref/settings/menu_colours.txt b/crawl-ref/settings/menu_colours.txt index cc6ef2b685..c3a5c092c0 100644 --- a/crawl-ref/settings/menu_colours.txt +++ b/crawl-ref/settings/menu_colours.txt @@ -16,10 +16,22 @@ menu = white:.*artefact.* #menu = white:.*identified.*artefact.* #menu = magenta:.*unidentified.*artefact.* -# Possible ego items +# Ego items # +: if options.menu_colour_prefix_class and options.menu_colour_prefix_id then +menu = lightblue:(^identified armour .* pair of .* of ) +menu = lightgrey:(^identified armour .* pair of ) +menu = lightblue:(^identified (weapon|armour) .* of ) + +# Possible egos +menu = lightblue:^unidentified .*weapon.*(runed|glowing) +menu = lightblue:^unidentified .*armour.*(runed|glowing|embroidered|shiny|dyed) + +: elseif options.menu_colour_prefix_class then +#Possible egos menu = lightblue:.*weapon.*(runed|glowing) menu = lightblue:.*armour.*(runed|glowing|embroidered|shiny|dyed) +:end # Mummies' potions # |