# Got suggestions/improvements? # https://github.com/HilariousDeathArtist/DCSSConfigFile # or find me on crawl.s-z.org # I will try to keep my rcfiles up to date on CSZO and CAO # If you are playing on these servers you can include this file in your config with the following line # include += HilariousDeathArtist.rc # 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 = true < 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 annoucement 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 += large rock, javelin, tomahawk, dart, stone # Prevent me from tab-fighting to death by keeping this high autofight_stop = 60 # Enables automagic attacks automagic_enable = true automagic_slot = a # Percentage of MP to stop automagic at automagic_stop = 0 # If set to true, resort to melee when automagic_stop is active automagic_fight = true ############## # Autopickup # ############## # Used # $ = gold # ? = scroll # ! = potion # : = book # " = jewellery # / = wand # % = food # } = miscellaneous # \ = rods # | = staves : if (you.god():find("Trog")) then autopickup += $?!:"/%}\ : else autopickup += $?!:"/%}\| : end # Unused # ) = 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 artifacts) default_friendly_pickup += all # Set Alias for Autopickup Exceptions ae := autopickup_exceptions ae += useless_item, dangerous_item, evil_item # Dont pickup potion(s) of [coagulated] blood if you are not a vampire : if you.race() ~= "Vampire" then ae += potions? of.*blood : end # Autopickup artefacts ae += 2) or armourname:find("dragon") or armourname:find("troll") then return it.artefact else return it.artefact or it.branded or it.ego end end return true end if (sub_type == "shield") then if equipped_item then if equipped_item.artefact or equipped_item.branded or equipped_item.ego or (equipped_item.plus > 2) then return it.artefact or it.branded or it.ego else return true end else return it.artefact or it.branded or it.ego end end end if (class == "weapon") then if (you.xl() < 12) or (you.god():find("Nemelex") or (you.god():find("Yred")) or (you.god():find("Beogh"))) then if it.branded and not (it.name() == "club") then return true end end local weapon = items.equipped_at("Weapon") if weapon then if (weapon.branded or weapon.artefact) then return false else local weapon_name = weapon.name() local sb = you.skill("Short Blades") local lb = you.skill("Long Blades") local axe = you.skill("Axes") local mf = you.skill("Maces & Flails") local pole = you.skill("Polearms") local staff = you.skill("Staves") if sb > 6 then if name:find("quick blade") then return true end end if lb > 8 then if name:find("demon blade") then return true end if name:find("bastard sword") then return true end end if lb > 14 then if name:find("claymore") then return true end end if axe > 8 then if name:find("battleaxe") then return true end if name:find("broad axe") then return true end if name:find("war axe") then return true end if name:find("executioner") then return true end end if axe > 18 then if name:find("executioner") then return true end end if mf > 8 then if name:find("eveningstar") then return true end if name:find("demon whip") then return true end if name:find("sacred scourge") then return true end if name:find("dire flail") then return true end end if mf > 14 then if name:find("great mace") then return true end end if pole > 8 then if name:find("trident") then return true end if name:find("demon trident") then return true end if name:find("trishula") then return true end end if pole > 14 then if name:find("glaive") then return true end if name:find("bardiche") then return true end end if staff > 8 then if name:find("lajatang") then return true end end end elseif (you.skill("Unarmed Combat") < 3) then return true end end end) } ############### # Spell slots # ############### # Set Alias for Spell Slots slot := spell_slot # Try to keep in aplhabetic order slot += Shroud:a slot += Freeze:a slot += Blink:b slot += Call Imp:c slot += Petrify:c slot += Confuse:c slot += Control Undead:c slot += Spider Form:c slot += Conjure Flame:c slot += Freezing Aura:c slot += Repel Missiles:d slot += Deflect Missiles:d slot += Lethal Infusion:d slot += Fireball:f slot += Fire Brand:f slot += Apportation:g slot += Haste:h slot += Sublimation of Blood:m slot += Abjuration:q slot += Regeneration:r slot += Recall:r slot += Condensation Shield:s slot += Shroud of Golubria:s slot += Slow:s slot += Sticky Flame:s slot += Sticks to Snakes:s slot += Stoneskin:s slot += Swiftness:s slot += Passwall:w slot += Corona:v slot += Iskenderun's Mystic Blast:x slot += Call Canine Familiar:c slot += Blade Hands:x slot += Mephitic Cloud:x slot += Lightning Bolt:x slot += Stone Arrow:x slot += Vampiric Draining:x slot += Throw Icicle:x slot += Throw Flame:x slot += Throw Frost:x slot += Lee's Rapid Deconstruction:z slot += Iskenderun's Battlesphere:z slot += Spectral Weapon:z slot += Ozocubu's Armour:A slot += Animate Skeleton:A slot += Animate Dead:A slot += Summon Butterflies:B slot += Controlled Blink:B slot += Control Teleport:C slot += Death's Door:D slot += Flight:F slot += Cure Poison:P slot += Borgnjor's Revivification:R slot += Phase Shift:S slot += Song of Slaying:S ################ # Auto Exclude # ################ ## paralyzing monsters ## auto_exclude += [^c] wizard, eyeball, orb of eyes, sphinx, lich, ancient lich, ogre-mage, Norris auto_exclude += vampire knight, orc sorcerer, Grinder, Rupert, Ereshkigal, Erolcha, Jory ## uniques or dangerous ## auto_exclude += Roxanne, Sigmund, Hydra, Pikel, slave, Prince Ribbit, Snorg, Ijyb, Jessica auto_exclude += Menkaure, Duvessa, Dowan, Blork, jelly, Gastronok, Edmund, Psyche auto_exclude += Urug, Harold, Aizul, Erica, Jorgrun, ancienct lich, orb of fire auto_exclude += Saint Roka, Boris, Mennas, Nessos, Sonja, Agnes, Wiglaf, Fannar, Louise auto_exclude += Mara, Arachne, Xtahua, Frances, Frederick, ice statue, Polyphemus auto_exclude += Death drake, Kirke, Hog, Jorgrun, Sojobo, Nergalle, Maud, Eustachio auto_exclude += Crazy Yiuf, Asterion, Joseph, Terence, Grum, Donald, Natasha, Nikola, Maurice ############### # Auto Travel # ############### # Set travel delay to -1 for instant-travel, set to 1 to see travel paths travel_delay = -1 explore_stop = glowing_items,artefacts,greedy_pickup_smart explore_stop += greedy_visited_item_stack,stairs,shops explore_stop += altars,portals,branches,runed_doors,greedy_sacrificeable # Adjusts how much autoexplore favours attempting to discover room perimeters and corners. # At values higer than 0, autoexplore will more heavily favour visiting squares that are next to walls # reasonable values range from 0 to 10 maybe? explore_wall_bias = 3 # Make auto travel sacrifice corpses sacrifice_before_explore = true auto_sacrifice = true # Disables key press from stopping autoexplore travel_key_stop = false runrest_ignore_poison = 3:30 runrest_ignore_monster += butterfly:1 trapwalk_safe_hp = dart:15,needle:25,arrow:25,bolt:30,spear:20,axe:40,blade:50 # Only stop resting when both HP/MP are full rest_wait_both = true # Set Alias' stop := runrest_stop_message ignore := runrest_ignore_message ignore += You regained.*mp # Jiyva Messages ignore += Jiyva gurgles merrily ignore += Jiyva appreciates your sacrifice ignore += Jiyva says: Divide and consume ignore += You hear.*splatter # Annoyances -- Don't stop autotravel for these events ignore += You feel.*sick ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += standing in the rain ignore += engulfed in white fluffiness ignore += safely over a trap ignore += A.*toadstool withers and dies ignore += toadstools? grow ignore += You walk carefully through the ignore += grinding sound ignore += in your inventory.*rotted away # Qazlal ignore += The plant is engulfed ignore += You destroy the (plant|fungus|bush) ignore += You displace your # Bad things -- Stop autotravel for these events stop += found a zot trap stop += Wait a moment stop += You fall through a shaft stop += An alarm trap emits a blaring wail stop += (blundered into a|invokes the power of) Zot stop += hear a soft click stop += A huge blade swings out and slices into you[^r] stop += sense of stasis stop += flesh start stop += (starving|devoid of blood) stop += wrath finds you stop += lose consciousness # Expiring effects -- Stop autotravel for spells beginning to expire (to allow recasts) # Haste stop += You feel yourself slow down # Flight stop += You are starting to lose your buoyancy stop += You lose control over your flight # Necromutation stop += Your transformation is almost over stop += You have a feeling this form stop += You feel yourself come back to life # Control Teleport stop += uncertain # Deaths Door stop += time is quickly running out stop += life is in your own # Enslavement stop += is no longer charmed # Shroud stop += shroud begins to fray stop += shroud unravels # Swiftness stop += start to feel a little slower # Repel/Deflect stop += missiles spell is about to expire # Ghouls : if you.race() == "Ghoul" then stop += smell.*(rott(ing|en)|decay) stop += something tasty in your inventory : end # Good things - Bad things wearing off stop += contamination has completely stop += You are no longer firmly anchored in space #Ally actions? #ignore += pray: #ignore += friend_spell: #ignore += friend_enchant: #ignore += friend_action: #ignore += sound: ############# # Interface # ############# allow_self_target = prompt sort_menus = true #WARNING TO KEYPAD USERS: The number 7 is mapped to the letter 'y' easy_confirm = all confirm_butcher = never easy_eat_chunks = true auto_eat_chunks = true auto_drop_chunks = yes easy_eat_contaminated = true equip_unequip = true #hp_warning = 25 -- Damage Calc overrides these #mp_warning = 25 -- Damage Calc overrides these hp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red mp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red stat_colour = 3:red, 7:lightred # Removes the more prompts when outputting more than one screen of messages show_more = false small_more = true # Settting this to false changes the turn display to show player turns (used for scoring) show_game_turns = true msg_min_height=7 msg_max_height=10 default_manual_training = true #################### # Autoinscriptions # #################### # Set Alias ai := autoinscribe # Overwrite annoying inscriptions with your own # Inscribe vampiric weapons if you are not a vampire : if you.race() ~= "Vampire" then ai += vampiric:!w : end # Inscribe distortion weapons if you are not worshipping Lugonu : if you.god() ~= "Lugonu" then ai += distortion:!w ai += (Sonja|Psyche):!w : end ai += (bad|dangerous)_item.*potion:!q ai += potion of berserk rage:!q ai += (bad|dangerous)_item.*scroll:!r ai += rod of [^s][^t]:!a ai += [Mm]anual of:!d ai += dispersal:=f ai += large rock:=f, !d ai += throwing net:=f, !d ai += tome of destruction:!d #ai += royal jell:!restore ai += troll leather armour:regen ai += troll hide:regen ai += pearl dragon (armour|hide):rN+ ai += fire dragon (armour|hide):rF++, rC- ai += ice dragon (armour|hide):rC++, rF- ai += swamp dragon (armour|hide):rP+ ai += mottled dragon (armour|hide):rSticky ai += storm dragon (armour|hide):rElec ai += gold dragon (armour|hide):rC+, rF+, rP+ ai += steam dragon (armour|hide):rSteam ai += ambrosia:!magic, !confuse ai += scrolls? of vulnerability:!r ai += scrolls? of holy word:!r ai += scrolls? of magic mapping:!r ai += scrolls? of blinking:!r ai += amulet of clarity:Clarity, !d ai += amulet of conservation:Cons, !d ai += amulet of faith:Faith, !P ai += amulet of guardian spirit:Spirit ai += amulet of rage:+Rage, !d ai += amulet of resist corrosion:rCorr, !d ai += amulet of resist mutation:rMut, !d ai += amulet of stasis:Stasis, !d ai += amulet of the gourmand:Gourmand, !d ai += amulet of warding:Ward, rN+, !d ai += ring of fire:rF+, rC- ai += ring of flight:+Fly, !d ai += ring of ice:rC+, rF- ai += ring of invisibility:+Inv, !d ai += ring of magical power:MP+9 ai += ring of positive energy:rN+ ai += ring of poison resistance:rP+, !d ai += ring of protection from cold:rC+, !d ai += ring of protection from fire:rF+, !d ai += ring of protection from magic:MR+, !d ai += ring of regeneration:regen, !d ai += ring of see invisible:sInv, !d ai += ring of sustain abilities:sustAb ai += ring of sustenance:Hunger- ai += ring of teleport control:cTele, !d ai += ring of teleportation:+/*tele, !d ai += ring of wizardry:wiz+, !d ai += staff of air:rElec ai += staff of cold:rC+ ai += staff of death:rN+ ai += staff of fire:rF+ ai += staff of poison:rP+ ai += staff of energy:+MP, hungerless spells, !d!a ai += staff of wizardry:wiz+, !a ai += staff of power:MP+17, !a ai += staff of conjuration:!a ai += staff of summoning:!a : if you.god() == "Fedhas" then ai += fruit:!e : end autoinscribe_cursed = false show_god_gift = unident ################## # Character Dump # ################## dump_item_origins = all dump_item_origin_price = 100 dump_message_count = 100 #dump_order = header,hiscore,stats,misc,mutations,skills,spells,overview,inventory #dump_order += screenshot,monlist,messages,action_counts,vaults,notes,kills dump_order += vaults, turns_by_place, kills_by_place dump_book_spells = false ood_interesting = 6 note_hp_percent = 25 note_all_skill_levels = true note_xom_effects = true note_items += of Zot,rod,acquirement note_messages += Your scales start note_messages += protects you from harm note_messages += You fall through a shaft note_messages += [bB]anish.*Abyss note_monsters += orb of fire,silver star,pearl dragon,ancient lich