NetHackのステータス行を、適宜色分けなどして強調表示してくれる処理を追加するパッチ。~
[[SporkHack]]、[[UnNetHack]]等に取り込まれている。

** 指定できる色
&color(gray){black}; &color(navy){blue}; &color(olive){brown}; &color(teal){cyan}; &color(silver){gray}; &color(green){green}; &color(blue){lightblue}; &color(aqua){lightcyan}; &color(lime){lightgreen};~
&color(fuchsia){lightmagenta}; &color(purple){magenta}; none &color(red){orange}; &color(maroon){red}; white &color(yellow){yellow};

** 指定できる文字属性
端末によっては無視される場合もある。

blink ''bold'' dim &color(black,white){inverse}; none %%%underline%%%


** 設定例:
 OPTIONS=statuscolors
 
 STATUSCOLOR=hp%100=green,hp%66=yellow,hp%50=orange
 STATUSCOLOR=hp%33=red&bold,hp%15:red&inverse,hp%0:red&inverse&blink
 # Pw
 STATUSCOLOR=pw%100=green,pw%66=yellow,pw%50:orange,pw%33=red&bold
 # Carry
 STATUSCOLOR=burdened:yellow,stressed:orange,strained:red&bold
 STATUSCOLOR=overtaxed:red&inverse,overloaded:red&inverse&blink
 # Hunger
 STATUSCOLOR=satiated:yellow,hungry:orange,weak:red&bold
 STATUSCOLOR=fainting:red&inverse,fainted:red&inverse&blink
 # Mental
 STATUSCOLOR=hallu:yellow,conf:orange,stun:red&bold
 # Health
 STATUSCOLOR=ill:red&inverse,foodpois:red&inverse,slime:red&inverse
 # Other
 STATUSCOLOR=held:red&inverse,blind:red&inverse

* 配布サイト
- 作者サイト~
http://ben-kiki.org/oren/statuscolors/index.html
- [[Bilious PatchDB]]~
http://bilious.alt.org/?142

* 関連リンク
- NetHackWikiの記事~
[[NetHackWiki:Statuscolors]]


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS