#-------------MY MODSVVVVVVVVVVV # Otab enemy flags more := force_more_message #stop := runrest_stop_message more += You turn into more += The catoblepas breathes a plume of calcifying dust at you. more += Found a gateway leading deeper into the Abyss. more += (brimstone fiend|Nikola|moth of wrath|Sonja|hydra|floating eye|Vv|Josephina|Parghit).*into view show_more = false # (new/experimental) AutoPick spell letters spell_slot ^= Magic Dart:a spell_slot ^= Firefox:a spell_slot ^= Freeze:a spell_slot ^= Blink:+b spell_slot ^= Mephitic Cloud:+c spell_slot ^= Airstrike:d spell_slot ^= Frozen Ramparts:+x spell_slot ^= Ozocubu's Armor:+z spell_slot ^= Swiftness:z spell_slot ^= Stone Arrow:f spell_slot ^= Bolt of Magma:fg spell_slot ^= Lightning Bolt:fg spell_slot ^= Blade Hands:x spell_slot ^= Fireball:r spell_slot ^= Ozocubu's Refrigeration:t spell_slot ^= Olgreb's Toxic Rad:t spell_slot ^= Freezing Cloud:i spell_slot ^= Erinya's Toxic Bog:i spell_slot ^= Orb of Destruction:+k spell_slot ^= Conjure Ball Lightning:i spell_slot ^= Spellforged Servitor:e spell_slot ^= Ignite Poison:+w spell_slot ^= Irradiate:v spell_slot ^= Borgnjor's Vile Clutch:v spell_slot ^= Storm Form:+z spell_slot ^= Necromutation:+z spell_slot ^= Lightning Spire:+d spell_slot ^= Animate Dead:d item_slot ^= Scroll of Identify:r item_slot ^= Condenser Vane:+v item_slot ^= Wand of Flame:+f item_slot ^= Potion of Curing:+q item_slot ^= Potion of Heal Wounds:+w item_slot ^= Scroll of Blinking:b item_slot ^= *Plate Armour*:W item_slot ^+ *Gold Dragon A*:+W ability_slot ^= Blinkbolt:+a #autofight - 50% safety cutoff autofight_stop = 70 # HP - safety warnings hp_colour = 60:yellow, 30:red hp_warning = 20 flash_screen_message += LOW HITPOINT WARNING # (new) view_delay = 600 -- speed up animations? view_delay = 400 # always_show_zot = true #-------------MY MODS ^^^^^^^^^^^^^^^ #Experimental: show_more = false default_manual_training = true # don't use quiver with autofight_nomove, which we bind to a key below autofight_nomove_fires = false #unbind shift-tab from cmd_autofire and bind it to cmd_autofight_nomove bindkey = [p] CMD_AUTOFIRE bindkey = [\{-233}] CMD_AUTOFIGHT_NOMOVE #get first armor { local function autopickup(it, name) if it.is_useless then return false end local class = it.class(true) if class == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"} st, _ = it.subtype() if good_slots[st] ~= nil and items.equipped_at(good_slots[st]) == nil then return true end end end clear_autopickup_funcs() add_autopickup_func(autopickup) }