Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- auto_sacrifice=true
- auto_eat_chunks=true
- ability_menu = false
- display_char = wall : x2588
- # 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 += <artefact
- # 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)
- }
- include += HDamage.rc
- include += HDAForceMore.rc
- note_chat_messages=true
- show_more = false
- autofight_stop = 70
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement