level 10
在nethack在线的服务器找来了menucolors的设置,原版是给在线版用的(TTY),即黑底白字。而图形版则相反。简单改了一下,反正只是改颜色。
有兴趣的可以自己改着玩。
default.nh文件中加入下面的内容:
2011年02月12日 13点02分
1
level 10
颜色可以随便定,简单说明一下:
#name命名时写!C,字变红色,用来标注诅咒物品。
#name命名时写!B,字变蓝色,用来标祝福。
#name时,写!UC则表示物品为uncursed,黑**lessed物品,标为蓝色。
cursed物品,标为红色。
OPTIONS=menucolors
#########
# B/U/C #
#########
#MENUCOLOR="^[a-zA-Z$] - "=black #may want to enable this if regularly playing priest.. (priests don't see the 'uncursed')
MENUCOLOR=" !C"=red
MENUCOLOR=" !B"=blue
MENUCOLOR=" !UC"=black
MENUCOLOR=" uncursed| UC?($| )"=black
MENUCOLOR=" \([-0-9]+:[-0-9]+\)"=black #nethack doesn't display "uncursed" if charges are known
MENUCOLOR=" [+-][0-9]"=black
MENUCOLOR=" blessed| B($| )"=blue
MENUCOLOR=" cursed| C($| )"=red
2011年02月12日 13点02分
2
level 10
有关water的部分
################
# WATER SPORTS #
################
MENUCOLOR=" holy water"=blue&bold
MENUCOLOR=" blessed clear potion"=blue&bold
MENUCOLOR=" blessed potions? called water"=blue&bold
MENUCOLOR=" clear potions? named (holy|blessed|B)($| )"=blue&bold
MENUCOLOR=" potions? of water named (holy|blessed|B)($| )"=blue&bold
MENUCOLOR=" potions? called water named (holy|blessed|B)($| )"=blue&bold
MENUCOLOR=" unholy water"=orange
MENUCOLOR=" cursed clear potion"=orange
MENUCOLOR=" cursed potions? called water"=orange
MENUCOLOR=" potions? called water named (unholy|cursed|C)($| )"=orange
2011年02月12日 13点02分
3
level 10
食物的部分
#################
# FOOD CONDUCTS #
thanks, teabing!
#################
# vegan
MENUCOLOR="(food |cram |K-|C-)ration|gunyoki"=green&bold
MENUCOLOR="lembas wafer|melon|carrot|tin .* spinach"=green&bold
MENUCOLOR=" oranges?( named.*)?$"=green&bold # avoid coloring orange DSM
MENUCOLOR=" pears?( named.*)?$"=green&bold # avoid coloring pearl rings
MENUCOLOR=" apple|banana|kelp|eucalyptus|garlic|wolfsbane"=green&bold
MENUCOLOR=" slime mold| brain"=green&bold ## YOUR FRUIT HERE
MENUCOLOR="(tin of )?(gelatinous cube|acid blob|quivering blob)( corpse)?"=green&bold
MENUCOLOR="(tin of )?(blue|spotted|ochre) jelly( corpse)?"=green&bold
MENUCOLOR="(tin of )?lichen|shrieker|violet fungus|(brown|yellow|green|red) mold( corpse)?"=green&bold
# vegetarian
MENUCOLOR="egg|pancake|fortune cookie|candy bar|royal jelly|cream pie|candle"=green
MENUCOLOR="(tin of )?brown pudding|gray ooze( corpse)?"=green
2011年02月12日 13点02分
4
level 10
带好效果的wand、ring、scroll
###########
# GOODIES #
###########
MENUCOLOR=" bag .* holding"=magenta
MENUCOLOR=" luck(stone)?($| )"=magenta
MENUCOLOR=" wand .* wish(ing)?($| )"=magenta
MENUCOLOR=" wand .* tele(port(ation)?)?($| )"=magenta
MENUCOLOR=" wand .* polymorph"=magenta
MENUCOLOR=" wand .* death"=magenta
MENUCOLOR=" gain level"=magenta
MENUCOLOR=" full healing"=magenta
MENUCOLOR=" magic marker"=magenta
MENUCOLOR=" magic lamp|lamp .* magic"=magenta
MENUCOLOR=" unicorn horn[^[]*$"=magenta #this doesn't color the #enhance unicorn
MENUCOLOR=" tinning kit"=magenta
2011年02月12日 13点02分
5
level 10
MENUCOLOR=" ring .* regen(eration)?($| )"=magenta
MENUCOLOR=" ring .* conflict"=magenta
MENUCOLOR=" ring .* (FA|free action)($| )"=magenta
MENUCOLOR=" ring .* (TC|teleport control)($| )"=magenta
MENUCOLOR=" ring .* lev(itation)?($| )"=magenta
MENUCOLOR=" scroll .* genocide($| )"=magenta
MENUCOLOR=" scroll .* charging($| )"=magenta
MENUCOLOR=" scroll .* identify($| )"=magenta
MENUCOLOR=" amulet .* (life ?saving|LS)($| )"=magenta
MENUCOLOR=" amulet .* ref(lection)?($| )"=magenta
MENUCOLOR=" c(o|hi)ckatrice (corpse|egg)"=magenta
MENUCOLOR=" egg .* cockatrice"=magenta
MENUCOLOR=" stethoscope"=magenta
2011年02月12日 13点02分
6
level 10
乐器和魔法装备
#instruments
MENUCOLOR="tooled horn|fire horn|frost horn|horn .* (tooled|fire|frost)"=magenta
MENUCOLOR=" harp"=magenta
MENUCOLOR=" bugle"=magenta
MENUCOLOR=" flute"=magenta
# unidentified magic armor
MENUCOLOR="piece of cloth|opera cloak|ornamental cope|tattered cape"=magenta
MENUCOLOR="plumed helmet|etched helmet|crested helmet|visored helmet"=magenta
MENUCOLOR="(old|padded|riding|fencing) gloves"=magenta
MENUCOLOR="(mud|buckled|riding|snow|hiking|combat|jungle) boots"=magenta
2011年02月12日 13点02分
7
level 10
神器
#############
# ARTIFACTS #
#############
#unaligned
MENUCOLOR=" (Dragonbane|Fire Brand|Frost Brand|Ogresmasher|Trollsbane|Werebane)"=lightgreen
#lawful normal, quest
MENUCOLOR=" (Demonbane|Excalibur|Grayswandir|Snickersnee|Sunsword)"=lightgreen
MENUCOLOR=" (Orb of Detection|Sceptre of Might|Magic Mirror of Merlin|Mitre of Holiness|Tsurugi of Muramasa)"=lightgreen
#neutral normal, quest
MENUCOLOR=" (Cleaver|Giantslayer|Magicbane|Mjollnir|Vorpal Blade)"=lightgreen
MENUCOLOR=" (Heart of Ahriman|Staff of Aesculapius|Eyes of the Overworld|Platinum Yendorian Express Card|Orb of Fate|Eye of the Aethiopica)"=lightgreen
#chaotic normal, quest
MENUCOLOR=" (Grimtooth|Orcrist|Sting|Stormbringer)"=lightgreen
MENUCOLOR=" (Longbow of Diana|Master Key of Thievery)"=lightgreen
#invocation items
MENUCOLOR=" (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)"=magenta&bold
#raison d'etre
MENUCOLOR=" Amulet of Yendor named"=magenta&bold&underline
2011年02月12日 13点02分
8
level 10
诅咒的道具
##################
# CURSED GOODIES #
##################
MENUCOLOR=" cursed.* bag .* holding"=red&bold
MENUCOLOR=" cursed.* luck(stone)?($| )"=red&bold
MENUCOLOR=" cursed.* unicorn horn"=red&bold
MENUCOLOR=" cursed.* (Bell of Opening|silver bell|Candelabrum of Invocation|candelabrum|Book of the Dead|papyrus spellbook)"=red&bold
#############
# BAD STUFF #
#############
MENUCOLOR=" load(stone)?($| )"=red&underline
危险物品
##############################
# WATCH OUT, BAG OF HOLDING! #
##############################
MENUCOLOR=" bag .* tricks"=blue&underline
MENUCOLOR=" wand .*[^!]canc"=blue&underline
MENUCOLOR=" wand .* vanish"=blue&underline
值钱的物品
################
# SHINY THINGS #
################
MENUCOLOR=" gold piece"=yellow
MENUCOLOR=" valuable"=brown
MENUCOLOR=" gems? .* hard"=yellow
#soft gems
MENUCOLOR=" ([0-9]+|an?|gems? .*) (uncursed |cursed |blessed )?(dilithium|opal|garnet|jasper|agate|jet|obsidian|jade|citrine|chrysoberyl|amber|amethyst|fluorite|turquoise)(e?s)?( stones?| gems?| crystals?)?( named .*)?$"=brown
#hard gems
MENUCOLOR=" ([0-9]+|an?|gems?.*) (uncursed |cursed |blessed )?(diamond|rub(y|ies)|jacinth|sapphire|black opal|emerald|topaz|aquamarine)(e?s)?( stones?| gems?)?( named .*)?$"=yellow
施法成功率
#######################
# SPELL FAILURE RATES #
#######################
MENUCOLOR=" 0%"=white
MENUCOLOR=" [1-9]%"=cyan
MENUCOLOR=" [12][0-9]%"=cyan
MENUCOLOR=" [3-6][0-9]%"=yellow
MENUCOLOR=" 7[0-5]%"=yellow
MENUCOLOR=" 7[6-9]%"=orange
MENUCOLOR=" 8[0-9]%"=orange
MENUCOLOR=" 9[0-9]%"=red
MENUCOLOR=" 100%"=red
###################
# FORGOTTEN SPELL #
thanks, Stevie
###################
MENUCOLOR="[a-zA-Z] - [a-zA-Z ]+ [0-9]\* [a-z]+ +[0-9]+%"=magenta
############
# #ENHANCE # thanks itsblah
############
MENUCOLOR="^ +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=none # normal
MENUCOLOR="^ *[a-z] - +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white # ready to enhance
MENUCOLOR="^ +\* +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=white # enhanceable if more skill slots
MENUCOLOR="^ +# +[a-z -]+ +\[(Unskilled|Basic|Skilled|Expert|Master|Grand Master)\]$"=none # enhanceable if more potential
强制为各中药水上色
################
# FORCE COLORS #
################
# Some of these are subject to change !
MENUCOLOR="\{R\}"=red
MENUCOLOR="\{B\}"=blue
MENUCOLOR="\{C\}"=cyan
MENUCOLOR="\{G\}"=green
MENUCOLOR="\{Y\}"=yellow
MENUCOLOR="\{[MP]\}"=magenta
MENUCOLOR="\{O\}"=orange
MENUCOLOR="\{W\}"=white
MENUCOLOR="\{L\}"=black
MENUCOLOR="\{y\}"=gray
MENUCOLOR="\{g\}"=lightgreen
MENUCOLOR="\{b\}"=lightblue
MENUCOLOR="\{[mp]\}"=lightmagenta
MENUCOLOR="\{c\}"=lightcyan
MENUCOLOR="\{N\}"=none
MENUCOLOR="\{X\}"=bold
MENUCOLOR="\{x\}"=dim
MENUCOLOR="\{U\}"=underline
MENUCOLOR="\{I\}"=inverse
MENUCOLOR="\{K\}"=blink
搜箱的提示
########################
# LOOT/APPLY CONTAINER #
########################
MENUCOLOR=" is empty. Do what?"=none
MENUCOLOR="Put something into .*"=none
MENUCOLOR="Take something out of .*"=none
--------------------------------------------------
来源:
h t tp://alt.org/nethack/userdata/E/Eidolos/Eidolos.nh343rc
2011年02月12日 13点02分
9
level 10
menucolor现成的编译版
h t tp://bilious.homelinux.org/~paxed/nethack/nh343-menucolors.zip
2011年02月12日 13点02分
10