# Faster animations (thanks Bloax) view_delay = 150 # A bunch of stuff in my RC file is from HilariousDeathArtist # https://github.com/HilariousDeathArtist/DCSSConfigFile # SUCH EXCITEMENT!!! # language = !!! # To override this setting, add the following line after include += HilariousDeathArtist.rc # language = en # To override other settings you don't like, you may redefine them after the include like the language setting # Logs chat messages into the notes note_chat_messages = false < function ready() AnnounceDamage() --SpoilerAlert() OpenSkills() end > #################### # Included RcFiles # #################### # Just Message colors # include += HDAMessageColors.rc # Just Item colors # include += HDAItemColors.rc # Monster warning messages -- disabled by default # Uncomment the next line and the call to SpoilerAlert() in the ready function to use it # include += SpoilerAlert.rc # The damage announcement messages include += HDamage.rc # Force More prompts include += HDAForceMore.rc # Message and Item colors include += HDAColors.rc # The ===HDAtravel autotravel replacement macro include += HDAtravel.rc message_colour += mute:you're not good enough to have a special ability message_colour += mute:@corpse #################### # Opens skill menu # #################### < local need_skills_opened = true function OpenSkills() if you.turns() == 0 and need_skills_opened then need_skills_opened = false sendkeys("m") end end > ############# # Autofight # ############# # Do/don't throw stuff when autofighting autofight_throw = false autofight_throw_nomove = true # If true. items are autofired stopping at the monsters feet (same as firing using .) autofight_fire_stop = true fire_order = launcher, return fire_order += rock, javelin, tomahawk, stone # Prevent me from tab-fighting to death by keeping this high autofight_stop = 60 # Enables automagic attacks automagic_enable = false automagic_slot = a # Percentage of MP to stop automagic at automagic_stop = 50 # If set to true, resort to melee when automagic_stop is active automagic_fight = true ############## # Autopickup # ############## # Used # $ = gold # ? = scroll # ! = potion # : = book # " = jewellery # / = wand # % = food # \ = rods # | = staves autopickup = $?!:+"/%\| # Unused # } = miscellaneous # ) = weapon # ( = missiles # [ = armour # X = corpses # Allows easily dropping multiple items drop_mode += multi # Always show the full list of items when you pick up a stack pickup_mode += multi # Allows followers to pick up ANYTHING (take care not to lose artefacts) default_friendly_pickup += all # Set Alias for Autopickup Exceptions ae := autopickup_exceptions ae += useless_item, dangerous_item, evil_item # Don't pick up potion(s) of [coagulated] blood if you are not a vampire : if you.race() ~= "Vampire" then ae += potions? of.*blood : end # Autopickup artefacts ae += 0 then return end if it.artefact then return true end local cur = items.equipped_at(good_slots[st]) if cur == nil then return true end if cur.branded or cur.artefact then return end if it.branded then return true end elseif st == "body" then local cur = items.equipped_at("armour") if cur == nil then return end if cur.name("qual") ~= it.name("qual") then return end if it.artefact then return true end if cur.branded or cur.artefact then return end if it.branded then return true end end end return end -- Autopickup of stackable items function inventory() return iter.invent_iterator:new(items.inventory()) end local function pickup_stackable(it, name) local class = it.class(true) local subtype = it.subtype() local ego = it.ego(true) if class == "potion" or class == "scroll" then for inv in inventory() do if class == inv.class(true) and subtype == inv.subtype() then return true end end elseif class == "missile" then for inv in inventory() do if class == inv.class(true) and subtype == inv.subtype() and ego == inv.ego(true) then return true end end elseif class == "miscellaneous" and (subtype == "fan of gales" or subtype == "lamp of fire" or subtype == "phial of floods" or subtype == "stone of tremors" or subtype == "disc of storms" or subtype == "lantern of shadows") then for inv in inventory() do if subtype == inv.subtype() then return false end end end return end clear_autopickup_funcs() add_autopickup_func(pickup_equipment) add_autopickup_func(pickup_stackable) } default_autopickup = true pickup_thrown = true assign_item_slot = forward pickup_menu_limit = 1 drop_filter = drop_filter += useless_item #### Interface & commands default_manual_training = true autopickup_starting_ammo = true auto_switch = false travel_open_doors = true easy_unequip = true equip_unequip = false jewellery_prompt = false show_uncursed = true easy_confirm = all #allow_self_target = no confirm_butcher = auto #easy_eat_chunks = false auto_eat_chunks = true #easy_quit_item_prompts = false #easy_exit_menu = false sort_menus = true:equipped,identified,basename,art,ego,glowing,qualname,curse,charged,slot #autofight_stop = 0 #autofight_throw = false #autofight_throw_nomove = true #autofight_fire_stop = false #autofight_caught = true #autofight_wait = true fail_severity_to_confirm = 3 easy_door = false { local need_skills_opened = true function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end end } #### Autoinscriptions ai := autoinscribe ai += (bad|dangerous)_item.*potion:!q ai += (bad|dangerous)_item.*scroll:!r ai += potions? of berserk rage:!q ai += scrolls? of silence:!r ai += of faith:!P ai += rod:!a ai += manual of:!d ai += staff of (Wucad Mu|conjuration|energy|power|wizardry):!a ai += wand of (heal wounds|hasting|teleportation):!d ai += (large rock|throwing net|curare|of dispersal):=f ai += scrolls? of identify:@r1 ai += potions? of curing:@q1 ai += potions? of heal wounds:@q2 ai += wand of heal wounds:@v2 ai += potions? of haste:@q3 ai += wand of hasting:@v3 ai += scrolls? of teleportation:@r4 ai += wand of teleportation:@v4 : if you.race() == "Vampire" then ai += potions? of.*blood:@q4 : end : if you.god() == "Fedhas" then ai += fruit:!e : end #### Spell slots # Utility spells spell_slot = Dispel Undead:q spell_slot += Cause Fear:Q spell_slot += Alistair's Intoxication:Q spell_slot += Mass Confusion:Q spell_slot += Discord:Q spell_slot += Passage of Golubria:w spell_slot += Abjuration:W spell_slot += Aura of Abjuration:W spell_slot += Apportation:e spell_slot += Recall:r spell_slot += Summon Butterflies:R spell_slot += Control Teleport:t spell_slot += Metabolic Englaciation:T spell_slot += Ozocubu's Armour:aA spell_slot += Stoneskin:aA spell_slot += Phase Shift:aA spell_slot += Shroud of Golubria:aA spell_slot += Condensation Shield:aA spell_slot += Cigotuvi's Embrace:aA spell_slot += Swiftness:s spell_slot += Repel Missiles:d spell_slot += Deflect Missiles:d spell_slot += Darkness:D spell_slot += Flight:f spell_slot += Ring of Flames:F spell_slot += Regeneration:g spell_slot += Silence:G spell_slot += Haste:h spell_slot += Disjunction:H spell_slot += Invisibility:j spell_slot += Death's Door:J spell_slot += Borgnjor's Revivification:L spell_slot += Blink:b spell_slot += Controlled Blink:B spell_slot += Sublimation of Blood:n spell_slot += Passwall:N spell_slot += Necromutation:M spell_slot += Cure Poison:Z spell_slot += Death Channel:ZXC spell_slot += Simulacrum:ZXC spell_slot += Warp Weapon:ZXC spell_slot += Exruciating Wounds:ZXC spell_slot += Dispersal:ZXC spell_slot += Leda's Liquefaction:ZXC # Transformations spell_slot += Beastly Appendage:zxcv spell_slot += Spider Form:zxcv spell_slot += Ice Form:zxcv spell_slot += Blade Hands:zxcv spell_slot += Hydra Form:XC spell_slot += Statue Form:XC spell_slot += Dragon Form:XC # Summons spell_slot += Summon Small Mammal:zxc spell_slot += Call Imp:zxc spell_slot += Call Canine Familiar:zxcv spell_slot += Summon Ice Beast:zxcv spell_slot += Summon Demon:zxcv spell_slot += Shadow Creatures:zxcv spell_slot += Summon Guardian Golem:ZX spell_slot += Summon Lightning Spire:ZX spell_slot += Summon Forest:ZXC spell_slot += Monstrous Menagerie:ZXC spell_slot += Summon Mana Viper:xcv spell_slot += Summon Hydra:xcv spell_slot += Haunt:xcv spell_slot += Spellforged Servitor:XCV spell_slot += Malign Gateway:XCV spell_slot += Summon Greater Demon:XCV spell_slot += Summon Horrible Things:XCV spell_slot += Dragon's Call:XCV # Low-level spells spell_slot += Freeze:z spell_slot += Magic Dart:z spell_slot += Flame Tongue:z spell_slot += Pain:z spell_slot += Shock:z spell_slot += Sandblast:z spell_slot += Sting:z spell_slot += Ensorcelled Hibernation:z spell_slot += Infusion:z spell_slot += Throw Frost:zxc spell_slot += Throw Flame:zxc spell_slot += Searing Ray:zxc spell_slot += Portal Projectile:zxc spell_slot += Slow:zxc spell_slot += Inner Flame:zxc spell_slot += Teleport Other:zxc spell_slot += Tukima's Dance:zxc spell_slot += Corona:Z spell_slot += Animate Skeleton:Z spell_slot += Corpse Rot:Z spell_slot += Confusing Touch:ZX spell_slot += Sticks to Snakes:ZX spell_slot += Sure Blade:ZX spell_slot += Conjure Flame:ZX # Mid-level spells spell_slot += Stone Arrow:zxcv spell_slot += Dazzling Spray:zxcv spell_slot += Iskenderun's Mystic Blast:zxcv spell_slot += Force Lance:zxcv spell_slot += Sticky Flame:zxcv spell_slot += Throw Icicle:zxcv spell_slot += Venom Bolt:zxcv spell_slot += Airstrike:zxcv spell_slot += Agony:zxcv spell_slot += Petrify:zxcv spell_slot += Vampiric Draining:zxcv spell_slot += Song of Slaying:zxcv spell_slot += Spectral Weapon:zxcv spell_slot += Confuse:zxcv spell_slot += Gell's Gravitas:zxcv spell_slot += Mephitic Cloud:cC spell_slot += Static Discharge:ZX spell_slot += Control Undead:ZX spell_slot += Fulminant Prism:ZX spell_slot += Ignite Poison:ZX spell_slot += Battlesphere:XC spell_slot += Lee's Rapid Deconstruction:XC spell_slot += Poisonous Cloud:XC spell_slot += Freezing Cloud:XC spell_slot += Ozocubu's Refrigeration:XC spell_slot += Animate Dead:XC spell_slot += Twisted Resurrection:XC spell_slot += Olgreb's Toxic Radiance:XC spell_slot += Irradiate:XC # High-level spells spell_slot += Lightning Bolt:xcv spell_slot += Fireball:xcv spell_slot += Bolt of:xcv spell_slot += Iron Shot:xcv spell_slot += Poison Arrow:xcv spell_slot += Orb of Destruction:xcv spell_slot += Lehudib's Crystal Spear:xcv spell_slot += Conjure Ball Lightning:XCV spell_slot += Delayed Fireball:XCV spell_slot += Chain Lightning:XCV spell_slot += Fire Storm:V spell_slot += Glaciate:V spell_slot += Shatter:V spell_slot += Tornado:V spell_slot += Singularity:V # Default letters spell_slot += .*:yuiopYUIOP