autofight_stop = 80 explore_auto_rest = true explore_delay = 20 show_more = false default_manual_training = true { function enhanced_explore() if you.status():find("contam") or you.status("berserking") or you.status("on berserk cooldown") or you.status("short of breath") or you.status("corroded") or you.status("vulnerable") or you.status("poisoned") 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 } macros += M o ===enhanced_explore