Advertisement
Guest User

Untitled

a guest
Dec 28th, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.19 KB | None | 0 0
  1. # Crawl Init file
  2. #
  3. # On Unix systems (such as Mac OS X, Linux and the BSDs), you must copy
  4. # init.txt to ~/.crawlrc or ~/.crawl/init.txt as:
  5. # cp init.txt ~/.crawlrc
  6. #
  7. # Lines beginning with '#' are comments. The basic syntax is:
  8. #
  9. # field = value or field.subfield = value
  10. #
  11. # Only one specification is allowed per line.
  12. #
  13. # The terms are typically case-insensitive except in the fairly obvious
  14. # cases (the character's name and specifying files or directories when
  15. # on a system that has case-sensitive filenames).
  16. #
  17. # White space is stripped from the beginning and end of the line, as
  18. # well as immediately before and after the '='. If the option allows
  19. # multiple comma/semicolon-separated terms (such as
  20. # autopickup_exceptions), all whitespace around the separator is also
  21. # trimmed. All other whitespace is left intact.
  22. #
  23. # For descriptions concerning an option consult the file
  24. # options_guide.txt
  25. # in your /docs directory. Also note that the ordering of the options
  26. # is taken from that file; this is for presentational reasons only.
  27. #
  28. # Note that all boolean options (i.e. values of 'true' or 'false') have
  29. # their non-default value commented out. You can toggle these by just
  30. # uncommenting.
  31. # Options with several values, e.g.
  32. # confirm_butcher = (auto | always | never),
  33. # usually have the first value as default.
  34. #
  35. # The options for monster glyphs and item colours don't matter for Tiles.
  36. # Similarily, tile options are ignored in console games.
  37.  
  38. ##### Ancient versions ##############################################
  39. # If you're used to the interface of ancient versions of Crawl, you may
  40. # get back parts of it by uncommenting the following options:
  41.  
  42. # include = 034_command_keys.txt
  43. # clear_messages = true
  44. #
  45. # And to revert monster glyph and colouring changes:
  46. # include = 034_monster_glyphs.txt
  47. # include = 052_monster_glyphs.txt
  48. # include = 060_monster_glyphs.txt
  49. # include = 071_monster_glyphs.txt
  50. # include = 080_monster_glyphs.txt
  51. # include = 0.9_monster_glyphs.txt
  52. # include = 0.12_monster_glyphs.txt
  53. # include = 0.13_monster_glyphs.txt
  54.  
  55. ##### 1- Starting Screen ############################################
  56. #
  57. # name = Delilah
  58. remember_name = true
  59. # weapon = (short sword | falchion | quarterstaff | hand axe | spear | mace
  60. # | trident | unarmed | random)
  61. # species = (Human |...| Vampire | random)
  62. # job = (Fighter |...| Wanderer | random)
  63. # random_pick = true
  64. # good_random = false
  65. restart_after_game = true
  66. restart_after_save = true
  67. default_manual_training = true
  68.  
  69. #############################Pickup 2ch ############################
  70. ae := autopickup_exceptions
  71. ae += useless_item, dangerous_item, evil_item
  72.  
  73. # Don't pick up potion(s) of [coagulated] blood if you are not a vampire
  74. : if you.race() ~= "Vampire" then
  75. ae += potions? of.*blood
  76. : end
  77.  
  78. # Autopickup artefacts
  79. ae += <artefact
  80.  
  81. # Armour/Weapon autopickup by rwbarton, enhanced by HDA with fixes from Bloaxor
  82. {
  83. add_autopickup_func(function(it, name)
  84. if it.is_useless then
  85. return false
  86. end
  87.  
  88. if name:find("curare") then return true end
  89. if name:find("dispersal") and (name:find("dart") or name:find("tomahawk"))
  90. then return true end
  91. if name:find("throwing net") then return true end
  92.  
  93. local class = it.class(true)
  94. local armour_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves",
  95. boots="Boots", body="Armour", shield="Shield"}
  96.  
  97. if (class == "armour") then
  98. sub_type = it.subtype()
  99. equipped_item = items.equipped_at(armour_slots[sub_type])
  100.  
  101. if (sub_type == "cloak") or (sub_type == "helmet") or (sub_type ==
  102. "gloves") or (sub_type == "boots") then
  103. if not equipped_item then
  104. return true
  105. else
  106. return it.artefact or it.branded or it.ego
  107. end
  108. end
  109.  
  110. if (sub_type == "body") then
  111. if equipped_item then
  112. local armourname = equipped_item.name()
  113. if equipped_item.artefact or equipped_item.branded or
  114. equipped_item.ego or (equipped_item.plus > 2) or armourname:find("dragon") or
  115. armourname:find("troll") then
  116. return it.artefact
  117. else
  118. return it.artefact or it.branded or it.ego
  119. end
  120. end
  121. return true
  122. end
  123.  
  124. if (sub_type == "shield") then
  125. if equipped_item then
  126. return it.artefact or it.branded or it.ego
  127. end
  128. end
  129. end
  130.  
  131. if (class == "weapon") then
  132. if (you.xl() < 12) or (you.god():find("Nemelex")
  133. or (you.god():find("Yred"))
  134. or (you.god():find("Beogh"))) then
  135. if it.branded and not (it.name() == "club") then
  136. return false
  137. end
  138. end
  139. local weapon = items.equipped_at("Weapon")
  140. if weapon then
  141. if (weapon.branded or weapon.artefact) then return false
  142. else
  143. local weapon_name = weapon.name()
  144. local sb = you.skill("Short Blades")
  145. local lb = you.skill("Long Blades")
  146. local axe = you.skill("Axes")
  147. local mf = you.skill("Maces & Flails")
  148. local pole = you.skill("Polearms")
  149. local staff = you.skill("Staves")
  150. if sb > 6 then
  151. if name:find("quick blade") then return true end
  152. end
  153. if lb > 8 then
  154. if name:find("demon blade") then return true end
  155. if name:find("bastard sword") then return true end
  156. if name:find("double sword") then return true end
  157. end
  158. if lb > 14 then
  159. if name:find("claymore") then return true end
  160. if name:find("triple sword") then return true end
  161. end
  162. if axe > 8 and mf <= 8 then
  163. if name:find("battleaxe") then return true end
  164. if name:find("broad axe") then return true end
  165. if name:find("war axe") then return true end
  166. if name:find("executioner") then return true end
  167. end
  168. if axe > 18 then
  169. if name:find("executioner") then return true end
  170. end
  171. if mf > 8 and staff <= 8 and axe <= 8 then
  172. if name:find("eveningstar") then return true end
  173. if name:find("demon whip") then return true end
  174. if name:find("sacred scourge") then return true end
  175. if name:find("dire flail") then return true end
  176. end
  177. if mf > 14 and staff <= 14 and axe <= 14 then
  178. if name:find("great mace") then return true end
  179. end
  180. if pole > 8 and staff <= 8 then
  181. if name:find("trident") then return true end
  182. if name:find("demon trident") then return true end
  183. if name:find("trishula") then return true end
  184. end
  185. if pole > 14 and staff <= 14 then
  186. if name:find("glaive") then return true end
  187. if name:find("bardiche") then return true end
  188. end
  189. if staff > 8 then
  190. if name:find("lajatang") then return true end
  191. end
  192. end
  193. elseif (you.skill("Unarmed Combat") < 3) then
  194. return true
  195. end
  196. end
  197. end)
  198. }
  199. ####################################################################
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208. ##### 2- File System ###############################################
  209. #
  210. # crawl_dir = <path>
  211. # morgue_dir = morgue
  212. # save_dir = saves
  213. # macro_dir = settings/
  214. # sound = <regex>:<path to sound file>
  215.  
  216. ##### 3- Interface #################################################
  217. #
  218. ##### 3-a Picking up and Dropping ###############
  219. #
  220. # Rods are \ here.
  221. # autopickup = $?!:"/%
  222.  
  223. #autopickup_exceptions += <poisoned needle
  224. #autopickup_exceptions += <blowgun
  225. autopickup_exeptions += Potion of lignification
  226. autopickup_exeptions += Scroll of immolation
  227.  
  228. # drop_filter += useless_item
  229.  
  230. # default_autopickup = false
  231. # pickup_thrown = false
  232. chunks_autopickup = true
  233. # assign_item_slot = (forward | backward)
  234. #
  235. # pickup_menu_limit = 1
  236. # drop_filter += useless_item
  237.  
  238. ##### 3-b Targeting ############################
  239. #
  240. # darken_beyond_range = false
  241.  
  242. ##### 3-c Passive Sightings #####################
  243. #
  244. # detected_monster_colour = lightred
  245. # detected_item_colour = green
  246. # remembered_monster_colour = darkgrey
  247.  
  248. ##### 3-d Branding ##############################
  249. #
  250. # friend_brand = hi:green
  251. # neutral_brand = hi:lightgrey
  252. # stab_brand = hi:blue
  253. # may_stab_brand = hi:yellow
  254. # heap_brand = reverse
  255. # feature_item_brand = reverse
  256. # trap_item_brand = reverse
  257.  
  258. ##### 3-e Level Map Functions ###################
  259. #
  260. # level_map_cursor_step = 7
  261. # show_waypoints = false
  262.  
  263. ##### 3-f Viewport Options ###################
  264. #
  265. # view_max_width = 33
  266. # view_max_height = 21
  267. # view_lock_x = false
  268. # view_lock_y = false
  269. # view_lock = false
  270. # center_on_scroll = true
  271. # symmetric_scroll = false
  272. # scroll_margin_x = 2
  273. # scroll_margin_y = 2
  274. # scroll_margin = 2
  275.  
  276. ##### 3-g Travel and Exploration #################
  277. #
  278. travel_delay = 1 (or -1 online)
  279. explore_delay = 0
  280. rest_delay = -1 (or -1 online)
  281. # travel_avoid_terrain = shallow water
  282. #
  283. # explore_greedy = false
  284. # explore_stop = items,stairs,shops,altars,portals,branches,runed_doors
  285. # explore_stop += greedy_pickup_smart,greedy_visited_item_stack
  286. # explore_stop += greedy_sacrificeable
  287. sacrifice_before_explore = true
  288. # explore_improved = true
  289. # explore_wall_bias = 0
  290. # travel_key_stop = false
  291. auto_sacrifice = true
  292. #
  293. # explore_stop_pickup_ignore += curare
  294. # auto_exclude += oklob,statue,curse skull,roxanne,hyperactive,lightning spire
  295. # auto_exclude += mimic
  296.  
  297. # tc_reachable = blue
  298. # tc_dangerous = cyan
  299. # tc_disconnected = darkgrey
  300. # tc_excluded = lightmagenta
  301. # tc_exclude_circle = red
  302.  
  303. # Interrupting run and rest compound commands:
  304. # runrest_safe_poison = 80:100
  305. # runrest_ignore_monster ^= butterfly:1
  306. # runrest_ignore_monster ^= swamp worm:3
  307. # runrest_stop_message += You hear a.* slurping noise
  308. # runrest_ignore_message += Jiyva's power touches on your attributes
  309.  
  310. runrest_stop_message += Your battlesphere wavers and loses cohesion.
  311. runrest_stop_message += You feel your bond with your battlesphere wane.
  312. runrest_stop_message += Your transformation is almost over.
  313.  
  314. # A good number of runrest_messages are defined by default; you may want to
  315. # clear them or override some.
  316.  
  317. # trapwalk_safe_hp = needle:15,arrow:35,bolt:45,spear:40,blade:95
  318.  
  319. #rest_wait_both = true
  320.  
  321. ##### 3-h Command Enhancements ##################
  322. #
  323. # auto_switch = true
  324. # travel_open_doors = false
  325. # easy_unequip = false
  326. # equip_unequip = true
  327. # jewellery_prompt = true
  328. # easy_confirm = (none | safe | all)
  329. allow_self_target = no
  330. confirm_butcher = none
  331. # easy_eat_chunks = true
  332. auto_eat_chunks = true
  333. # auto_drop_chunks = (never | rotten | yes)
  334. # prompt_for_swap = false
  335. # easy_quit_item_prompts = false
  336. # easy_exit_menu = true
  337. # sort_menus = pickup: true : art, ego, basename, qualname, curse, qty
  338. # sort_menus = inv: true : equipped, freshness, charged
  339.  
  340. autofight_stop = 60
  341. # automagic_enable = false
  342. # automagic_fight = false
  343. # automagic_stop = 0
  344.  
  345. ##### 3-i Messages and Display Enhancements #####
  346. #
  347. # hp_warning = 50
  348. # mp_warning = 0
  349. # hp_colour = 50:yellow, 25:red
  350. # mp_colour = 50:yellow, 25:red
  351. # stat_colour = 1:lightred, 3:red
  352.  
  353. # status_caption_colour = yellow
  354. # clear_messages = true
  355. # small_more = true
  356. # show_more = false
  357. # show_newturn_mark = false
  358. # show_game_turns = false
  359. # item_stack_summary_minimum = 4
  360. # mlist_min_height = 4
  361. # mlist_allow_alternate_layout = true
  362. # mlist_targeting = true
  363. # msg_min_height = 7
  364. # msg_max_height = 10
  365. # messages_at_top = true
  366. # msg_condense_repeats = false
  367. # msg_condense_short = false
  368. # skill_focus = false
  369. show_travel_trail = true
  370. # view_delay = 600
  371.  
  372. # You can also enforce a --more-- prompt for messages
  373.  
  374. ## Avoid wasting turns with aborted actions:
  375. # force_more_message += There are no visible monsters within range
  376. # force_more_message += This wand has no charges
  377.  
  378. show_more = false
  379. clear_messages = true
  380.  
  381. ##### 3-j Colours (messages and menus) ##########
  382. #
  383. # Items are colour coded by default as follows:
  384. #
  385. # yellow = useful escape item / preferred food
  386. # darkgrey = cannot be used
  387. # lightred = harmful / cursed and in use
  388. # magenta = dangerous to use / mutagenic
  389. # red = disliked by your deity
  390. # lightgreen = poisonous (food only)
  391. # brown = less nutritious (food only)
  392. # cyan = useful non-combat item
  393. # white = artefact
  394. # lightblue = unidentified magic item
  395. #
  396. # You can change colours by using something like
  397. # menu_colour ^= inventory:magenta:shillelagh
  398. # or ones in pick-up dialogs:
  399. # menu_colour ^= pickup:green:god gift
  400.  
  401. # Colouring of messages
  402. # Messages are colour coded as follows:
  403. #
  404. # lightred = really important messages
  405. # yellow = significant messages
  406. # lightred = item damaged/destroyed
  407. # darkgrey = boring, message clutter
  408. #
  409.  
  410. # Notes also use, quite misnamed, menu_colour:
  411. # menu_colour ^= notes:white:Reached XP level
  412.  
  413. # These lines will suppress extra feedback messages from travel/shift-running.
  414. #
  415. # message_colour ^= mute:monster_warning:
  416. # message_colour ^= mute:You start resting
  417. # message_colour ^= mute:(HP|Magic) restored
  418. # message_colour ^= mute:warning:Not with.*(in view|monsters around)
  419.  
  420. ##### 3-k Firing Commands #######################
  421. #
  422. # fire_items_start = a
  423. # fire_order = launcher, return
  424. # fire_order += javelin / tomahawk / stone / rock / net
  425. # fire_order += inscribed
  426.  
  427. ##### 3-l Channels ##############################
  428. #
  429. # channel.multiturn = mute
  430.  
  431. ##### 3-m Inscriptions ##########################
  432. #
  433. # autoinscribe += bad_item.*potion:!q
  434. # autoinscribe += potion.*mutation:!q
  435. # autoinscribe_cursed = false
  436. # autoinscribe += fruit:!e
  437. # show_god_gift = yes|unident|no
  438.  
  439. ##### 3-n Macro related Options #################
  440. #
  441. # flush.failure = false
  442. # flush.command = true
  443. # flush.message = true
  444.  
  445. ##### 3-o Tile related Options ##################
  446. #
  447. # tile_show_items = !?/%=([)x}:|\
  448.  
  449. tile_skip_title = true
  450. # tile_menu_icons = false
  451.  
  452. ### The following lines define the colours of various objects within the
  453. ### tiles minimap. See options_guide.txt for more details.
  454.  
  455. # tile_player_col = white
  456. # tile_monster_col = #660000
  457. # tile_neutral_col = #660000
  458. # tile_peaceful_col = #664400
  459. # tile_friendly_col = #664400
  460. # tile_plant_col = #446633
  461. # tile_item_col = #005544
  462. # tile_unseen_col = black
  463. # tile_floor_col = #333333
  464. # tile_wall_col = #666666
  465. # tile_mapped_floor_col = #222266
  466. # tile_mapped_wall_col = #444499
  467. # tile_door_col = #775544
  468. # tile_downstairs_col = #ff00ff
  469. # tile_upstairs_col = cyan
  470. # tile_branchstairs_col = #ff7788
  471. # tile_portal_col = #ffdd00
  472. # tile_feature_col = #997700
  473. # tile_trap_col = #aa6644
  474. # tile_water_col = #114455
  475. # tile_deep_water_col = #001122
  476. # tile_lava_col = #552211
  477. # tile_excluded_col = #552266
  478. # tile_excl_centre_col = #552266
  479. # tile_window_col = #558855
  480.  
  481. # If Crawl's response rate is too slow, try increasing the update rate.
  482. # tile_update_rate = 1000
  483.  
  484. # If Crawl is lagging when running or resting, try increasing this number.
  485. # tile_runrest_rate = 100
  486.  
  487. # tile_key_repeat_delay = 200
  488. # tile_tooltip_ms = 500
  489.  
  490. # tile_tag_pref = enemy
  491.  
  492. ### Note: setting window, map or font sizes to '0' implies auto-sizing.
  493.  
  494. # tile_full_screen = false
  495. tile_window_width = 0
  496. tile_window_height = 0
  497. # tile_use_small_layout = true
  498. # tile_map_pixels = 3
  499. # tile_cell_pixels = 32
  500. # tile_filter_scaling = true
  501. # tile_force_overlay = true
  502. tile_layout_priority = minimap,spell,ability, inventory, gold_turn
  503. # tile_layout_priority += ability, spell. command
  504.  
  505. # tile_font_crt_file = VeraMono.ttf
  506. # tile_font_stat_file = VeraMono.ttf
  507. # tile_font_msg_file = VeraMono.ttf
  508. # tile_font_tip_file = VeraMono.ttf
  509. # tile_font_lbl_file = Vera.ttf
  510. # tile_font_ft_light = false
  511.  
  512. # tile_font_crt_size = 15
  513. # tile_font_stat_size = 16
  514. # tile_font_msg_size = 14
  515. # tile_font_tip_size = 15
  516. # tile_font_lbl_size = 14
  517.  
  518. # tile_show_minihealthbar = false
  519. # tile_show_minimagicbar = false
  520. # tile_show_demon_tier = false
  521.  
  522. # tile_water_anim = false
  523. # tile_misc_anim = false
  524.  
  525. ### WebTiles only
  526.  
  527. # tile_font_crt_family = monospace
  528. # tile_font_stat_family = monospace
  529. # tile_font_msg_family = monospace
  530. # tile_font_lbl_family = monospace
  531.  
  532. # tile_realtime_anim = true
  533. # tile_display_mode = glyph
  534. # tile_level_map_hide_messages = false
  535. # tile_level_map_hide_sidebar = true
  536.  
  537. ##### 4- Dump File #################################################
  538. #
  539. ##### 4-a Saving ################################
  540. #
  541. # dump_on_save = false
  542.  
  543. ##### 4-b Items and Kill List ###################
  544. #
  545. # kill_map = friend:you, other:you
  546. # dump_kill_places = (single | all | none)
  547. # dump_kill_breakdowns = true
  548. # dump_item_origins = all,artifacts,ego_arm,ego_weap,jewellery,runes
  549. # dump_item_origin_price = -1
  550. # dump_message_count = 20
  551. # dump_order = header, hiscore, stats, misc, notes, inventory,
  552. # dump_order += turns_by_place, skills, spells, overview, mutations,
  553. # dump_order += messages, screenshot, monlist, kills_by_place, kills
  554. # dump_order += action_counts
  555. # dump_book_spells = false
  556.  
  557. ##### 4-c Notes #################################
  558. #
  559. # user_note_prefix=@@@
  560. # note_hp_percent = 5
  561. # note_skill_levels = 1,5,10,15,27
  562. # note_all_skill_levels = true
  563. # note_skill_max = false
  564. # note_xom_effects = false
  565. # note_chat_messages = false
  566. # note_items += rod of, acquirement, running, of Zot
  567. # note_monsters += orb of fire, ancient lich, Sigmund
  568.  
  569. ##### 5- Miscellaneous #############################################
  570. #
  571. ##### 5-a All OS ################################
  572. #
  573. # mouse_input = true
  574. # wiz_mode = no
  575. # char_set = ascii
  576. # use_fake_player_cursor = false
  577. #
  578. # Translation to use (descriptions only for now).
  579. # language = pl|fr|zh|ko|fi|ru|el|da|li|pt|de|lv|cs|hu
  580. #
  581. # Joke translations (complete!).
  582. # language = dwarven|jagerkin|kraut|runes|wide|grunt
  583. #
  584. # colour.lightgray = black
  585. # colour.lightcyan = cyan
  586. # colour.yellow = brown
  587. #
  588. # show_player_species = true
  589.  
  590. # See options_guide.txt for the options
  591. # cset, feature, mon_glyph, item_glyph
  592.  
  593. ## Highlight the edge of unexplored terrain.
  594. # feature = explore horizon {',,green}
  595.  
  596. ##### 5-b Windows console #######################
  597. #
  598. # dos_use_background_intensity = true
  599. # background = black
  600.  
  601. ##### 5-c Unix console ##########################
  602. #
  603. # use_fake_cursor = false
  604.  
  605. ##### 5-d Alternative keybinding files ##########
  606. #
  607. # Alternative vi bindings for Dvorak users.
  608. # include = dvorak_command_keys.txt
  609. #
  610. # Alternative vi bindings for Colemak users.
  611. # include = colemak_command_keys.txt
  612. #
  613. # Override the vi movement keys with a non-command.
  614. # include = no_vi_command_keys.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement