# vim: ft=config ##### Crawl Init file ############################################### # For descriptions of all options, as well as some more in-depth information # on setting them, consult the file # options_guide.txt # in your /docs directory. If you can't find it, the file is also available # online at: # https://gitorious.org/crawl/crawl/source/HEAD:crawl-ref/docs/options_guide.txt # # Crawl uses the first file of the following list as its option file: # * init.txt in the -rcdir directory (if specified) # * .crawlrc in the -rcdir directory (if specified) # * init.txt (in the Crawl directory) # * ~/.crawl/init.txt (Unix only) # * ~/.crawlrc (Unix only) # * ~/init.txt (Unix only) # * settings/init.txt (in the Crawl directory) restart_after_game = true autopickup_starting_ammo = true autopickup_exceptions += qty,basename ability_menu = false autofight_stop = 60 hp_warning = 40 mp_warning = 40 hp_colour = lightgrey, 99:green, 80:yellow, 50:red mp_colour = lightgrey, 99:green, 80:yellow, 50:red stat_colour = 1:lightred, 3:red, 7:yellow enemy_hp_colour = lightgreen green yellow brown magenta red lightgrey show_more = false small_more = true item_stack_summary_minimum = 2 msg_min_height = 9 msg_max_height = 10 force_more_message += You are starting to lose your buoyancy force_more_message += Space (bends|warps horribly) around you force_more_message += danger: force_more_message += Found a gateway leading out of the Abyss force_more_message += You feel less protected from missles\. force_more_message += .* comes? into view\. force_more_message += Your transformation is almost over\. force_more_message += Xom is getting BORED\. force_more_message += Your icy armour starts to melt\. force_more_message += finished your manual force_more_message += You fee strangely unstable msg_condense_repeats = true msg_condense_short = true show_travel_trail = true skill_focus = true autoinscribe += distortion:!w autoinscribe += deck:!p autoinscribe += potion.*mutation:!q autoinscribe_cursed = true show_god_gift = unident note_chat_messages = true note_messages += You pass through the gate note_messages += [bB]anish.*Abyss note_messages += Your scales start note_messages += protects you from harm note_messages += You fall through a shaft show_player_species = true ## Lua hacks ###################################################################### # Add the following to your options file to automatically pick up # armour for non-body armour slots (gloves, boots, etc.), if you don't # already have an item equipped there. # { # add_autopickup_func(function(it, name) # 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 # return false # end) # } ###################################################################### # To automatically open the skill menu when starting a new game, add # the following to your options file. { local need_skills_opened = true function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end end } # don't autopickup in the abyss {{{ < do local old_ch_deny_autopickup = ch_deny_autopickup or function() return false end function ch_deny_autopickup(it) return you.where() == "Abyss" or old_ch_deny_autopickup(it) end end > }}} # prompt for leaving labs {{{ < do function safe_upstairs() if you.branch() == "Lab" then crawl.formatted_mpr("Really leave this labyrinth?", "prompt") local res = crawl.getch() if string.lower(string.char(res)) == "y" then crawl.sendkeys("<") end else crawl.sendkeys("<") end end end >