########## # Macros # ########## flush.failure = true flush.command = true ########## # Glyphs # ########## enemy_hp_colour = green green brown brown darkgrey red lightgrey tile_display_mode = hybrid colour.darkgray = blue include += old_unicode_glyphs.txt show_player_species = true display_char = wall : x2588 cset_unicode = cloud:# feature = explore horizon {.,,green} feature = (closed|runed|sealed) door {+,,} display_char = display_char = mon_glyph += dancing weapon : lightred Ψ mon_glyph += octopode crusher : yellow χ mon_glyph += Asterion : lightmagenta mon_glyph += Gastronok : lightmagenta mon_glyph += hydra : yellow mon_glyph += blink frog : lightred mon_glyph += catoblepas : lightmagenta mon_glyph += large simulacrum : ice Z mon_glyph += large skeleton : lightgrey Z mon_glyph += large zombie : brown Z mon_glyph += simulacrum : ice z mon_glyph += skeleton : lightgrey z mon_glyph += zombie : brown z mon_glyph += small simulacrum : ice z mon_glyph += small skeleton : lightgrey z mon_glyph += small zombie : brown z mon_glyph += Shadow Fiend : lightmagenta mon_glyph += greater mummy : lightblue mon_glyph += lich : white mon_glyph += ancient lich : lightmagenta mon_glyph += hellion : fire mon_glyph += tormentor : unholy mon_glyph += sensed monster : lightred mon_glyph += trivial sensed monster : lightgray mon_glyph += easy sensed monster : gray mon_glyph += tough sensed monster : red mon_glyph += nasty sensed monster : lightred mon_glyph += black mamba : cyan mon_glyph += goliath beetle : lightblue mon_glyph += dire elephant : lightgreen mon_glyph += lorocyproca : lightcyan mon_glyph += tengu conjurer : lightblue mon_glyph += raven : lightblue mon_glyph += naga warrior : cyan mon_glyph += iguana : lightblue mon_glyph += porcupine : lightblue mon_glyph += Pikel : lightblue mon_glyph += Grinder : lightblue mon_glyph += lurking horror : unholy mon_glyph += draconian monk : lightmagenta mon_glyph = boggart : lightmagenta mon_glyph = titan : lightmagenta mon_glyph = wretched star : lightmagenta mon_glyph = Nessos : lightmagenta ########## # Travel # ########## explore_stop = items,greedy_items,greedy_pickup,greedy_pickup_gold explore_stop += greedy_visited_item_stack,stairs,shops,altars,gates explore_stop += greedy_sacrificeable travel_key_stop = false : if you.god() ~= "Elyvilon" and you.god() ~= "No God" then auto_sacrifice = before_explore : else auto_sacrifice = false : end ############## # Autopickup # ############## pickup_mode = multi { local function autopickup(it, name) local race = you.race() 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 if good_slots[st] ~= "Gloves" or you.has_claws() == 0 then return true end end end if class == "missile" then if name:find("curare") then return false end end return false end add_autopickup_func(autopickup) } autopickup = $?!/% ae := autopickup_exceptions ae = ae += (useless|evil)_item ae += dangerous_item.*scrolls? of (holy word|noise|torment) ae += potions? of (flight|lignification|mutation) ae += wand of (enslavement|polymorph|random effects|slowing) ae += wand of (flame|frost|magic darts) ae += <(throwing net|curare)> ae += <(sack of spiders|lamp of fire|phial of floods|fan of gales) ae +=