macros += M 1 ' macros += K2 1 + macros += K2 s . macros += M 2 Zj macros += M 3 Zk macros += M 4 Zl macros += M 5 zff macros += M 6 ===toggle_autothrow macros += M z Z? macros += M ` o macros += M 0 5 small_more = true show_travel_trail = false cloud_status = true skill_focus = false tile_show_threat_levels = trivial, easy, tough, nasty default_show_all_skills = true default_manual_training = true #show_more = false autofight_caught = true use_animations -= hp #use_animations = false always_show_zot = true rest_wait_both = true view_delay = 100 hp_colour = 0:green mp_colour = 0:blue menu_colour ^= lightgrey:_item menu_colour ^= green:enchanted menu_colour ^= blue:ego|staff of menu_colour ^= magenta:artefact menu_colour ^= brown:equipped menu_colour ^= darkgrey:useless_ message_colour ^= lightgrey: message_colour ^= brown:comes into view message_colour ^= yellow:you have finished your manual message_colour ^= lightgreen:you kill|you destroy|dies|you blow up|is destroyed|more experienced message_colour ^= lightmagenta:distortion force_more_message -= vehumet offers you knowledge spell_slot ^= Passage of Golubria: x spell_slot ^= Lesser Beckoning: F spell_slot ^= Apportation: f spell_slot ^= Lee's Rapid Deconstruction: w spell_slot ^= Borgnjor's Vile Clutch: g spell_slot ^= Passwall: e spell_slot ^= Irradiate: v spell_slot ^= Silence: S spell_slot ^= Swiftness: h spell_slot ^= blink: z item_slot ^= weapon: ab item_slot ^= potion of curing:q item_slot ^= potion of heal wounds:w item_slot ^= potion of haste:h item_slot ^= potion of might:d item_slot ^= potion of resistance:n item_slot ^= scroll of identify:r item_slot ^= scroll of remove curse:x item_slot ^= scroll of teleportation:t item_slot ^= scroll of blinking:z autopickup_exceptions ^= >ring of (pro|poi|res|fli|see|mag|ice|fire|pos|wil|wiz|dex|int|str) autopickup_exceptions ^= >amulet of (the|fai|gua|har|mag|rag|ref|reg) autopickup_exceptions ^= staff of { add_autopickup_func(function(it, name) if it.is_useless then return end if it.class(true) == "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 return true end end end) } local aft = false function toggle_autothrow() if aft then crawl.setopt("use_animations += beam") crawl.setopt("autofight_throw = false") crawl.mpr("Autofight_throw is off.") else crawl.setopt("use_animations -= beam") crawl.setopt("autofight_throw = true") crawl.mpr("Autofight_throw is on.") end aft = not aft end