Advertisement
Guest User

Untitled

a guest
Feb 28th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.57 KB | None | 0 0
  1. ##### Crawl Init file ###############################################
  2. # For descriptions of all options, as well as some more in-depth information
  3. # on setting them, consult the file
  4. # options_guide.txt
  5. # in your /docs directory. If you can't find it, the file is also available
  6. # online at:
  7. # https://github.com/crawl/crawl/blob/master/crawl-ref/docs/options_guide.txt
  8.  
  9. ##### Other files ###################################################
  10. # You can include other files from your options file using the 'include'
  11. # option. Crawl will treat it as if you copied the whole text of that file
  12. # into your options file in that spot. You can uncomment some of the following
  13. # lines by removing the beginning '#' to include some of the other files in
  14. # this folder.
  15.  
  16. # Some useful, more advanced options, implemented in LUA.
  17. include = advanced_optioneering.txt
  18.  
  19. # Alternative vi bindings for Dvorak users.
  20. # include = dvorak_command_keys.txt
  21.  
  22. # Alternative vi bindings for Colemak users.
  23. # include = colemak_command_keys.txt
  24.  
  25. # Alternative vi bindings for Neo users.
  26. # include = neo_command_keys.txt
  27.  
  28. # Override the vi movement keys with a non-command.
  29. # include = no_vi_command_keys.txt
  30.  
  31. # Turn the shift-vi keys into safe move, instead of run.
  32. # include = safe_move_shift.txt
  33.  
  34. ##### Ancient versions ##############################################
  35. # If you're used to the interface of ancient versions of Crawl, you may
  36. # get back parts of it by uncommenting the following options:
  37.  
  38. # include = 034_command_keys.txt
  39.  
  40. # And to revert monster glyph and colouring changes:
  41.  
  42. # include = 052_monster_glyphs.txt
  43. # include = 060_monster_glyphs.txt
  44. # include = 071_monster_glyphs.txt
  45. # include = 080_monster_glyphs.txt
  46. # include = 0.9_monster_glyphs.txt
  47. # include = 0.12_monster_glyphs.txt
  48. # include = 0.13_monster_glyphs.txt
  49. # include = 0.14_monster_glyphs.txt
  50.  
  51. ####################
  52. # Skill menu #
  53. ####################
  54. default_manual_training = true
  55. default_show_all_skills = true
  56.  
  57. ##############
  58. # Autopickup #
  59. ##############
  60.  
  61. # Used
  62. # $ = gold
  63. # ? = scroll
  64. # ! = potion
  65. # : = book
  66. # " = jewellery
  67. # / = wand
  68. # % = food
  69. # } = miscellaneous
  70. # \ = rods
  71. # | = staves
  72. : if (you.god():find("Trog")) then
  73. autopickup += $?!:"/%}\
  74. : else
  75. autopickup += $?!:"/%}\|
  76. : end
  77.  
  78. # Unused
  79. # ) = weapon
  80. # ( = missiles
  81. # [ = armour
  82. # X = corpses
  83.  
  84. # Allows easily dropping multiple items
  85. drop_mode += multi
  86. # Always show the full list of items when you pick up a stack
  87. pickup_mode += multi
  88. # Allows followers to pick up ANYTHING (take care not to lose artefacts)
  89. default_friendly_pickup += all
  90.  
  91. # Set Alias for Autopickup Exceptions
  92. ae := autopickup_exceptions
  93. ae += useless_item, dangerous_item, evil_item
  94.  
  95. # Don't pick up potion(s) of [coagulated] blood if you are not a vampire
  96. : if you.race() ~= "Vampire" then
  97. ae += potions? of.*blood
  98. : end
  99.  
  100. # Autopickup artefacts
  101. ae += <artefact
  102.  
  103. # Armour/Weapon autopickup by rwbarton, enhanced by HDA with fixes from Bloaxor
  104. {
  105. add_autopickup_func(function(it, name)
  106.  
  107. if name:find("dart") then return true end
  108. if name:find("dispersal") and name:find("boomerang") then return true end
  109. if name:find("throwing net") then return true end
  110.  
  111. local class = it.class(true)
  112. local armour_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots", body="Armour", shield="Shield"}
  113.  
  114. if (class == "armour") then
  115. if it.is_useless then return false end
  116.  
  117. sub_type = it.subtype()
  118. equipped_item = items.equipped_at(armour_slots[sub_type])
  119.  
  120. if (sub_type == "cloak") or (sub_type == "helmet") or (sub_type == "gloves") or (sub_type == "boots") then
  121. if not equipped_item then
  122. return true
  123. else
  124. return it.artefact or it.branded or it.ego
  125. end
  126. end
  127.  
  128. if (sub_type == "body") then
  129. if equipped_item then
  130. local armourname = equipped_item.name()
  131. if equipped_item.artefact or equipped_item.branded or equipped_item.ego or (equipped_item.plus > 2) or armourname:find("dragon") or armourname:find("troll") then
  132. return it.artefact
  133. else
  134. return it.artefact or it.branded or it.ego
  135. end
  136. end
  137. return true
  138. end
  139.  
  140. if (sub_type == "shield") then
  141. if equipped_item then
  142. return it.artefact or it.branded or it.ego
  143. end
  144. end
  145. end
  146.  
  147. if (class == "weapon") then
  148. if it.is_useless then return false end
  149.  
  150. if (you.xl() < 12) or (you.god():find("Nemelex")
  151. or (you.god():find("Yred"))
  152. or (beogh_autopickup)) then
  153. if it.branded and not (it.name() == "club") then
  154. return false
  155. end
  156. end
  157. local weapon = items.equipped_at("Weapon")
  158. if weapon then
  159. if (weapon.branded or weapon.artefact) then return false
  160. else
  161. local weapon_name = weapon.name()
  162. local sb = you.skill("Short Blades")
  163. local lb = you.skill("Long Blades")
  164. local axe = you.skill("Axes")
  165. local mf = you.skill("Maces & Flails")
  166. local pole = you.skill("Polearms")
  167. local staff = you.skill("Staves")
  168. if sb > 6 then
  169. if name:find("quick blade") then return true end
  170. end
  171. if lb > 8 then
  172. if name:find("demon blade") then return true end
  173. if name:find("bastard sword") then return true end
  174. if name:find("double sword") then return true end
  175. end
  176. if lb > 14 then
  177. if name:find("claymore") then return true end
  178. if name:find("triple sword") then return true end
  179. end
  180. if axe > 8 and mf <= 8 then
  181. if name:find("battleaxe") then return true end
  182. if name:find("broad axe") then return true end
  183. if name:find("war axe") then return true end
  184. if name:find("executioner") then return true end
  185. end
  186. if axe > 18 then
  187. if name:find("executioner") then return true end
  188. end
  189. if mf > 8 and staff <= 8 and axe <= 8 then
  190. if name:find("eveningstar") then return true end
  191. if name:find("demon whip") then return true end
  192. if name:find("sacred scourge") then return true end
  193. if name:find("dire flail") then return true end
  194. end
  195. if mf > 14 and staff <= 14 and axe <= 14 then
  196. if name:find("great mace") then return true end
  197. end
  198. if pole > 8 and staff <= 8 then
  199. if name:find("trident") then return true end
  200. if name:find("demon trident") then return true end
  201. if name:find("trishula") then return true end
  202. end
  203. if pole > 14 and staff <= 14 then
  204. if name:find("glaive") then return true end
  205. if name:find("bardiche") then return true end
  206. end
  207. if staff > 8 then
  208. if name:find("lajatang") then return true end
  209. end
  210. end
  211. elseif (you.skill("Unarmed Combat") < 3) then
  212. return true
  213. end
  214. end
  215. end)
  216. }
  217.  
  218. ###############
  219. # Auto Travel #
  220. ###############
  221.  
  222. # Set travel delay to -1 for instant-travel, set to 1 to see travel paths
  223. travel_delay = -1
  224. show_travel_trail = true
  225.  
  226. explore_stop = glowing_items,artefacts,greedy_pickup_smart
  227. explore_stop += greedy_visited_item_stack,stairs,shops
  228. explore_stop += altars,portals,branches,runed_doors,greedy_sacrificeable
  229.  
  230. # Adjusts how much autoexplore favours attempting to discover room perimeters and corners.
  231. # At values higher than 0, autoexplore will more heavily favour visiting squares that are next to walls
  232. # reasonable values range from 0 to 10 maybe?
  233. explore_wall_bias = 3
  234.  
  235. # Make auto travel sacrifice corpses
  236. sacrifice_before_explore = true
  237. auto_sacrifice = true
  238.  
  239. # Disables key press from stopping autoexplore
  240. travel_key_stop = false
  241.  
  242. runrest_ignore_poison = 3:30
  243. runrest_ignore_monster += butterfly:1
  244.  
  245. trapwalk_safe_hp = dart:15,needle:25,arrow:25,bolt:30,spear:20,axe:40,blade:50
  246.  
  247. # Only stop resting when both HP/MP are full
  248. rest_wait_both = true
  249.  
  250. # Set Alias'
  251. stop := runrest_stop_message
  252. ignore := runrest_ignore_message
  253. more := force_more_message
  254.  
  255. ignore += You regained.*mp
  256.  
  257. # Annoyances -- Don't stop autotravel for these events
  258. ignore += A.*toadstool withers and dies
  259. ignore += disappears in a puff of smoke
  260. ignore += engulfed in a cloud of smoke
  261. ignore += engulfed in white fluffiness
  262. ignore += grinding sound
  263. ignore += in your inventory.*rotted away
  264. ignore += safely over a trap
  265. ignore += standing in the rain
  266. ignore += toadstools? grow
  267. ignore += You feel.*sick
  268. ignore += You walk carefully through the
  269. # Jiyva Messages
  270. ignore += Jiyva appreciates your sacrifice
  271. ignore += Jiyva gurgles merrily
  272. ignore += Jiyva says: Divide and consume
  273. ignore += You hear.*splatter
  274. # Qazlal
  275. ignore += The plant is engulfed
  276. ignore += You destroy the (bush|fungus|plant)
  277. ignore += You displace your
  278.  
  279. # Bad things -- Stop autotravel for these events (duplicates some of HDAForceMore)
  280. stop += (blundered into a|invokes the power of) Zot
  281. stop += (devoid of blood|starving)
  282. stop += A huge blade swings out and slices into you[^r]
  283. stop += An alarm trap emits a blaring wail
  284. stop += flesh start
  285. stop += found a zot trap
  286. stop += hear a soft click
  287. stop += lose consciousness
  288. stop += sense of stasis
  289. stop += Wait a moment
  290. stop += wrath finds you
  291. stop += You fall through a shaft
  292.  
  293. # Expiring spells effects -- Stop to allow recasts (duplicates some of HDAForceMore)
  294. # Control Teleport
  295. stop += you feel uncertain
  296. # Death's Door
  297. more += time is quickly running out
  298. more += life is in your own
  299. # Enslavement
  300. more += is no longer charmed
  301. # Flight
  302. more += You are starting to lose your buoyancy
  303. stop += You lose control over your flight
  304. # Haste
  305. more += You feel yourself slow down
  306. # Phase Shift
  307. more += You feel closer to the material plane
  308. # Repel/Deflect
  309. stop += missiles spell is about to expire
  310. # Shroud of Golubria
  311. stop += shroud begins to fray
  312. stop += shroud unravels
  313. more += Your shroud falls apart
  314. # Swiftness
  315. stop += start to feel a little slower
  316. # Transmutations
  317. more += Your transformation is almost over
  318. more += You have a feeling this form
  319. more += Your skin feels tender
  320. more += You feel yourself come back to life
  321.  
  322. # Ghouls (Not part of HDAForceMore)
  323. : if you.race() == "Ghoul" then
  324. stop += smell.*(rott(ing|en)|decay)
  325. stop += something tasty in your inventory
  326. : end
  327.  
  328. # Good things - Bad things wearing off (Duplicates some of HDAForceMore)
  329. stop += contamination has completely
  330. stop += You are no longer firmly anchored in space
  331.  
  332. #Ally actions?
  333. #ignore += pray:
  334. #ignore += friend_spell:
  335. #ignore += friend_enchant:
  336. #ignore += friend_action:
  337. #ignore += sound:
  338.  
  339.  
  340. #debuffs
  341. more += sentinel's mark
  342.  
  343. #portals
  344. more += a flagged portal
  345. more += gateway to a bazaar
  346. more += a frozen archway
  347. more += covered staircase
  348. more += a glowing drain
  349. more += a dark tunnel
  350. more += a magical portal
  351. more += gateway to a ziggurat
  352. more += gauntlet entrance
  353.  
  354.  
  355.  
  356. #Xom's gifts
  357. more += Xom general gift
  358. more += Xom grants you a gift!
  359. more += "Here."
  360. more += Xom's generous nature manifests itself.
  361. more += Xom grants you an implement of some kind.
  362. more += "Take this instrument of something!"
  363. more += "Take this token of my esteem."
  364. more += Xom smiles on you.
  365. more += "Catch!"
  366.  
  367.  
  368. spell_slot += .*:zxcvbnmasdfghjklqwertyuiop
  369. autofight_stop = 70
  370. auto_butcher = true
  371. auto_eat_chunks = true
  372. show_more = false
  373. use_animations -= beam, range, hp, monster_in_sight, pickup, monster, player, branch_entry
  374.  
  375. #autofight_throw = true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement