Advertisement
Wolfechu

Untitled

Jan 30th, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.02 KB | None | 0 0
  1. cset = cloud : xa4
  2.  
  3. ##############
  4. # Autopickup #
  5. ##############
  6. autopickup += $?!:"/%|
  7. pickup_mode += multi
  8. default_friendly_pickup += none
  9.  
  10. ae := autopickup_exceptions
  11. ae =
  12.  
  13. ae += useless_item, dangerous_item, evil_item
  14. ae += (amulet|ring|staff|rod) of
  15.  
  16. #rwbartons secondary armour pickup script
  17. {
  18. add_autopickup_func(function(it, name)
  19. if it.class(true) == "armour" then
  20. local good_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves",
  21. boots="Boots"}
  22. st, _ = it.subtype()
  23. if good_slots[st] ~= nil and items.equipped_at(good_slots[st]) == nil then
  24. return true
  25. end
  26. end
  27. return false
  28. end)
  29. }
  30.  
  31. : if you.god() == "Nemelex Xobeh" then
  32. ae += <deck
  33. : end
  34.  
  35. ###############
  36. # Spell slots #
  37. ###############
  38.  
  39. spell_slot += Abjuration:A
  40. spell_slot += Haste:H
  41. spell_slot += Apportation:z
  42. spell_slot += Swiftness:s
  43. spell_slot += Regeneration:r
  44. spell_slot += Flight:f
  45. spell_slot += Levitation:f
  46. spell_slot += Control teleport:C
  47. spell_slot += Repel missiles:m
  48.  
  49. ##########
  50. # Travel #
  51. ##########
  52. #travel_delay = -1
  53. explore_stop += items,greedy_items,greedy_pickup,greedy_pickup_gold
  54. explore_stop += greedy_visited_item_stack,stairs,shops,altars,gates
  55. explore_stop += greedy_sacrificeable
  56. trapwalk_safe_hp =
  57. trapwalk_safe_hp += dart:10,needle:5,arrow:15,bolt:25,spear:20,axe:25,blade:35
  58.  
  59. #sacrifice_before_explore = true
  60. auto_sacrifice = true
  61. stop := runrest_stop_message
  62. stop =
  63. #ignore := runrest_ignore_message
  64. #ignore =
  65. #ignore += You feel.*sick
  66. #ignore += disappears in a puff of smoke
  67. #ignore += engulfed in a cloud of smoke
  68. #ignore += standing in the rain
  69. #ignore += engulfed in white fluffiness
  70. #ignore += safely over a trap
  71. #ignore += A.*toadstool withers and dies
  72. #ignore += toadstools? grow
  73. #ignore += You walk carefully through the
  74. #ignore += grinding sound
  75. #ignore += contamination has completely
  76. #ignore += chunks of flesh in your inventory.*rotted away
  77. runrest_ignore_poison = 2:10
  78. runrest_ignore_monster += butterfly:1
  79.  
  80. # Bad things
  81. stop += found a trap
  82. stop += Wait a moment
  83. stop += You fall through a shaft
  84. stop += An alarm trap emits a blaring wail
  85. stop += (blundered into a|invokes the power of) Zot
  86. stop += hear a soft click
  87. stop += A huge blade swings out and slices into you!
  88. stop += sense of stasis
  89. stop += flesh start
  90. stop += (starving|devoid of blood)
  91. stop += wrath finds you
  92. stop += lose consciousness
  93.  
  94.  
  95. # Expiring effects
  96. stop += You feel yourself slow down
  97. stop += less insulated
  98. stop += You are starting to lose your buoyancy
  99. stop += You lose control over your flight
  100. stop += Your hearing returns
  101. stop += Your transformation is almost over
  102. stop += back to life
  103. stop += uncertain
  104. stop += time is quickly running out
  105. stop += life is in your own hands
  106. stop += is no longer charmed
  107.  
  108. # Ghouls
  109. : if you.race() == "Ghoul" then
  110. stop += smell.*(rott(ing|en)|decay)
  111. stop += something tasty in your inventory
  112. : end
  113.  
  114. #ignore += pray:
  115. #ignore += talk:
  116. #ignore += talk_visual:
  117. #ignore += friend_spell:
  118. #ignore += friend_enchant:
  119. #ignore += friend_action:
  120. #ignore += sound:
  121. #stop += god:
  122. #stop += tutorial:
  123.  
  124. ###########
  125. # Prompts #
  126. ###########
  127. more := force_more_message
  128. more =
  129.  
  130. # Important features
  131. : if you.god() == "Ashenzari" then
  132. more += You have a vision of.*gates?
  133. : else
  134. more += interdimensional caravan
  135. more += distant snort
  136. more += Found a gateway leading out of the Abyss
  137. : end
  138. more += Found .* abyssal rune of Zot
  139.  
  140. # Interrupts
  141. more += You don't.* that spell
  142. more += You fail to use your ability
  143. more += You miscast Controlled Blink
  144. more += You can't (read|drink) that
  145. more += That item cannot be evoked
  146. more += This wand has no charges
  147. more += You are held in a net
  148. more += You have disarmed
  149. more += You don't have any such object
  150. more += do not work when you're silenced
  151. more += You can't unwield
  152. more += enough magic points
  153. more += You feel your control is inadequate
  154.  
  155. # Bad things
  156. more += Your surroundings flicker
  157. more += sense of stasis
  158. more += Your amulet of stasis
  159. more += You cannot teleport right now
  160. more += The writing blurs in front of your eyes
  161. more += You fall through a shaft
  162. more += A huge blade swings out and slices into you
  163. more += (blundered into a|invokes the power of) Zot
  164. more += Ouch! That really hurt!
  165. more += dispelling energy hits you
  166. more += You convulse
  167. more += You are (blasted|electrocuted)
  168. more += You are.*(confused|poisoned)
  169. stop += flesh start
  170. more += (starving|devoid of blood)
  171. more += wrath finds you
  172. more += lose consciousness
  173. more += You are too injured to fight blindly
  174. more += Green shoots are pushing up through the earth
  175.  
  176. # Hell effects
  177. more += You will not leave this place
  178. more += Die\, mortal
  179. more += We do not forgive those who trespass against us
  180. more += Trespassers are not welcome here
  181. more += You do not belong in this place
  182. more += Leave now\, before it is too late
  183. more += We have you now
  184. more += You smell brimstone
  185. more += Brimstone rains from above
  186. more += You feel lost and a long\, long way from home
  187. more += You shiver with fear
  188. more += You feel a terrible foreboding
  189. more += Something frightening happens
  190. more += You sense an ancient evil watching you
  191. more += You suddenly feel all small and vulnerable
  192. more += You sense a hostile presence
  193. more += A gut-wrenching scream fills the air
  194. more += You hear words spoken in a strange and terrible language
  195. more += You hear diabolical laughter
  196.  
  197. # Expiring effects
  198. more += You feel yourself slow down
  199. more += less insulated
  200. more += You are starting to lose your buoyancy
  201. more += You lose control over your flight
  202. more += Your hearing returns
  203. more += Your transformation is almost over
  204. more += You have a feeling this form
  205. more += You feel yourself come back to life
  206. more += uncertain
  207. more += time is quickly running out
  208. more += life is in your own hands
  209. more += is no longer charmed
  210. more += shroud falls apart
  211.  
  212. # Others
  213. more += You have reached level
  214. more += Your scales start
  215. more += You feel monstrous
  216. more += Jiyva alters your body
  217. #: if you.god() == "Xom" then
  218. #more += god:
  219. #: end
  220.  
  221. #############
  222. # Interface #
  223. #############
  224. equip_unequip = true
  225. allow_self_target = no
  226. easy_confirm = all
  227. #confirm_butcher = never
  228. #auto_eat_chunks = true
  229. #auto_drop_chunks = yes
  230. easy_eat_contaminated = true
  231. hp_warning = 50
  232. hp_colour =
  233. hp_colour += 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
  234. mp_colour =
  235. mp_colour += 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
  236. stat_colour =
  237. stat_colour += 3:red, 7:lightred
  238. small_more = true
  239. show_inventory_weights = true
  240. show_gold_turns = true
  241. show_game_turns = true
  242. default_manual_training = true
  243.  
  244. # Spellcasting spam reduction by monqy
  245. {
  246. local function generic_cast_spell(cmd)
  247. crawl.mpr('<cyan>Cast which spell?</cyan>')
  248. crawl.flush_prev_message()
  249. crawl.process_keys(cmd)
  250. end
  251.  
  252. function cast_spell()
  253. generic_cast_spell('z')
  254. end
  255.  
  256. function force_cast_spell()
  257. generic_cast_spell('Z')
  258. end
  259. }
  260.  
  261. ###################
  262. # Message colours #
  263. ###################
  264. $inedible := darkgrey
  265. $evil := red
  266. $preferred := yellow
  267. $rot-inducing := lightred
  268. $mutagenic := magenta
  269. $dangerous := magenta
  270. $poisonous := lightgreen
  271. $contaminated := brown
  272.  
  273. ### standard colours to be used for message highlighting
  274. $danger := lightred
  275. $warning := yellow
  276. $boring := darkgrey
  277. $item_dmg := $danger
  278.  
  279. msc := message_colour
  280. msc =
  281. menu := menu_colour
  282. menu =
  283.  
  284. # Multi-turn
  285. channel.multiturn = mute
  286.  
  287. # Allies
  288. msc += mute:returns to your side
  289. msc += mute:A demon appears
  290. msc += mute:puff of smoke
  291. msc += mute:carefully avoids
  292. msc += mute:is recalled
  293. msc += mute:wall.*burn.*your
  294. msc += mute:dissolves? into (sparkling lights|shadows)
  295. msc += mute:You swap places
  296. msc += mute:Your.*(looks stronger|shudders|resist)
  297. msc += mute:(stumbles backwards|holds.*ground)
  298. msc += mute:(Something|Your).*(misses|does no damage)
  299. msc += mute:Your.*(blinks|safely over|gestures)
  300. msc += mute:(phases out.*|misses) (your|something).*
  301. msc += mute:your.*but does no damage
  302. msc += mute:Your.*(picks up|drops)
  303.  
  304. # Prayer
  305. #channel.pray = mute
  306.  
  307. # Jiyva
  308. : if you.god() == "Jiyva" then
  309. msc += mute:slurping|squelching
  310. msc += mute:a little less hungry
  311. msc += mute:splits in two
  312. : end
  313.  
  314. # Interface
  315. # msc += mute:Cast which spell\? \(
  316. # msc += mute:Casting.*
  317. # msc += mute:Confirm with \. or Enter, or press \? or \* to list all spells\.
  318. msc += mute:Press\: \? - help, Shift-Dir - straight line, f - you
  319. msc += mute:for a list of commands and other information
  320.  
  321. # Other
  322. #msc += mute:This raw flesh tastes terrible
  323. #msc += mute:There is something wrong with this meat
  324. #msc += mute:melds into your body
  325. #msc += mute:begins to bleed from.*wounds
  326. #msc += mute:writhes in agony as.*flesh
  327. #msc += mute:An air elemental.*itself.*the air
  328.  
  329. # Item colouring
  330. # Default colours
  331. msc += $danger:drains you
  332. msc += $danger:feel drained
  333. msc += $danger:strangely unstable
  334. msc += $danger:curare-tipped.*hits you
  335. msc += $danger:Space warps.* around you
  336. msc += $danger:Space bends around you
  337. msc += $danger:sense of stasis
  338. msc += $danger:clumsily bash
  339. msc += $danger:goes berserk
  340. msc += $danger:Forgetting.* will destroy the book
  341. msc += $danger:The blast of calcifying dust hits you
  342. msc += $danger:You are engulfed in calcifying dust
  343. msc += $danger:is moving more slowly
  344. msc += $danger:^It .* you
  345. msc += $danger:You block its attack
  346. msc += $danger:constricts you
  347. msc += $danger:you convulse
  348.  
  349. msc += $item_dmg:acid corrodes
  350. msc += $item_dmg:catch(es)? fire
  351. msc += $item_dmg:freezes? and shatters?
  352. msc += $item_dmg:covered with spores
  353. msc += $item_dmg:devours some of your food
  354. msc += $item_dmg:rots? away
  355.  
  356. msc += $warning:ticking.*clock
  357. msc += $warning:dying ticks
  358. msc += $warning:distant snort
  359. msc += $warning:odd grinding sound
  360. msc += $warning:creaking of ancient gears
  361. msc += $warning:floor suddenly vibrates
  362. msc += $warning:a sudden draft
  363. msc += $warning:coins.*counted
  364. msc += $warning:tolling.*bell
  365. msc += $warning:fails to return
  366. msc += $warning:no longer ripe
  367.  
  368. msc += $boring:You start (resting|waiting)
  369. msc += $boring:Unknown command
  370. msc += $boring:but (do no|doesn't do any) damage
  371. msc += $boring:(prevent|prevents) you from hitting
  372.  
  373. menu += inventory:white:\w \+\s
  374. menu += inventory:white:\w \#\s
  375. menu += darkgrey:(melded)
  376. menu += darkgrey:.*useless_item.*
  377. menu += red:.*evil_item.*
  378. menu += lightred: cursed
  379. menu += inventory:lightgreen:.*equipped.*
  380. menu += lightmagenta:.*misc.*rune( of Zot)?
  381. menu += lightmagenta:.*orb.*Zot
  382. menu += white:.*artefact.*
  383. menu += lightblue:^unidentified .*(potion|scroll|wand|jewellery).*
  384. menu += lightblue:^unidentified .*weapon.*(runed|glowing)
  385. menu += lightblue:^unidentified .*armour.*(runed|glowing)
  386. menu += lightblue:^unidentified .*armour.*(embroidered|shiny|dyed)
  387. menu += yellow:heal wounds
  388.  
  389. # Food
  390. menu += $inedible:.*inedible.*
  391. menu += $evil:.*evil_eating.*
  392. menu += $rot-inducing:.*rot-inducing.*
  393. menu += $mutagenic:.*mutagenic.*
  394. menu += $poisonous:.*poisonous.*
  395. menu += $contaminated:.*contaminated.*
  396.  
  397. ####################
  398. # Autoinscriptions #
  399. ####################
  400. autoinscribe += (distortion):!w
  401. autoinscribe += (bad|dangerous)_item.*potion:!q
  402. autoinscribe += (bad|dangerous)_item.*scroll:!r
  403. autoinscribe += of faith:!P
  404. autoinscribe += rod of:!a
  405. autoinscribe += chunks? of:@w1
  406. : if you.god() == "Fedhas" then
  407. autoinscribe += fruit:!e
  408. : end
  409.  
  410. #########
  411. # Notes #
  412. #########
  413. dump_message_count = 20
  414. dump_order = header, hiscore, stats, misc, notes, inventory,
  415. dump_order += turns_by_place, skills, spells, overview, mutations,
  416. dump_order += messages, screenshot, monlist, kills_by_place, kills
  417. dump_order += action_counts
  418. dump_book_spells = false
  419. note_all_skill_levels = true
  420. note_hp_percent = 10
  421. note_messages += protects you from harm
  422. note_messages += You fall through a shaft
  423.  
  424. #################
  425. # Miscellaneous #
  426. #################
  427. char_set = ascii
  428. show_player_species = true
  429. #skill_focus = toggle
  430. feature = explore horizon {.,,green}
  431.  
  432. ##show player interface stuff
  433. # Player glyphs based on skills by N78291
  434. : best = you.skill("Fighting")
  435. : skill_name = "Fighting"
  436. : melee = true
  437. : casting = false
  438. : if you.skill("Short Blades") > best then
  439. : best = you.skill("Short Blades")
  440. : skill_name = "Short Blades"
  441. : end
  442. : if you.skill("Long Blades") > best then
  443. : best = you.skill("Long Blades")
  444. : skill_name = "Long Blades"
  445. : end
  446. : if you.skill("Axes") > best then
  447. : best = you.skill("Axes")
  448. : skill_name = "Axes"
  449. : end
  450. : if you.skill("Maces & Flails") > best then
  451. : best = you.skill("Maces & Flails")
  452. : skill_name = "Maces & Flails"
  453. : end
  454. : if you.skill("Polearms") > best then
  455. : best = you.skill("Polearms")
  456. : skill_name = "Polearms"
  457. : end
  458. : if you.skill("Staves") > best then
  459. : best = you.skill("Staves")
  460. : skill_name = "Staves"
  461. : end
  462. : if you.skill("Slings") > best then
  463. : best = you.skill("Slings")
  464. : skill_name = "Slings"
  465. : end
  466. : if you.skill("Bows") > best then
  467. : best = you.skill("Bows")
  468. : skill_name = "Bows"
  469. : end
  470. : if you.skill("Crossbows") > best then
  471. : best = you.skill("Crossbows")
  472. : skill_name = "Crossbows"
  473. : end
  474. : if you.skill("Throwing") > best then
  475. : best = you.skill("Throwing")
  476. : skill_name = "Throwing"
  477. : end
  478. : if you.skill("Armour") > best then
  479. : best = you.skill("Armour")
  480. : skill_name = "Armour"
  481. : end
  482. : if you.skill("Dodging") > best then
  483. : best = you.skill("Dodging")
  484. : skill_name = "Dodging"
  485. : end
  486. : if you.skill("Stealth") > best then
  487. : best = you.skill("Stealth")
  488. : skill_name = "Stealth"
  489. : melee = false
  490. : end
  491. : if you.skill("Stabbing") > best then
  492. : best = you.skill("Stabbing")
  493. : skill_name = "Stabbing"
  494. : melee = false
  495. : end
  496. : if you.skill("Shields") > best then
  497. : best = you.skill("Shields")
  498. : skill_name = "Shields"
  499. : end
  500. : if you.skill("Traps & Doors") > best then
  501. : best = you.skill("Traps & Doors")
  502. : skill_name = "Traps & Doors"
  503. : melee = false
  504. : end
  505. : if you.skill("Unarmed Combat") > best then
  506. : best = you.skill("Unarmed Combat")
  507. : skill_name = "Unarmed Combat"
  508. : end
  509. : if you.skill("Spellcasting") > best then
  510. : best = you.skill("Spellcasting")
  511. : skill_name = "Spellcasting"
  512. : melee = false
  513. : casting = true
  514. : end
  515. : if you.skill("Conjurations") > best then
  516. : best = you.skill("Conjurations")
  517. : skill_name = "Conjurations"
  518. : melee = false
  519. : casting = true
  520. : end
  521. : if you.skill("Enchantments") > best then
  522. : best = you.skill("Enchantments")
  523. : skill_name = "Enchantments"
  524. : melee = false
  525. : casting = true
  526. : end
  527. : if you.skill("Summonings") > best then
  528. : best = you.skill("Summonings")
  529. : skill_name = "Summonings"
  530. : melee = false
  531. : casting = true
  532. : end
  533. : if you.skill("Necromancy") > best then
  534. : best = you.skill("Necromancy")
  535. : skill_name = "Necromancy"
  536. : melee = false
  537. : casting = true
  538. : end
  539. : if you.skill("Translocations") > best then
  540. : best = you.skill("Translocations")
  541. : skill_name = "Translocations"
  542. : melee = false
  543. : casting = true
  544. : end
  545. : if you.skill("Transmutations") > best then
  546. : best = you.skill("Transmutations")
  547. : skill_name = "Transmutations"
  548. : melee = false
  549. : casting = true
  550. : end
  551. : if you.skill("Fire Magic") > best then
  552. : best = you.skill("Fire Magic")
  553. : skill_name = "Fire Magic"
  554. : melee = false
  555. : casting = true
  556. : end
  557. : if you.skill("Ice Magic") > best then
  558. : best = you.skill("Ice Magic")
  559. : skill_name = "Ice Magic"
  560. : melee = false
  561. : casting = true
  562. : end
  563. : if you.skill("Air Magic") > best then
  564. : best = you.skill("Air Magic")
  565. : skill_name = "Air Magic"
  566. : melee = false
  567. : casting = true
  568. : end
  569. : if you.skill("Earth Magic") > best then
  570. : best = you.skill("Earth Magic")
  571. : skill_name = "Earth Magic"
  572. : melee = false
  573. : casting = true
  574. : end
  575. : if you.skill("Poison Magic") > best then
  576. : best = you.skill("Poison Magic")
  577. : skill_name = "Poison Magic"
  578. : melee = false
  579. : casting = true
  580. : end
  581. : if you.skill("Invocations") > best then
  582. : best = you.skill("Invocations")
  583. : skill_name = "Invocations"
  584. : melee = false
  585. : end
  586. : if you.skill("Evocations") > best then
  587. : best = you.skill("Evocations")
  588. : skill_name = "Evocations"
  589. : melee = false
  590. : end
  591. : if you.race() == "Deep Elf" or you.race() == "High Elf"
  592. : or you.race() == "Sludge Elf" then
  593. show_player_species = false
  594. : if skill_name == "Summonings" then
  595. : if best >= 8 and best < 21 then
  596. mon_glyph = player:brown e
  597. : elseif best >= 21 then
  598. mon_glyph = player:yellow e
  599. : end
  600. : elseif skill_name == "Invocations" then
  601. : if best < 15 then
  602. mon_glyph = player:green e
  603. : else
  604. mon_glyph = player:lightgreen e
  605. : end
  606. : elseif skill_name == "Conjurations" then
  607. : if best >= 8 and best < 27 then
  608. mon_glyph = player:blue e
  609. : else
  610. mon_glyph = player:lightblue e
  611. : end
  612. : elseif skill_name == "Necromancy" then
  613. mon_glyph = player:white e
  614. : elseif casting == true then
  615. : if best < 21 then
  616. mon_glyph = player:magenta e
  617. : else
  618. mon_glyph = player:lightmagenta e
  619. : end
  620. : elseif skill_name == "Bows" then
  621. mon_glyph = player:lightgrey e
  622. : elseif skill_name == "Short Blades" then
  623. mon_glyph = player:lightcyan e
  624. : elseif melee == true then
  625. : if best < 10 then
  626. mon_glyph = player:lightred e
  627. : else
  628. mon_glyph = player:cyan e
  629. : end
  630. : else
  631. mon_glyph = player:red e
  632. : end
  633. : end
  634. : if you.race() == "Merfolk" then
  635. show_player_species = false
  636. : if skill_name == "Throwing" then
  637. mon_glyph = player:lightgrey m
  638. : elseif skill_name == "Ice Magic" then
  639. mon_glyph = player:green m
  640. : elseif skill_name == "Polearms" and best >= 15 then
  641. mon_glyph = player:lightblue m
  642. : else
  643. mon_glyph = player:blue m
  644. : end
  645. : end
  646. : if you.race() == "Hill Orc" then
  647. show_player_species = false
  648. : if you.god == "Beogh" then
  649. show_player_species = true
  650. : elseif melee == true then
  651. : if best >= 10 and best < 15 then
  652. mon_glyph = player:yellow o
  653. : elseif best >= 15 and best < 20 then
  654. mon_glyph = player:cyan o
  655. : elseif best >= 20 then
  656. mon_glyph = player:lightcyan o
  657. : end
  658. : elseif casting == true then
  659. : if best >= 15 then
  660. mon_glyph = player:lightmagenta o
  661. : else
  662. mon_glyph = player:magenta o
  663. : end
  664. : else
  665. mon_glyph = player:lightred o
  666. : end
  667. : end
  668. : if you.race() == "Deep Dwarf" then
  669. show_player_species = false
  670. : if you.god() == "Yredelemnul" then
  671. mon_glyph = player:green q
  672. : elseif you.god() == "Trog" then
  673. mon_glyph = player:lightred q
  674. : elseif skill_name == "Evocations" then
  675. mon_glyph = player:blue q
  676. : elseif skill_name == "Necromancy" then
  677. mon_glyph = player:magenta q
  678. : else
  679. mon_glyph = player:brown q
  680. : end
  681. : end
  682. : if you.race() == "Naga" then
  683. show_player_species = false
  684. : if melee == true and best >= 15 then
  685. mon_glyph = player:blue N
  686. : elseif casting == true then
  687. : if best >= 15 then
  688. mon_glyph = player:lightmagenta N
  689. : else
  690. mon_glyph = player:red N
  691. : end
  692. : else
  693. mon_glyph = player:green N
  694. : end
  695. : end
  696. : if you.race() == "Centaur" then
  697. show_player_species = false
  698. : if melee == true and best >= 15 then
  699. mon_glyph = player:yellow c
  700. : else
  701. mon_glyph = player:brown c
  702. : end
  703. : end
  704. : if you.race() == "Spriggan" then
  705. show_player_species = false
  706. : if you.god() == "Trog" then
  707. mon_glyph = player:lightred i
  708. : else
  709. mon_glyph = player:lightgrey i
  710. : end
  711. : end
  712. : if you.race() == "Kobold" then
  713. show_player_species = false
  714. : if skill_name == "Summonings" then
  715. mon_glyph = player:magenta K
  716. : else
  717. mon_glyph = player:brown K
  718. : end
  719. : end
  720. : if you.race() == "Mummy" then
  721. show_player_species = false
  722. : if skill_name == "Invocations" then
  723. mon_glyph = player:red M
  724. : elseif best >= 25 then
  725. mon_glyph = player:white M
  726. : else
  727. mon_glyph = player:lightgrey M
  728. : end
  729. : end
  730. : if you.race() == "Vampire" then
  731. show_player_species = false
  732. : if melee == true and best >= 15 then
  733. mon_glyph = player:lightcyan V
  734. : elseif casting == true and best >= 15 then
  735. mon_glyph = player:magenta V
  736. : else
  737. mon_glyph = player:red V
  738. : end
  739. : end
  740. : if you.race() == "Octopode" then
  741. show_player_species = false
  742. mon_glyph = player:cyan X
  743. :end
  744. # Demonspawn added by st_
  745. : if you.race() == "Demonspawn" then
  746. show_player_species = false
  747. : if melee == true then
  748. : if best < 27 then
  749. mon_glyph = player:lightgrey 1
  750. : else
  751. mon_glyph = player:lightgrey &
  752. : end
  753. : elseif skill_name == "Armour" then
  754. : if best < 27 then
  755. mon_glyph = player:cyan 1
  756. : else
  757. mon_glyph = player:cyan &
  758. : end
  759. : elseif skill_name == "Stealth" then
  760. : if best < 27 then
  761. mon_glyph = player:darkgrey 1
  762. : else
  763. mon_glyph = player:darkgrey &
  764. : end
  765. : elseif skill_name == "Stabbing" then
  766. : if best < 27 then
  767. mon_glyph = player:darkgrey 1
  768. : else
  769. mon_glyph = player:darkgrey &
  770. : end
  771. : elseif skill_name == "Spellcasting" then
  772. : if best < 27 then
  773. mon_glyph = player:lightmagenta 1
  774. : else
  775. mon_glyph = player:lightmagenta &
  776. : end
  777. : elseif skill_name == "Conjurations" then
  778. : if best < 27 then
  779. mon_glyph = player:lightblue 1
  780. : else
  781. mon_glyph = player:lightblue &
  782. : end
  783. : elseif skill_name == "Enchantments" then
  784. : if best < 27 then
  785. mon_glyph = player:yellow 1
  786. : else
  787. mon_glyph = player:yellow &
  788. : end
  789. : elseif skill_name == "Summonings" then
  790. : if best < 27 then
  791. mon_glyph = player:blue 1
  792. : else
  793. mon_glyph = player:blue &
  794. : end
  795. : elseif skill_name == "Translocations" then
  796. : if best < 27 then
  797. mon_glyph = player:lightcyan 1
  798. : else
  799. mon_glyph = player:lightcyan &
  800. : end
  801. : elseif skill_name == "Transmutations" then
  802. : if best < 27 then
  803. mon_glyph = player:yellow 1
  804. : else
  805. mon_glyph = player:yellow &
  806. : end
  807. : elseif skill_name == "Fire Magic" then
  808. : if best < 27 then
  809. mon_glyph = player:red 1
  810. : else
  811. mon_glyph = player:red &
  812. : end
  813. : elseif skill_name == "Ice Magic" then
  814. : if best < 27 then
  815. mon_glyph = player:white 1
  816. : else
  817. mon_glyph = player:white &
  818. : end
  819. : elseif skill_name == "Air Magic" then
  820. : if best < 27 then
  821. mon_glyph = player:blue 1
  822. : else
  823. mon_glyph = player:blue &
  824. : end
  825. : elseif skill_name == "Earth Magic" then
  826. : if best < 27 then
  827. mon_glyph = player:brown 1
  828. : else
  829. mon_glyph = player:brown &
  830. : end
  831. : elseif skill_name == "Necromancy" then
  832. : if best < 27 then
  833. mon_glyph = player:magenta 1
  834. : else
  835. mon_glyph = player:magenta &
  836. : end
  837. : elseif skill_name == "Poison Magic" then
  838. : if best < 27 then
  839. mon_glyph = player:green 1
  840. : else
  841. mon_glyph = player:green &
  842. : end
  843. : elseif skill_name == "Invocations" then
  844. : if best < 27 then
  845. mon_glyph = player:lightgreen 1
  846. : else
  847. mon_glyph = player:lightgreen &
  848. : end
  849. : else
  850. mon_glyph = player:lightred &
  851. : end
  852. : end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement