############# # Autofight # ############# # Don't throw stuff for no reason autofight_throw = false autofight_throw_nomove = false autofight_stop = 75 autofight_caught = true ############## # Autopickup # ############## autopickup = $!:"/%|\ drop_filter += useless_item #drop_filter += potions? of (gain|cure mutation|mutation) #drop_filter += wand of (magic darts|frost|flame|confusion|enslavement) #drop_filter += wand of (random|slow) drop_filter += scrolls? of noise #drop_filter += rotten drop_mode = multi pickup_menu = true default_friendly_pickup = none ae := autopickup_exceptions ae += useless_item, dangerous_item, evil_item #ae += potions? of (invisibility|flight|water|cure mutation|restore) #ae += potions? of lignification 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 return it.artefact or it.branded or it.ego end end end if (class == "weapon") then if it.is_useless then return false end if (you.xl() < 12) or (you.god():find("Nemelex") or (you.god():find("Yred")) or (beogh_autopickup)) 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) } ############### # 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 higher 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 = true 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 # Annoyances -- Don't stop autotravel for these events ignore += A.*toadstool withers and dies ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += engulfed in white fluffiness ignore += grinding sound ignore += in your inventory.*rotted away ignore += safely over a trap ignore += standing in the rain ignore += toadstools? grow ignore += You feel.*sick ignore += You walk carefully through the # Jiyva Messages ignore += Jiyva appreciates your sacrifice ignore += Jiyva gurgles merrily ignore += Jiyva says: Divide and consume ignore += You hear.*splatter # Qazlal ignore += The plant is engulfed ignore += You destroy the (bush|fungus|plant) ignore += You displace your # Bad things -- Stop autotravel for these events (duplicates some of HDAForceMore) stop += (blundered into a|invokes the power of) Zot stop += (devoid of blood|starving) stop += A huge blade swings out and slices into you[^r] stop += An alarm trap emits a blaring wail stop += flesh start stop += found a zot trap stop += hear a soft click stop += lose consciousness stop += sense of stasis stop += Wait a moment stop += wrath finds you stop += You fall through a shaft # Expiring spells effects -- Stop to allow recasts (duplicates some of HDAForceMore) # Control Teleport stop += you feel uncertain # Death's Door more += time is quickly running out more += life is in your own # Enslavement more += is no longer charmed # Flight more += You are starting to lose your buoyancy stop += You lose control over your flight # Haste more += You feel yourself slow down # Phase Shift more += You feel closer to the material plane # Repel/Deflect stop += missiles spell is about to expire # Shroud of Golubria stop += shroud begins to fray stop += shroud unravels more += Your shroud falls apart # Swiftness stop += start to feel a little slower # Transmutations more += Your transformation is almost over more += You have a feeling this form more += Your skin feels tender more += You feel yourself come back to life # Ghouls (Not part of HDAForceMore) : if you.race() == "Ghoul" then stop += smell.*(rott(ing|en)|decay) stop += something tasty in your inventory : end # Good things - Bad things wearing off (Duplicates some of HDAForceMore) 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 auto_butcher = hungry 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:lightgrey, 75:yellow, 50:lightred, 25:red mp_colour = 100:green, 99:lightgrey, 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 # Setting 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 # 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 item_slot ^= potion of blood:q item_slot ^= scroll of identify:i item_slot ^= scroll of teleportation:T item_slot ^= scroll of blinking:B item_slot ^= scroll of magic map:M item_slot ^= scroll of remove curse:C item_slot ^= scroll of fog:F