#force_more_message += .*(comes into view|come into view|opens the) #include = safe_move_shift.txt #force_more_message += is wielding.* of holy wrath autofight_stop = 50 #autofight_stop = 75 #autofight_stop = 60 auto_sacrifice = true autofight_throw_nomove = true autoinscribe += potions? of (blood|coagulated blood):@q2 # autoinscribe += chunks? of:@w2 (RIP) use_animations = beam, range, player, monster, branch_entry, pickup bindkey = [.] CMD_REST bindkey = [H] CMD_SAFE_MOVE_LEFT bindkey = [J] CMD_SAFE_MOVE_DOWN bindkey = [K] CMD_SAFE_MOVE_UP bindkey = [L] CMD_SAFE_MOVE_RIGHT bindkey = [Y] CMD_SAFE_MOVE_UP_LEFT bindkey = [U] CMD_SAFE_MOVE_UP_RIGHT bindkey = [B] CMD_SAFE_MOVE_DOWN_LEFT bindkey = [N] CMD_SAFE_MOVE_DOWN_RIGHT ##### Ancient versions ############################################## # If you're used to the interface of ancient versions of Crawl, you may # get back parts of it by uncommenting the following options: # include = 034_command_keys.txt # target_unshifted_dirs = true # clear_messages = true # # And to revert monster glyph and colouring changes: # include = 034_monster_glyphs.txt # include = 052_monster_glyphs.txt # include = 060_monster_glyphs.txt # include = 071_monster_glyphs.txt # include = 080_monster_glyphs.txt # include = 0.9_monster_glyphs.txt ##### 1- Starting Screen ############################################ # # name = Delilah # remember_name = false # weapon = (short sword | falchion | quarterstaff | hand axe | spear | mace # | trident | unarmed | random) # species = (Human |...| Vampire | random) # job = (Fighter |...| Wanderer | random) # random_pick = true # good_random = false # restart_after_game = true # default_manual_training = true ##### 2- File System ############################################### # # crawl_dir = # morgue_dir = morgue # save_dir = saves # macro_dir = settings/ # sound = : ##### 3- Interface ################################################# # ##### 3-a Picking up and Dropping ############### # # Rods are \ here. # autopickup = $?!:"/% # show_game_turns = false # drop_filter += useless_item # default_autopickup = false autopickup_no_burden = false # pickup_thrown = false # chunks_autopickup = false # assign_item_slot = (forward | backward) # # drop_mode = (multi | single) pickup_mode = multi # drop_filter += skeleton, corpse, useless_item # default_friendly_pickup = (none | friend | player | all) autofight_throw = false autopickup = $?!:"/%|\ ae := autopickup_exceptions ae = ae += useless_item ae += : local dmg_old_hp = 0 : function DmgTrack() : local bot_hp, bot_mhp = you.hp() : local dmg_inturn = 0 : if dmg_old_hp > 0 then : dmg_inturn = dmg_old_hp - bot_hp : if bot_hp < dmg_old_hp then : crawl.mpr("You take " .. dmg_inturn .. " damage.") : end : end : dmg_old_hp = bot_hp : end { local function armour_plus(it) local plus = string.gsub(it.name(), "+", "", 1) return tonumber(string.gsub(plus, "[^-%d]", "")) end local function autopickup(it, name) if name:find("useless") then return end if it.artefact then return true end local class = it.class(true) if class == "armour" then local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots"} st, _ = it.subtype() if good_slots[st] ~= nil then if it.branded 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 false end if armour_plus(it) ~= nil then if armour_plus(it) > armour_plus(cur) then return true end end end if you.xl() < 14 then if name:find("dragon hide") or name:find("dragon armour") or name:find("crystal") then return true end end end if class == "weapon" then if you.xl() < 14 then if name:find("demon") or name:find("bastard") or name:find("eveningstar") or name:find("lajatang") or name:find("quick blade") then return true end end end if class == "missile" then if name:find("curare") or name:find("throwing net") then return true end end return end add_autopickup_func(autopickup) }