##### Yermak's Crawl Init file ############################################### tile_font_crt_family = Lucida Console tile_font_stat_family = Lucida Console tile_font_msg_family = Lucida Console tile_font_lbl_family = Lucida Console include = no_vi_command_keys.txt note_skill_levels = 1,3,6,9,12,15,18,21,24,27 travel_delay = -1 explore_delay = -1 rest_delay = -1 { local need_skills_opened = true function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end end } { local function autopickup(it, name) local class = it.class(true) if it.is_useless then return false end if class == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots", shield="Shield"} st, _ = it.subtype() if good_slots[st] ~= nil and items.equipped_at(good_slots[st]) == nil then return true elseif st ~= "body" and (it.artefact or it.branded) then return true end end return nil end add_autopickup_func(autopickup) } { local aft = false function toggle_autothrow() if aft then crawl.setopt("autofight_throw = false") crawl.mpr("Autofight_throw is off.") else crawl.setopt("autofight_throw = true") crawl.mpr("Autofight_throw is on.") end aft = not aft end } ### Macros macros += K2 \{-1014} + macros += K2 \{-1013} \{32} macros += K2 \{-1012} + macros += K2 \{-1011} . macros += K4 . , macros += M \{-1019} ===toggle_autothrow macros += M \{-1015} zY macros += M \{-1014} Za+ macros += M \{-1013} Za\{32} macros += M \{-1012} f+ macros += M \{-1011} f. macros += M \{-250} Zb\{32} macros += M ( [ macros += M + tt macros += M - af macros += M . , macros += M [ ( macros += M ] ) macros += M p \{9} macros += M e ez macros += M u G> macros += M 1 af macros += M 2 ab default_manual_training = true assign_item_slot = backward show_travel_trail = true show_god_gift = yes cloud_status = true tile_web_mouse_control = false #fire_order = launcher, large rock, javelin, tomahawk, stone, net runrest_ignore_message += blood rots? away runrest_ignore_message += Your icy armour runrest_ignore_message += Your skin is crawling a little less runrest_ignore_message += infusion is running out runrest_ignore_message += shroud begins to fray runrest_ignore_message += You feel.*sick interrupt_eat = runrest_safe_poison = 100:100 #interrupt_armour_on -= hp_loss #interrupt_armour_off -= hp_loss interrupt_memorise -= hp_loss autofight_stop = 30 #use_animations -= hp use_animations = false autofight_caught = true auto_butcher = hungry easy_confirm = all menu_colour += cyan:brand weapon menu_colour += cyan:enchant weapon menu_colour += cyan:enchant armour menu_colour += cyan:recharging menu_colour += cyan:magic mapping menu_colour += green:potions? of might menu_colour += green:potions? of agility menu_colour += green:potions? of brilliance menu_colour += green:potions? of haste menu_colour += green:potions? of resistance menu_colour += green:potions? of berserk menu_colour += cyan:wand of para menu_colour += cyan:wand of conf menu_colour += cyan:wand of poly menu_colour += cyan:wand of ensl menu_colour += cyan:wand of dis ae := autopickup_exceptions #ae -= dangerous_item ae += >scrolls? of (amn|vuln|noise) ae += >potions? of ligni #ae += >wand of (dis|flame|poly|conf|rand|slow) ae += >wand of (rand|poly) ae += >ring of (protection from (mag|fire|cold)|mag|stealth|ice|fire|pos|wiz) ae ^= potions? of brilliance ae += >potions? of magic ae += >book ae += >ring of int skill_focus = true : end message_colour += mute: You block message_colour += mute: You hit show_more = false # nullifying the effect of the most annoying 0.24 commit: ae += >ring of (poi|resist cor|fli|see) ae += >amulet of