#TEAMCAPTAIN Enegeticocto autofight_stop = 50 hp_warning = 10 rest_wait_percent = 95 rest_wait_both = false #force_more_message += warning #flash_screen_message += warning #include = safe_move_shift.txt fail_severity_to_confirm = -1 autofight_caught = true autofight_throw = true autofight_throw_nomove = false # autofight_wait = false action_panel_show = false travel_open_doors = true explore_wall_bias = 5 always_show_zot = true use_animations = false monster_item_view_features = gold use_animations -= range, monster, player, branch_entry #use_animations -= beam, range, monster_in_sight, monster, player, branch_entry tile_misc_anim = false tile_realtime_anim = true force_targeter -= hailstorm, starburst, frozen ramparts, ignition, eringya's noxious bog runrest_ignore_monster ^= bat:0 runrest_ignore_monster ^= butterfly:0 runrest_ignore_monster ^= unseen:0 allow_self_target = true tile_window_width = 1024 tile_window_height = 768 clear_map = false tile_runrest_rate = 500 tile_tooltip_ms = 0 dump_message_count = 150 tile_show_threat_levels = tough, nasty easy_eat_chunks = true default_manual_training = true travel_delay = -1 explore_delay = -1 rest_delay = -1 show_travel_trail=true show_more = false tile_misc_anim = true tile_show_minimagicbar = true equip_unequip = true tile_show_demon_tier = true tile_map_scale = 1.0 easy_confirm = all explore_auto_rest = true confirm_butcher = never travel_key_stop = false runrest_ignore_poison = 5:10 interrupt_memorise -= hp_loss interrupt_memorise -= monster message_colour += mute:you're not good enough to have a special ability message_colour += mute:@corpse more := force_more_message autoinscribe ^= scroll of silence:!r autoinscribe ^= magical staff:!a 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 ignore += gateway ignore += distracted force_more_message -= You finish merging with the rock force_more_message += (brimstone fiend|Nikola|moth of wrath|floating eye).*into view force_more_message += calcifying dust hits force_more_message += You turn into a #force_more_message += (neqoxec|cacodemon|shining eye|giant orange brain).*come force_more_message += hits.*distortion force_more_message += Your transformation is almost over force_more_message += back to life force_more_message += .*carrying a wand.* force_more_message += .*unravelling.* force_more_message += You.*lethargic.* force_more_message += You.*tired.* force_more_message += You are slowing down force_more_message += firmly anchored in space force_more_message += Your surroundings suddenly seem different runrest_stop_message += Your transformation is almost over. runrest_stop_message += back to life force_more_message += falls away force_more_message += sapped force_more_message += tainted force_more_message += You.*engulfed.*chaos.* force_more_message += breathes chaos as := ability_slot as ^= End Transfo: h as ^= Evoke Invis: i as ^= Turn Visibl: j as ^= Evoke Fligh: l as ^= Fly: l as ^= Stop Flying: m as ^= Evoke Telep: t as ^= Spit: q as ^= Breath: q is := item_slot item_slot ^= potions? of curing:q item_slot ^= potions? of mutation:M item_slot ^= potions? of heal wounds:w item_slot ^= potions? of haste:h item_slot ^= potions? of might:d item_slot ^= potions? of resistance:n item_slot ^= scrolls? of identify:r item_slot ^= scrolls? of remove curse:x item_slot ^= scrolls? of teleportation:t item_slot ^= scrolls? of blinking:z item_slot ^= scrolls? of fog:f item_slot ^= scrolls? of butterflies:f is ^= scrolls? of magic map:u item_slot ^= (1|2|3|4|5|6) ring of protection: p item_slot ^= ring of protection from cold: c item_slot ^= ring of resist corrosion: k item_slot ^= ring of evasion: v item_slot ^= ring of protection from fire: f item_slot ^= ring of see invisible: i item_slot ^= ring of protection from magic: m item_slot ^= ring of poison resistance: o item_slot ^= ring of slaying: j item_slot ^= (ration):e #autopickup_exceptions += ring of stealth ae += >ring of positive energy ae += >ring of fire ae += >ring of flight ae += >ring of ice ae += >ring of magical power ae += >ring of strength ae += >ring of intelligence ae += >ring of dexterity ae += >ring of wizardry ae += >ring of see invisible ae += >amulet of magic regeneration ae += >amulet of nothing ae += >amulet of inaccuracy autopickup_exceptions -= dangerous_item autopickup_exceptions += >wand of random effects autopickup_exceptions += ring of (poi|resist cor|fli|see) ae += >amulet of (the acr|fai|the gou|gua|har|mag|rag|reg) ae += >scrolls? of (amn|noise) ae += wand of rand ae += >ring of (protection from (mag|fire|cold)|mag|stealth|ice|fire|pos|wiz) ae ^= sack of spiders ae += >phantom mirror ae += >box of beasts ae += potions? of brilliance ae += >potions? of stabbing #ae += >potions? of attraction ######DROP FILTER###### df := drop_filter df += brilliance df += degeneration df += torment df += amnesia df += stabbing df += lignification df += ring of fire df += ring of ice df += ring of positive energy df += ring of magical power df += ring of wizardry df += ring of intelligence df += ring of stealth df += amulet of inaccuracy df += amulet of magic regeneration df += ring of flight ss := spell_slot ss ^= Apportation: g ss ^= Blink: d ss ^= Lesser Beck: e ss ^= Portal Proj: J ss ^= Teleport Ot: t ss ^= Warp Weapon: W ss ^= Passage of: z ss ^= Phase Shift: p ss ^= Summon Fore: F ss ^= ontrolled B: C ss ^= Control Tel: k ss ^= Song of Sla: y ss ^= Missiles: f ss ^= Flight: l ss ^= Regeneratio: R ss ^= Shroud of G: h ss ^= Spectral We: W ss ^= Ozocubu: h ss ^= Haste: H ss ^= Confuse: x ss ^= Tukima's Da: t ss ^= Invisibilit: i ss ^= Enslavement: v ss ^= Dazzling Sp: q ss ^= Animate Ske: b ss ^= Sublimation: Z ss ^= Corpse Rot: r ss ^= Vampiric Dr: v ss ^= Control Und: U ss ^= Dispel Unde: u ss ^= Animate Dea: E ss ^= Borgnjor's : w ss ^= Sticks to S: s ss ^= Spider Form: O ss ^= Ice Form: I ss ^= Blade Hands: u ss ^= Statue Form: Y ss ^= Dragon Form: T ss ^= Stone Arrow: h ss ^= Passwall: j ss ^= Lee's Rapid: l ss ^= Summon Butt: B ss ^= Aura of Abj: A ss ^= Summon Ligh: L ss ^= Conjure Fla: j ss ^= Mephitic Cl: m ss ^= Olgreb's To: t ss ^= Cure Poison: w ss ^= Bolt: w ss ^= Fireball: e : if you.race() == "Ghoul" then stop += smell.*(rott(ing|en)|decay) stop += something tasty in your inventory : end : if you.god() == "Xom" then stop += god: :else ignore += god: :end ignore += talk: ignore += talk_visual: ignore += friend_spell: ignore += friend_enchant: ignore += friend_action: ignore += sound: stop := runrest_stop_message ignore := runrest_ignore_message # Annoyances : if you.god() == "Jiyva" then ignore += Jiyva gurgles merrily ignore += Jiyva appreciates your sacrifice ignore += Jiyva says: Divide and consume ignore += You hear.*splatter : end ignore ^= You feel.*sick ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += standing in the rain ignore += engulfed in white fluffiness ignore += safely over a trap ignore += A.*toadstool withers and dies ignore += toadstools? grow ignore += You walk carefully through the ignore += starcursed ignore += poisoned autopickup_exceptions += ring (dexterity|intelligence|strength) { function swap_for_autoexplore() local w = items.equipped_at("Weapon") if w and string.find(w.inscription, "autoexplore") then return nil else for i, j in ipairs(items.inventory()) do if string.find(j.inscription, "autoexplore") then return items.index_to_letter(j.slot) end end return nil end end function enhanced_explore() if you.status():find("contam") or you.status("berserk cooldown") or you.status("short of breath") or you.status("corroded") or you.status("vulnerable") or you.exhausted() then crawl.do_commands({"CMD_REST"}) elseif you.status("slowed") then if not (you.strength() <=0 or you.intelligence() <= 0 or you.dexterity() <=0) then crawl.do_commands({"CMD_REST"}) else crawl.do_commands({"CMD_EXPLORE"}) end else crawl.do_commands({"CMD_EXPLORE"}) end end function custom_autoexplore() if not you.feel_safe() then crawl.mpr("But you're not safe!") return end local swap = swap_for_autoexplore() if swap then crawl.sendkeys("w" .. swap) end enhanced_explore() end } { local need_skills_opened = true local speedrun_eat = false function hp_is_low(percentage) local hp, mhp = you.hp() return (100*hp <= percentage*mhp) end function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end if (hp_is_low(15) and last_force_turns and you.turns() == last_force_turns + 1) then last_force_turns = you.turns() crawl.mpr("HP warning!") else last_force_turns = you.turns() end if crawl.messages(5):find("You enter a gauntlet") and you.god()=="Lugonu" then crawl.mpr("Remember to use Corruption!") end if you.status("starving") or you.status("fainting") then if you.feel_safe() and speedrun_eat then crawl.sendkeys("iee") else crawl.do_commands({"CMD_EAT"}) end end fmore_early_threats() end local fmet = false function fmore_early_threats() if you.xl() == 15 and fmet then crawl.setopt("force_more_message -= centaur.* comes? into view") crawl.setopt("force_more_message -= hydra.* comes? into view") crawl.setopt("force_more_message -= killer bee.* comes? into view") crawl.setopt("force_more_message -= electric eel.* comes? into view") fmet = false end end 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 local aftstop = false function toggle_autofirestop() if aftstop then crawl.setopt("autofight_fire_stop = false") crawl.mpr("autofight_fire_stop is off.") else crawl.setopt("autofight_fire_stop = true") crawl.mpr("autofight_fire_stop is on.") end aftstop = not aftstop end local cheiwalk = false function toggle_cheiwalk() if cheiwalk then crawl.setopt("force_more_message -= comes? into view") crawl.mpr("Cheiwalk mode is off.") else crawl.setopt("force_more_message += comes? into view") crawl.mpr("Cheiwalk mode is on.") end cheiwalk = not cheiwalk end local mmores = false function toggle_more_mores() if mmores then crawl.setopt("force_more_message -= Found") crawl.mpr("Less mores.") else crawl.setopt("force_more_message += Found") crawl.mpr("More mores.") end mmores = not mmores end local portalmode = false function toggle_portal_mode() if portalmode then crawl.setopt("show_game_time = false") crawl.mpr("Portal mode is off.") else crawl.setopt("show_game_time = true") crawl.mpr("Portal mode is on.") end portalmode = not portalmode end } { local function safely_take_exit(dir) if exit_turns and you.turns() == exit_turns + 2 then crawl.formatted_mpr("Take the exit?", "prompt") local resp = crawl.getch() if string.lower(string.char(resp)) == "y" then crawl.process_keys(dir) exit_turns = you.turns() end else crawl.process_keys(dir) exit_turns = you.turns() end end function safely_ascend() safely_take_exit("<") end function safely_descend() safely_take_exit(">") end } #################### # Message coloring # #################### # Standard Colors # black, blue, brown, cyan, darkgrey, green, lightblue, lightcyan, lightgreen, # lightgrey, lightmagenta, lightred, magenta, red, yellow, white # Variables for message highlighting $danger := lightred $item_dmg := red $warning := yellow $boring := darkgrey $negative := brown $good := lightblue $positive := green $verypositive := lightgreen $awesome := lightmagenta $interface := cyan $takesaction := blue $godaction := magenta $mp := lightcyan tile_upstairs_col = green tile_branchstairs_col = red tile_door_col = #c27149 tile_wall_col = #4c4141 tile_explore_horizon_col = #919191 tile_floor_col = #0f0d0d tile_item_col = #0f0d0d tile_feature_col = #d4be21 tile_plant_col = #3e5a2f tile_water_col = #0b5d79 tile_deep_water_col = #1212b3 tile_trap_col = #f447ff tile_transporter_col = #ff5656 tile_transporter_landing_col = #59ff89 tile_lava_col = #5f0a00 more += (?-i:[A-Z]).*(comes? into view|opens the) macros += M o ===custom_autoexplore #macros += M \{9} \{9}o\{9} macros += M \{8} \{9} macros += M / G> macros += M _ w*o #macros += M p af macros += M \{-1011} ===toggle_autothrow macros += M \{-1012} ===toggle_autofirestop #macros += M < ===safely_ascend #macros += M > ===safely_descend travel_one_unsafe_move = true note_chat_messages = true prompt_menu = false tile_web_mouse_control = false menu_arrow_control = true sort_menus = true : >identified