From 2804e750a0cf0e66051874507ae008aef053aac6 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 1 Oct 2017 17:44:41 +0300 Subject: [PATCH] Default status hilites for Windows --- sys/winnt/defaults.nh | 45 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/sys/winnt/defaults.nh b/sys/winnt/defaults.nh index 7dfef2713..ee1b479f9 100644 --- a/sys/winnt/defaults.nh +++ b/sys/winnt/defaults.nh @@ -66,9 +66,6 @@ MENUCOLOR=" cursed .* (being worn)" = orange&underline -# Turn off all status hilites. -#OPTIONS=!statushilites -# # General options. You might also set "silent" so as not to attract # the boss's attention. # @@ -185,3 +182,45 @@ OPTIONS=vary_msgcount:1 #OPTIONS=palette:bright cyan-0-255-255 #OPTIONS=palette:white-255-255-255 + + +# Status hilites +OPTIONS=statushilites +# HP +OPTIONS=hitpointbar +OPTIONS=hilite_status:hitpoints/100%/gray&normal +OPTIONS=hilite_status:hitpoints/<100%/green&normal +OPTIONS=hilite_status:hitpoints/<66%/yellow&normal +OPTIONS=hilite_status:hitpoints/<50%/orange&normal +OPTIONS=hilite_status:hitpoints/<33%/red&bold +OPTIONS=hilite_status:hitpoints/<15%/red&inverse + +## Pw +OPTIONS=hilite_status:power/100%/gray&normal +OPTIONS=hilite_status:power/<100%/green&normal +OPTIONS=hilite_status:power/<66%/yellow&normal +OPTIONS=hilite_status:power/<50%/orange&normal +OPTIONS=hilite_status:power/<33%/red&bold + +## Carry +OPTIONS=hilite_status:cap/burdened/yellow/stressed/orange/strained/red&bold/overtaxed/red&inverse/overloaded/red&inverse&blink + +## Hunger +OPTIONS=hilite_status:hunger/satiated/yellow/hungry/orange/weak/red&bold/fainting/red&inverse/fainted/red&inverse&blink + +## Mental +OPTIONS=hilite_status:condition/hallu/yellow +OPTIONS=hilite_status:condition/conf/orange +OPTIONS=hilite_status:condition/stun/red&bold + +## Health +OPTIONS=hilite_status:condition/termill/red&inverse +OPTIONS=hilite_status:condition/foodpois/red&inverse +OPTIONS=hilite_status:condition/slime/red&inverse + +# gold +OPTIONS=hilite_status:gold/up/yellow/down/brown + +# St, Dx, Co, In, Wi, Ch +OPTIONS=hilite_status:characteristics/up/green/down/red +