# CRAWL.NEMELEX.CARDS # 20240310_0900 # Added "autoinscribe curing:@q1" # Added "Item Slot" section ################# ### Interface ### ################# always_show_zot = true default_manual_training = true show_more = false sort_menus = true:equipped,identified,basename,art,ego,glowing,qualname,slot equip_unequip = true tile_web_mouse_control = false ############################ ### Travel & Exploration ### ############################ rest_wait_both = true travel_delay = -1 explore_delay = -1 rest_delay = -1 show_travel_trail = true explore_stop += greedy_items # travel_avoid_terrain = deep water ############## ### Safety ### ############## autofight_stop = 70 autofight_caught = true hp_warning = 50 ####################### ### Tile Appearance ### ####################### tile_cell_pixels = 48 tile_font_msg_size = 22 tile_font_stat_size = 18 msg_min_height = 7 # Below for reference # view_max_height = 21 # tile_cell_pixels = 32 # tile_font_crt_size = 15 (ability, item menu) # tile_font_stat_size = 16 (stat, minimap) # tile_font_msg_size = 14 (message) # tile_font_lbl_size = 16 (enemy name) # msg_webtiles_height = 7 ################ ### Messages ### ################ more := force_more_message more += (?-i:[A-Z]).* comes? into view more += carrying a wand more += A malevolent force more += watched by something more += A sentinel's mark forms upon you more += You have finished your manual more += Your transformation is almost over stop := runrest_stop_message stop ^= Your transformation is almost over ################### ### Auto Pickup ### ################### autopickup = $?!+"/(} ae := autopickup_exceptions ae += 0 then return end if it.artefact then return true end local cur = items.equipped_at(good_slots[st]) if cur == nil then return true end if cur.branded or cur.artefact then return end if it.branded then return true end -- Autopickup found body armour of the same kind we're wearing, according -- to conditions (2) and (3) above used for aux slots. elseif st == "body" then local cur = items.equipped_at("armour") if cur == nil then return end if cur.name("qual") ~= it.name("qual") then return end if it.artefact then return true end if cur.branded or cur.artefact then return end if it.branded then return true end end end return end add_autopickup_func(pickup_equipment) function ready() -- The ready() function is needed for code that has to process each turn or -- UI action. -- Open skill screen on turn 0. if not skills_set and you.turns() == 0 then crawl.sendkeys("m") skills_set = true end -- Irradiate contamination check. if you.contaminated() > 1 then crawl.setopt("confirm_action += Irradiate") else crawl.setopt("confirm_action -= Irradiate") end end }