# Samel settings # generic gfx tile_skip_title = true # PC gfx tile_font_crt_size = 22 tile_font_stat_size = 28 tile_font_msg_size = 24 tile_font_tip_size = 22 tile_font_lbl_size = 18 tile_font_ft_light = false tile_display_mode = tiles tile_cell_pixels = 65 tile_menu_icons = true tile_filter_scaling = false tile_map_pixels = 2 tile_map_scale = 0.3 mouse_input = false tile_web_mouse_control = false # mobile gfx #tile_font_crt_size = 12 #tile_font_stat_size = 12 #tile_font_msg_size = 12 #tile_font_tip_size = 10 #tile_font_lbl_size = 8 #tile_font_ft_light = false #tile_display_mode = glyphs #tile_cell_pixels = 32 #tile_menu_icons = false #tile_map_pixels = 1 #tile_map_scale = 0.3 #tile_use_small_layout = true #tile_overlay_col = #000000 #tile_overlay_alpha_percent = 50 #tile_force_overlay = true #mouse_input = true #tile_web_mouse_control = true # no more, fuck that show_more = false # confirmations confirm_butcher = never easy_confirm = all # always rest for both hp and mp rest_wait_both = true explore_auto_rest = true # delays view_delay = 1000 travel_delay = 30 # auto open skills at game start and use manual! default_manual_training = true { 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 } # always show spell/ability menu spell_menu = true ability_menu = true # mini map colors tile_upstairs_col = #99ff33 tile_downstairs_col = #ff1a1a tile_branchstairs_col = #ff1a1a tile_portal_col = #ff1a1a tile_door_col = #cb6d4d tile_wall_col = #595959 tile_explore_horizon_col = #bfbfbf tile_floor_col = #262626 tile_item_col = #262626 tile_feature_col = #d4be21 tile_plant_col = #5c8745 tile_water_col = #0086b3 tile_deep_water_col = #1f1fed tile_trap_col = #d24dff tile_transporter_col = #ff80bf tile_transporter_landing_col = #59ff89 tile_lava_col = #6f0b00 bold_brightens_foreground = true # stat warning and colors hp_colour = 100:lightgreen, 99:green, 75:yellow, 50:lightred, 25:red mp_colour = 100:lightblue, 99:blue, 50:yellow, 25:red mp_warning = 30 hp_warning = 30 # selection fix [hoping to not break anything else] colour.blue = cyan # keybinding for F1 since in chrome is help macros += K \{F2} \{F1} # function and macros to auto attack or auto explore based on danger autofight_throw = false { function exploreOrFight() mon_in_sight = false los = you.los() for i = -los, los do for j = -los, los do local mons = monster.get_monster_at(i, j) if mons and not mons:is_safe() then mon_in_sight = true --local mon_name = mons:name() --crawl.mpr(mon_name .. " is nearby!", 5) end end end if mon_in_sight == true then crawl.do_commands({"CMD_AUTOFIGHT"}) else crawl.do_commands({"CMD_EXPLORE"}) end end } macros += M o ===exploreOrFight macros += M \{9} ===exploreOrFight