############### ### CUSTOM! ### ############### autofight_stop = 75 tile_map_scale = .8 ############### ### Display ### ############### view_delay = 300 hp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red mp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red hp_warning = 50 monster_list_colour = monster_list_colour += friendly:green,neutral:brown,good_neutral:brown monster_list_colour += trivial:darkgrey,easy:lightgrey,tough:yellow monster_list_colour += nasty:lightred ############### ### Console ### ############### equip_bar = true ## For item_glyph, subsequent matches override previous ones. item := item_glyph ## Reasonable defaults item += potion:lightgrey item += scroll:lightgrey item += wand:lightgrey item += dangerous_item:blue item += useless_item:darkgrey ### Potions ### item += potions? of.*curing:lightgrey item += potions? of.*heal wounds:white item += potions? of.*berserk:brown item += potions? of.*might:yellow item += potions? of.*(cancellation|enlightenment):cyan item += potions? of.*mutation:lightcyan item += potions? of.*(lignification|ambrosia|attraction):blue item += potions? of.*experience:lightred item += potions? of.*resistance:green item += potions? of.*(haste|invisibility):lightgreen item += potions? of.*brilliance:magenta item += potions? of.*magic:lightmagenta ### Scrolls ### : if you.race() == "Vampire" or you.race() == "Mummy" : or you.race() == "Ghoul" then item += scroll.*torment:brown : else item += scroll.*torment:darkgrey : end item += scroll.*acquirement:white item += scroll.*summoning:yellow item += scroll.*identify:cyan item += scroll.*revelation:lightcyan item += scroll.*(silence|vulnerability|immolation):blue item += scroll.*(fog|butterflies|teleport):green item += scroll.*(fear|blink):lightgreen item += scroll.*enchant:magenta item += scroll.*brand weapon:lightmagenta ### Wands ### # Single target damage. item += wand of.*flame:brown item += wand of.*mindburst:yellow # AOE damage. item += wand of.*acid:cyan item += wand of.*iceblast:lightcyan item += wand of.*random effects:blue # "Alchemy" item += wand of.*polymorph:green item += wand of.*digging:lightgreen # Hexes item += wand of.*paralysis:magenta item += wand of.*charming:lightmagenta ### General Identification ### item += (identified|known).*(jewellery|magical staff):brown item += unidentified.*(potion|scroll|jewellery|wand|magical staff).*:lightblue item += manual:lightcyan ### Jewellery ### item += identified.*artefact.*(jewellery):white item += unidentified.*artefact.*(jewellery).*:lightmagenta item += (a )?stones?$:lightgray # Want this to override anything above item += useless:darkgrey # Only mark these types when forbidden; for other types it looks odd. item += forbidden.*(potion|scroll):red mons := mon_glyph # Monsters that can be easy to miss mons ^= * : ✱ mons ^= dancing weapon : cyan { mons ^= spectral weapon : lightcyan { # Classed Demonspawn mon += blood saint:9 mon += warmonger:9 mon += corrupter:9 mon += black sun:9 # Wall glyphs; requires a font and terminal that can render these. feature += crystal wall {░} feature += stone wall {▒} feature += metal wall {▓} feature += unnaturally hard rock wall {█} feature += altar {⚑} ############# ### Tiles ### ############# tile_full_screen = false tile_map_pixels = 3 ################### ### Menu Colors ### ################### # These should match the item_glyph colours exactly when possible. # For menu_colour, the first match ignores subsequent matches. menu := menu_colour menu = # Many of the entries below come from dat/defaults/menu_colours.txt, # which we have to duplicate here since we want only some of the # entries from that file. menu += notes:white:Reached XP level ### General Inventory### # Items currently not affecting you. menu += darkgrey:(melded) # Items disliked by your god. menu += red:forbidden # Useless items, comes here to override artefacts etc. menu += darkgrey:.*useless.* # Handle cursed and equipped items early to override other colour settings. menu += lightred:.*equipped.* cursed menu += inventory:lightgreen:.*equipped.* # Colouring of autoinscribed god gifts menu += pickup:lightred:god gift # Highlight (partly) selected items menu += inventory:white:\w \+\s menu += inventory:white:\w \#\s ### Potions ### menu += lightgrey:potions? of.*curing menu += white:potions? of.*heal wounds menu += brown:potions? of.*berserk menu += yellow:potions? of.*might menu += cyan:potions? of.*(cancellation|enlightenment) menu += lightcyan:potions? of.*mutation menu += blue:potions? of.*(lignification|ambrosia|attraction) menu += lightred:potions? of.*experience menu += green:potions? of.*resistance menu += lightgreen:potions? of.*(haste|invisibility) menu += magenta:potions? of.*brilliance menu += lightmagenta:potions? of.*magic ### Scrolls ### : if you.race() == "Vampire" or you.race() == "Mummy" : or you.race() == "Ghoul" then menu += brown:scroll.*torment : else menu += darkgrey:scroll.*torment : end menu += yellow:scroll.*(summoning) menu += white:scroll.*acquirement menu += cyan:scroll.*identify menu += lightcyan:scroll.*revelation menu += blue:scroll.*(noise|silence|vulnerability|immolation) menu += green:scroll.*(fog|butterflies|teleport) menu += lightgreen:scroll.*(fear|blink) menu += magenta:scroll.*enchant menu += lightmagenta:scroll.*brand weapon ### Wands ### # Single target damage. menu += brown:wand of.*flame menu += yellow:wand of.*mindburst # AOE damage. menu += cyan:wand of.*acid menu += lightcyan:wand of.*iceblast menu += blue:wand of.*random effects # "Alchemy" menu += green:wand of.*polymorph menu += lightgreen:wand of.*digging # Hexes menu += magenta:wand of.*paralysis menu += lightmagenta:wand of.*charming ### General identification ### menu += lightcyan:manual menu += lightmagenta:unidentified.*artefact.* menu += white:.*artefact.* menu += lightblue:unidentified .*(potion|scroll|wand|jewellery|spellbook|rod|magical staff) menu += inventory:lightgray:.*(jewellery|magical staff) # Ego items menu += lightblue:unidentified.*weapon.*(runed|glowing|enchanted) menu += lightblue:unidentified.*armour.*(runed|glowing|embroidered|shiny|dyed) ################# ### Interface ### ################# default_manual_training = true equip_unequip = true sort_menus = true:equipped,identified,basename,art,ego,glowing,qualname,charged,slot ability_menu = false autofight_stop = 50 autofight_caught = true autofight_wait = false bindkey = [~] CMD_LUA_CONSOLE ############################ ### Travel & Exploration ### ############################ rest_wait_both = true travel_delay = 1 explore_delay = 1 rest_delay = 1 show_travel_trail = true explore_stop += greedy_items ################## ### Autopickup ### ################## # Add staves, misc; note you can't use += with this option. autopickup = $?!+=/}|♦ ae := autopickup_exceptions ae += > note_items += experience,of resistance, Archmagi note_items += crystal plate armour,pearl dragon scales note_items += artefact note_messages += You feel monstrous note_messages += You pass through the gate note_messages += cast .* Abyss # Noteable monsters # Undead note_monsters += ancient lich,curse skull,curse toe,royal mummy # Depths note_monsters += caustic shrike # Special hall_of_zot spawns note_monsters += killer klown,electric golem,orb of fire dump_message_count = 30 dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += overview,screenshot,monlist,messages,skill_gains,action_counts dump_order += vaults,notes,kills,turns_by_place,xp_by_level ########### ### Lua ### ########### { -- Equipment autopickup local function pickup_equipment(it, name) if it.is_useless then return end local class = it.class(true) if class == "armour" then local good_slots = { cloak="cloak", helmet="helmet", gloves="gloves", boots="boots", barding="barding" } st = it.subtype() -- Autopickup found aux armour if (1) we don't have any or (2) it's -- artefact, or (3) if we don't have artefact or ego armour, and the -- found armour is ego. if good_slots[st] ~= nil then if good_slots[st] == "gloves" and you.has_claws() > 0 then return end if it.artefact then return true end local cur = items.equipped_at(good_slots[st]) return not cur or not cur.branded and not cur.artefact and it.branded -- Autopickup found body armour of the same kind we're wearing, -- according to conditions (2) and (3) above used for aux slots. elseif st == "body" then local cur = items.equipped_at("armour") if not cur or cur.name("qual") ~= it.name("qual") then return end if it.artefact or not cur.branded and not cur.artefact and it.branded then return true end end end end add_autopickup_func(pickup_equipment) -- Spellcasting spam reduction by monqy local function generic_cast_spell(cmd) crawl.mpr('Cast which spell?') crawl.flush_prev_message() crawl.process_keys(cmd) end function cast_spell() generic_cast_spell('z') end function force_cast_spell() generic_cast_spell('Z') end } # Note: My final RC file has code from lua files found at: # https://github.com/gammafunk/dcss-rc/blob/master/README.md # starting from the line below. {