#include += HilariousDeathArtist.rc include += HDAtravel.rc include += HDAColors.rc include += HDAForceMore.rc include += HDamage.rc language = en tile_player_tile = normal easy_confirm = all confirm_butcher = never easy_eat_chunks = true auto_eat_chunks = true auto_drop_chunks = yes autofight_throw = false autofight_throw_nomove = true autofight_stop = 50 force_more_message += skill increases to level fire_order = launcher, return fire_order += rock, javelin , tomahawk , stone # tile_player_tile = mons:orc warlord ################ # Auto Exclude # ################ ## dangerous monsters ## auto_exclude += ancient lich, death drake, hydra, ice statue, jelly, orb of fire ## paralysing monsters and uniques ## auto_exclude += [^c] wizard, ancient lich, Ereshkigal, Erolcha, eyeball, Grinder, Jory, lich auto_exclude += Norris, ogre-mage, orb of eyes, orc sorcerer, Rupert, sphinx, vampire knight ## other uniques and unique followers ## auto_exclude += Agnes, Aizul, Arachne, Asterion, Blork, Boris, Crazy Yiuf, Donald, Dowan auto_exclude += Duvessa, Edmund, Erica, Eustachio, Fannar, Frances, Frederick, Gastronok auto_exclude += Grum, Harold, Ijyb, Jessica, Jorgrun, Joseph, Kirke, Louise, Mara, Maud auto_exclude += Maurice, Menkaure, Mennas, Natasha, Nergalle, Nessos, Nikola, Pikel auto_exclude += Polyphemus, Prince Ribbit, Psyche, Roxanne, Saint Roka, Sigmund, Snorg auto_exclude += Sojobo, Sonja, Terence, Urug, Wiglaf, Xtahua, hog, slave #################### # 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 # Inscribe potions of blood if you are a vampire : else ai += potion.*blood:@q1 : end # Inscribe distortion weapons if you are not worshipping Lugonu : if you.god() ~= "Lugonu" then ai += distortion:!w ai += (Sonja|Psyche):!w : end # Misc ai += rod of [^s][^t]:!a ai += [Mm]anual of:!d ai += dispersal:=f ai += large rock:!d ai += throwing net:=f, !d ai += tome of destruction:!d # Consumables ai += (bad|dangerous)_item.*potion:!q ai += potions? of berserk rage:!q ai += potions? of cure mutation:!q ai += (bad|dangerous)_item.*scroll:!r ai += scrolls? of blinking:!r ai += scrolls? of holy word:!r ai += scrolls? of magic mapping:!r ai += scrolls? of vulnerability:!r # Body Armour ai += fire dragon (armour|hide):rF++, rC- ai += gold dragon (armour|hide):rC+, rF+, rPois ai += ice dragon (armour|hide):rC++, rF- ai += mottled dragon (armour|hide):rSticky ai += pearl dragon (armour|hide):rN+ ai += quicksilver dragon armour:MR+ ai += shadow dragon (armour|hide):Stlth++++ ai += steam dragon (armour|hide):rSteam ai += storm dragon (armour|hide):rElec ai += swamp dragon (armour|hide):rPois ai += troll (hide|leather armour):regen # Body Armour Egos #ai += ([^l] leather armour|mail|plate armour|robe|skin) of cold resistance:rC+ #ai += ([^l] leather armour|mail|plate armour|robe|skin) of fire resistance:rF+ #ai += (leather armour|mail|plate armour|robe) of magic resistance:MR+ #ai += (leather armour|mail|plate armour|robe) of positive energy:rN+ #ai += (leather armour|mail|plate armour) of poison resistance:rPois #ai += plate armour of ponderousness:Speed- #ai += robe of resistance:rC+, rF+ #ai += robe of the archmagi:Spellpower+ #ai += troll leather armour of cold resistance:, rC+ #ai += troll leather armour of fire resistance:, rF+ # Accessory Egos #ai += (barding|boots|buckler|cloak|gloves|hat|helmet|shield) of cold resistance:rC+ #ai += (barding|boots|buckler|cloak|gloves|hat|helmet|shield) of fire resistance:rF+ #ai += (barding|boots) of flight:+Fly #ai += (barding|boots) of stealth:Stlth+ #ai += (barding|boots) of running:Speed+ #ai += (barding|boots) of jumping:+Jump #ai += (buckler|cloak|shield) of poison resistance:rPois #ai += (buckler|shield) of positive energy:rN+ #ai += (buckler|shield) of protection:AC+3 #ai += (buckler|shield) of reflection:Reflect #ai += (buckler|shield) of resistance:rC+, rF+ #ai += (cloak|hat|helmet) of magic resistance:MR+ #ai += (hat|helmet) of intelligence:Int+3 #ai += (hat|helmet) of see invisible:sInv #ai += cloak of darkness:+Inv #ai += gloves of strength:Str+3 #ai += gloves of dexterity:Dex+3 #ai += gloves of archery:Ranged Slay+4 #ai += hat of spirit shield:Spirit # Amulets ai += amulet of clarity:Clar, !d ai += amulet of faith:Faith, !P ai += amulet of guardian spirit:Spirit ai += amulet of rage:+Rage, !d ai += amulet of regeneration:+regen, !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:Gourm, !d ai += amulet of warding:Ward, rN+, !d # Rings 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 loudness:Stlth- ai += ring of magical power:MP+9 ai += ring of poison resistance:rPois, !d ai += ring of positive energy:rN+ 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 see invisible:sInv, !d ai += ring of stealth:Stlth+ ai += ring of sustain abilities:SustAb ai += ring of teleport control:cTele, !d ai += ring of teleportation:+/*tele, !d ai += ring of wizardry:Wiz+, !d # Obsolete in 0.16 ai += ring of regeneration:regen, !d # Staves ai += staff of air:rElec ai += staff of cold:rC+ ai += staff of conjuration:!a ai += staff of death:rN+ ai += staff of energy:+MP, hungerless spells, !d!a ai += staff of fire:rF+ ai += staff of poison:rPois ai += staff of power:MP+17, !a ai += staff of summoning:!a ai += staff of wizardry:wiz+, !a # Save fruit for abilities under Fedhas : if you.god() == "Fedhas" then ai += fruit:!e : end autoinscribe_cursed = false show_god_gift = unident # # # # Armour/Weapon autopickup by rwbarton, enhanced by HDA with fixes from Bloaxor { add_autopickup_func(function(it, name) if it.is_useless then return false end if name:find("curare") then return true end if name:find("dispersal") and (name:find("dart") or name:find("tomahawk")) then return true end if name:find("throwing net") then return true end local class = it.class(true) local armour_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots", body="Armour", shield="Shield"} if (class == "armour") then sub_type = it.subtype() equipped_item = items.equipped_at(armour_slots[sub_type]) if (sub_type == "cloak") or (sub_type == "helmet") or (sub_type == "gloves") or (sub_type == "boots") then if not equipped_item then return true else return it.artefact or it.branded or it.ego end end if (sub_type == "body") then if equipped_item then local armourname = equipped_item.name() if equipped_item.artefact or equipped_item.branded or equipped_item.ego or (equipped_item.plus > 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 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 false 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 if name:find("double sword") then return true end end if lb > 14 then if name:find("claymore") then return true end if name:find("triple sword") then return true end end if axe > 8 and mf <= 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 and staff <= 8 and axe <= 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 and staff <= 14 and axe <= 14 then if name:find("great mace") then return true end end if pole > 8 and staff <= 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 and staff <= 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) }