#size tile_cell_pixels = 48 tile_font_crt_size = 20 tile_font_stat_size = 20 tile_font_msg_size = 20 tile_font_tip_size = 20 tile_font_lbl_size = 20 tile_map_pixels = 0 tile_filter_scaling = true #/size autofight_stop = 75 default_manual_training = true skill_focus = false fire_order_spell = attack hp_warning = 20 explore_stop -= greedy_visited_item_stack #autopickup = $?!+"/} easy_floor_use = true show_more = false ai := autoinscribe is := item_slot ss := spell_slot as := ability_slot fmm := force_more_message rsm := runrest_stop_message rim := runrest_ignore_message ae := autopickup_exceptions ai += wand of :=F ai += -tipped :=F ai += net :=F!f ai += of dispersal :=F!f is += identify :+r is += magic mapping :+m is += enchant weapon :+w ss += animate dead :A ss += blink :B ss += confusing touch:C ss += freezing cloud :F ss += golumbria :G ss += hibernation :H ss += invisibility :I ss += conjure flame :J ss += mephitic :M ss += necromutation :N ss += passwall :P ss += irradiate :R ss += skeleton :S as += End Transformation: F fmm += finished your manual fmm += deals you some cards fmm += armour evaporates fmm += transformation is almost over fmm += magical effects are unravelling fmm += you miscast fmm += Your unholy channel is weakening fmm += timed portal:.* rim -= transformation is almost over\. #runrest_stop_message rsm += Your transformation is almost over rsm += Your unholy channel is weakening rsm += magical effects are unravelling rim += Your foxfire dissipates rim += wereblood boils ae += potion of mutation : if you.race() == "Octopode" or "Draconian" or "Felid" then message_colour ^= mute:are intact enough to wear :end { -- Equipment autopickup (by Medar and various others) local function pickup_equipment(it, name) if it.is_useless then return end local class = it.class(true) if class == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"} st, _ = it.subtype() -- Autopickup found aux armour if 1) we don't have any or 2) it's artefact, -- or 3) if we don't have artefact or ego armour, and the found armour is -- ego. if good_slots[st] ~= nil then if good_slots[st] == "Gloves" and you.has_claws() > 1 then return end if it.artefact then return true end local cur = items.equipped_at(good_slots[st]) if cur == nil then return true end if cur.branded or cur.artefact then return end if it.branded then return true end -- Autopickup found body armour of the same kind we're wearing, according -- to conditions (2) and (3) above used for aux slots. elseif st == "body" then local cur = items.equipped_at("armour") if cur == nil then return end if cur.name("qual") ~= it.name("qual") then return end if it.artefact then return true end if cur.branded or cur.artefact then return end if it.branded then return true end end end return end add_autopickup_func(pickup_equipment) }