#TEAMCAPTAIN MorganLeah # # Terminal settings: # # These are decent settings when running through XTerm: # * Full color for TERM=xterm-256color # * Avoid creating blinking text for TERM=xterm # # For PuTTY, this will work fine, but note that PuTTY is capable of brightening # backgrounds using blink in 8-color mode. allow_extended_colours=true no_dark_brand=false bold_brightens_foreground=true blink_brightens_background=false best_effort_brighten_background=false ############## # Rebind # ############## bindkey = [s] CMD_READ_MESSAGES bindkey = [s] CMD_TARGET_FIND_ALTAR bindkey = [-] CMD_AUTOFIGHT bindkey = [_] CMD_AUTOFIGHT_NOMOVE #bindkey = [l] ===set_target_skill ## This needs to be a macro ############## # Autopickup # ############## autopickup = $?!:"/%|\ ae := autopickup_exceptions ae += useless_item ae += evil_item ae += (amulet|staff|tome) of ae += scrolls? of (torment|noise|curse|amnesia) ae += potions? of (flight|paralysis|.*poison) ae += potions? of (decay|degeneration|restore abilities) ae += .*beef jerk.* ae += .* pizza.* ae += royal jell.* ae += fruit ae += staff of .* ae += ring of (flight|fire|ice|regeneration|sustain abilities) ae += ring of (strength|intelligence|dexterity|protection from .*) ae += ring of (life protection|positive energy|stealth|loudness|invisibility) ae += ring of (see invisible|control teleport|magical power|wizardry) ae += wand of (flames|polymorph|disintegration|random effects) ae += <.* rod ae += <(phial|lamp|stone|fan) of ae += armour_plus(cur) then return true end end end if you.xl() < 17 then if name:find("dragon scales") or name:find("crystal") then return true end end end if class == "weapon" and you.xl() < 17 then if name:find("demon") or name:find("double") or name:find("eveningstar") or name:find("lajatang") or name:find("quick blade") then return true end end if class == "wand" and you.xl() < 13 then return true end if class == "missile" then if name:find("curare") then return true end end return end add_autopickup_func(autopickup) } ########## # Glyphs # ########## feature += green crystal {x2591} feature += stone wall {x2592} feature += metal wall {x2593} feature += unnaturally hard rock wall {x2588} mons := mon_glyph # Remove darkblue monsters mons ^= dire elephant : lightgreen Y mons ^= naga warrior : lightgreen N mons ^= black mamba : yellow S mons ^= rime drake : lightcyan k mons ^= tengu conjurer : lightcyan Q mons ^= steam dragon : lightgrey D mons ^= draconian monk : green q mons ^= black draconian : lightblue d mons ^= Donald : lightcyan @ mons ^= Grinder : lightgreen 5 mons ^= Pikel : lightgreen K mons ^= Ijyb : lightgreen g mons ^= Duvessa : lightblue e mons ^= lurking horror : lightred 0 mons ^= lorocyproca : lightcyan 2 mons ^= gelid demonspawn : lightcyan 6 mons ^= starcursed mass : lightgreen X # Make attack proxies more visible mons ^= spectral weapon : red ? mons ^= battlesphere : lightblue ? # Make dancing weapons more visible mons ^= dancing weapon : cyan { # I have trouble seeing * monsters. mons ^= * : 0 ## Item Glyphs (stolen from gammafunk) item := item_glyph ## Reasonable defaults item += potion:lightgrey item += scroll:lightgrey item += dangerous_item:blue ### Potions/Scrolls ### # colors: # red - restricted # lightred - dangerous # darkgrey - useless # lightgrey - fairly useless -- not something to carry around # brown - common but useful # yellow - strong saves # magenta - double-edged # lightmagenta - weak saves # green - standard buffs # lightgreen - situational buffs # blue - unknown magic stuff # lightblue - lesser strategic # cyan - strategic I don't want to get excited about # lightcyan - extremely rare strategic item += potions? of.*(poison):darkgrey item += potions? of.*(flight):lightgrey item += potions? of.*(restore abilities|curing):brown item += potions? of.*(heal wounds|magic):yellow item += potions? of.*(lignification|ambrosia):magenta item += potions? of.*(berserk|agility|brilliance|might):green item += potions? of.*(berserk|resistance|invisibility|haste):lightgreen item += potions? of.*(cure mutation):blue item += potions? of.*(beneficial mutation|experience):lightcyan : if you.race() == "Vampire" then item += potions? of blood:lightred item += potions? of coagulated blood:lightgrey : else item += potions? of.*blood:darkgrey : end item += potions? of.*(amnesia|noise):lightgrey item += scroll.*(identify|curse):brown item += scroll.*(blinking|summoning):yellow item += scroll.*(immolation, vulnerability, silence):magenta item += scroll.*(teleport|fog|fear):lightmagenta item += scroll.*(enchant armour|recharging|enchant weapon):cyan item += scroll.*(mapping):blue item += scroll.*(acquirement|brand weapon):lightcyan : if you.race() == "Vampire" or you.race() == "Mummy" : or you.race() == "Ghoul" then item += scroll.*(holy word):red item += scroll.*(torment):green : else item += scroll.*(holy word):green item += scroll.*(torment):red : end item += (book|jewellery|magical staff).*:magenta item += .*tome of.*:blue ## This mapping is 0.16+ : if not crawl.version then item += ( rod ) : \ :end item += useless.*(potion|scroll|missile|armour|weapon|jewellery|rod):darkgrey item += unidentified.*(potion|scroll|book|jewellery|wand|rod|magical staff).*:lightblue item += (a )?stones?$:lightgray ### Food ### item += chunks?.*flesh:lightgrey item += contaminated.*chunk:brown item += mutagenic.*chunk:magenta item += evil_eating.*chunk:red item += (inedible|rotting.*chunk):darkgrey item += poisonous.*chunk:green item += (strawberry|grape|sultana):brown item += ( +pears?$|apple|apricot|choko|lychee|rambutan|fruit):brown item += ( +oranges?$|banana|lemon|pizza|sausage|snozz|jerky|jerkies|cheese|honeycomb|royal jell):yellow item += (meat ration|bread ration):lightcyan : if not crawl.version then item += ambrosia:lightcyan :end ### Wands ### item += wand of.*(heal wounds|hasting):lightcyan item += wand of.*(slowing|confusion|random effects):green item += wand of.*(polymorph|paralysis|enslavement):lightgreen item += wand of.*(digging|disintegration|teleportation):magenta item += wand of.*(hasting|invisibility):lightmagenta item += wand of.*(flame|frost|magic dart):brown item += wand of.*(lightning|draining|cold|fire):yellow ## Want this to override anything above, since using these can cause pennance. item += evil_item:red #################### ### Menu options ### #################### drop_filter += useless_item ### Menu colorings ### ## These should match the item_glyph colours exactly when possible. menu := menu_colour menu = ### General colorings ### ## These two need to come first to override any entries below. menu += darkgrey:.*useless.* menu += red:.*evil_item.* menu += pickup:lightcyan:god gift menu += inventory:white:\w \#\s menu += notes:white:Reached XP level menu += inventory:white:\w \+\s menu += inventory:white:\w \#\s menu += darkgrey:(melded) menu += lightred: cursed menu += inventory:lightgreen:.*equipped.* menu += white:.*artefact.* ## Not needed in 0.16+ menu += lightblue:^unidentified .*(potion|scroll|wand|jewellery|book|rod|magical staff).* menu += lightblue:^unidentified .*weapon.*(runed|glowing) menu += lightblue:^unidentified .*armour.*(runed|glowing|embroidered|shiny|dyed) ### Food ### menu += red:evil_eating.*chunk menu += magenta:mutagenic.*chunk menu += green:poisonous.*chunk menu += darkgrey:(rotting.*chunk|inedible|rot-inducing) menu += brown:contaminated.*chunk menu += lightgrey: +(chunks?$|chunks? +) menu += green:(strawberr|grape|sultana) ## The entries for pears/oranges cover items on the ground as well as in-menu. menu += brown:( +pears?$| +pears? +|apple|apricot|choko|lychee|rambutan|fruit) menu += yellow:( +oranges?$| +oranges? +|banana|lemon|pizza|sausage|snozz|jerky|jerkies|cheese|honeycomb|royal jell) ## ambrosia was food in <= 0.14 iirc : if not crawl.version then menu += lightcyan:ambrosia : end menu += lightcyan:(meat ration|bread ration) ### Potions ### menu += darkgrey:potions? of.*(poison) ## buffs menu += green:potions? of.*(berserk|agility|brilliance|might) menu += lightgreen:potions? of.*(resistance|invisibility|haste) ## healing menu += brown:potions? of.*curing menu += yellow:potions? of.*heal wounds ## "magic" menu += magenta:potions? of.*(cancellation|ambrosia) menu += lightmagenta:potions? of.*magic ## "really good" or restorative menu += cyan:potions? of.*(restore abilities|cure mutation) menu += lightcyan:potions? of.*(beneficial mutation|experience) ## food potions : if you.race() == "Vampire" then menu += lightred:potions? of blood menu += lightgrey:potions? of coagulated blood : else menu += darkgrey:potions? of.*blood menu += lightred:potions? of.*porridge : end ### Scrolls ### ## "equipment/spells" menu += brown:scroll.*(amnesia|curse) menu += yellow:scroll.*(identify) ## Enchant menu += green:scroll.*enchant weapon menu += lightgreen:scroll.*(enchant armour|brand weapon|enchant weapon III) ## Escape menu += magenta:scroll.*(fog|teleport) menu += lightmagenta:scroll.*(fear|blink) ## Damaging scrolls : if you.race() == "Vampire" or you.race() == "Mummy" : or you.race() == "Ghoul" then menu += blue:scroll.*(holy word) menu += lightred:scroll.*(torment) : else menu += lightred:scroll.*(holy word) menu += blue:scroll.*(torment) : end menu += lightred:scroll.*summoning ## tactical and the really good stuff (mmap for speedruns) menu += cyan:scroll.*(silence|noise|vulnerability|immolation) menu += lightcyan:scroll.*(acquire|recharging|magic map) ### Wands ### menu += lightcyan:wand of.*heal wounds ## hexes menu += green:wand of.*(slowing|confusion|random effects) menu += lightgreen:wand of.*(polymorph|paralysis|enslavement) ## escape menu += magenta:wand of.*(digging|disintegration|teleportation) menu += lightmagenta:wand of.*(hasting|invisibility) b## damage menu += brown:wand of.*(flame|frost|magic dart) menu += yellow:wand of.*(lightning|draining|cold|fire) menu += blue:.*dangerous_item.* prefer_safe_chunks = true show_inventory_weights = true auto_drop_chunks = yes sort_menus += inv: true : equipped, freshness, charged ########## # Travel # ########## travel_delay = -1 explore_delay = -1 rest_delay = -1 feature += explore horizon {.,,green} show_travel_trail = true explore_wall_bias = 10 explore_stop = items,stairs,shops,altars,portals,branches,runed_doors explore_stop += greedy_pickup_smart,greedy_visited_item_stack explore_stop += greedy_sacrificeable,glowing_items,gates auto_sacrifice = true runrest_ignore_poison = 2:30 runrest_ignore_monster += butterfly:1, swamp worm:2 trapwalk_safe_hp = dart:20,needle:15,arrow:35,bolt:45,spear:40,blade:95 auto_exclude += oklob,statue,curse skull,roxanne,lightning spire,mimic sort_menus += inv: true : equipped, freshness, charged stop := runrest_stop_message ignore := runrest_ignore_message # Annoyances ignore += Jiyva gurgles merrily ignore += Jiyva appreciates your sacrifice ignore += Jiyva says: Divide and consume ignore += You hear.*splatter ignore += You feel.*sick ignore += disappears in a puff of smoke ignore += engulfed in a cloud of smoke ignore += standing in the rain ignore += engulfed in white fluffiness ignore += safely over a trap ignore += A.*toadstool withers and dies ignore += toadstools? grow ignore += You walk carefully through the ignore += grinding sound ignore += contamination has completely ignore += chunks of flesh in your inventory.*rotted away ignore += rod.*has recharged ignore += your breath back ignore += the plant is engulfed ignore += the walls burn your ignore += the wall burns your ignore += absorbed by ash # Bad things stop += found.*trap stop += You fall through a shaft stop += emits a blaring wail stop += (blundered into a|invokes the power of) Zot stop += A huge blade swings out and slices into you stop += sense of stasis stop += flesh start stop += (starving|devoid of blood) stop += wrath finds you stop += lose consciousness # Expiring effects stop += You feel yourself slow down stop += You are starting to lose your buoyancy stop += You start to feel a little slower stop += Your transformation is almost over stop += You lose control over your flight stop += You start to feel a little uncertain stop += Your skin is crawling a little less now stop += Your stomach is not as upset anymore stop += Your magical contamination has completely faded away stop += Your hearing returns stop += back to life stop += uncertain stop += time is quickly running out stop += life is in your own hands stop += is no longer charmed :if you.god() == "Xom" then stop += god: :else ignore += god: :end stop += hell_effect: ignore += pray: ignore += talk: ignore += talk_visual: ignore += friend_spell: ignore += friend_enchant: ignore += friend_action: ignore += sound: ############# # Interface # ############# equip_bar = true allow_self_target = no easy_confirm = safe confirm_butcher = never auto_eat_chunks = true auto_drop_chunks = yes autofight_stop = 0 autofight_throw_nomove = true autofight_caught = true hp_warning = 50 hp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red mp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red stat_colour = 3:red, 7:lightred show_inventory_weights = true default_manual_training = true small_more = true easy_quit_item_prompts = true simple_targeting = true show_gold_turns = true show_game_turns = true easy_eat_chunks = true fire_order = launcher, rock, return, javelin, fire_order += tomahawk, dart, stone, net fire_order += inscribed enable_recast_spell = false # Spellcasting spam reduction by monqy { local function generic_cast_spell(cmd) crawl.mpr('Cast which spell?') crawl.flush_prev_message() crawl.process_keys(cmd) end function cast_spell() generic_cast_spell('z') end function force_cast_spell() generic_cast_spell('Z') end } ################### # Message colours # ################### $inedible := darkgrey $evil := red $preferred := yellow $rot-inducing := lightred $mutagenic := magenta $dangerous := magenta $poisonous := lightgreen $contaminated := brown ### standard colours to be used for message highlighting $danger := lightred $warning := yellow $boring := darkgrey $item_dmg := $danger msc := message_colour msc = menu := menu_colour menu = # Multi-turn channel.multiturn = mute # Allies msc += mute:returns to your side msc += mute:a demon appears msc += mute:puff of smoke msc += mute:carefully avoids msc += mute:is recalled msc += mute:wall.*burn.*your msc += mute:dissolves? into (sparkling lights|shadows) msc += mute:crumbles away msc += mute:you swap places msc += mute:your.*(looks stronger|shudders|resists) msc += mute:(stumbles backwards|holds.*ground) msc += mute:(something|your).*(misses|does no damage) msc += mute:your.*(blinks|safely over|gestures) msc += mute:(phases out.*|misses) (your|something).* msc += mute:your.*but does no damage msc += mute:your.*(picks up|drops) msc += mute:your.*basks in the mutagenic energy msc += mute:you.*(struggles|tears|pulls away).*(web|net) msc += mute:constricts?.*no damage message_colour ^= mute:Your.*(bites|misses|hits|claws|gores) message_colour ^= mute:coagulate message_colour ^= mute:smell something rotten message_colour ^= mute:yum message_colour ^= mute:have rotted away message_colour ^= mute:plant is engulfed # Jiyva : if you.god() == "Jiyva" then msc += mute:slurping|squelching msc += mute:splits in two msc += mute:You feel.*(less hungry|power returning|better) : end # Interface msc += mute:Cast which spell\? \( msc += mute:^Casting.* msc += mute:Confirm with \. or Enter, or press \? or \* to list all spells\. msc += mute:Press\: \? - help, Shift-Dir - straight line, f - you msc += mute:for a list of commands and other information msc += mute:melds.* msc += mute:Switching to.* msc += mute:Switching back.* # Other msc += mute:This raw flesh tastes terrible msc += mute:melds into your body msc += mute:begins to bleed from.*wounds msc += mute:writhes in agony as.*flesh msc += mute:An air elemental.*itself.*the air msc += mute:You feel a.*surge of power msc += mute:Your legs become a tail as you enter the water msc += mute:You cannot train any new skill # Default colours msc += $danger:drains you msc += $danger:feel drained msc += $danger:strangely unstable msc += $danger:curare-tipped.*hits you msc += $danger:Space warps.* around you msc += $danger:Space bends around you msc += $danger:sense of stasis msc += $danger:clumsily bash msc += $danger:goes berserk msc += $danger:Forgetting.* will destroy the book msc += $danger:The blast of calcifying dust hits you msc += $danger:You are engulfed in calcifying dust msc += $danger:is moving more slowly #msc += $danger:^Something .* you msc += $danger:You block its attack msc += $danger:constricts you msc += $danger:you convulse msc += $danger:You feel a build-up of mutagenic energy msc += $danger:place you under penance msc += $item_dmg:acid corrodes msc += $item_dmg:catch(es)? fire msc += $item_dmg:freezes? and shatters? msc += $item_dmg:covered with spores msc += $item_dmg:devours some of your food msc += $item_dmg:rots? away msc += $warning:ticking.*clock msc += $warning:dying ticks msc += $warning:distant snort msc += $warning:odd grinding sound msc += $warning:creaking of ancient gears msc += $warning:floor suddenly vibrates msc += $warning:a sudden draft msc += $warning:coins.*counted msc += $warning:tolling.*bell msc += $warning:roar of battle msc += $warning:creaking.*portcullis msc += $warning:portcullis is probably msc += $warning:wave of frost msc += $warning:crackling.*melting msc += $warning:hiss.*sand msc += $warning:sound.*rushing water msc += $warning:rusting.*drain msc += $warning:drain falling apart msc += $warning:oppressive heat msc += $warning:rumble.*avalanche of rocks msc += $warning:crackle.*arcane power msc += $warning:crackle.*magical portal msc += $warning:fails to return msc += $warning:no longer ripe msc += $boring:You start (resting|waiting) msc += $boring:Unknown command msc += $boring:but (do no|doesn't do any) damage msc += $boring:(prevent|prevents) you from hitting menu += inventory:white:\w \+\s menu += inventory:white:\w \#\s menu += darkgrey:(melded) menu += darkgrey:.*useless_item.* menu += red:.*evil_item.* menu += lightred: cursed menu += inventory:lightgreen:.*equipped.* menu += lightmagenta:.*misc.*rune( of Zot)? menu += lightmagenta:.*orb.*Zot menu += white:.*artefact.* menu += lightblue:^unidentified .*(potion|scroll|wand|jewellery).* menu += lightblue:^unidentified .*weapon.*(runed|glowing) menu += lightblue:^unidentified .*armour.*(runed|glowing) menu += lightblue:^unidentified .*armour.*(embroidered|shiny|dyed) menu += yellow:(heal wounds|teleport|hasting|haste|blinking|might|agility|fog|fear) # Food menu += $inedible:.*inedible.* menu += $evil:.*evil_eating.* menu += $rot-inducing:.*rot-inducing.* menu += $mutagenic:.*mutagenic.* menu += $poisonous:.*poisonous.* menu += $contaminated:.*contaminated.* #################### # Autoinscriptions # #################### autoinscribe += of faith:!P autoinscribe += rod of:!a autoinscribe += (lightning|iron) rod:!a autoinscribe += manual of:!d autoinscribe += ^staff of:!a autoinscribe += wands? of (heal wounds|hasting|teleportation):!d # don't let me accidentally drink/read anything but ID, RC, curing #autoinscribe += scroll.*(?!identify|remove curse):!r #autoinscribe += potion.*(?!curing|blood):!q autoinscribe += (bad|dangerous)_item.*potion:!q autoinscribe += (bad|dangerous)_item.*scroll:!r autoinscribe += scroll.+of.*(acquirement|vulnerability|summoning|teleportation|silence|fear|magic mapping|holy word|torment):!r autoinscribe += potion.+of.(agility|might|brilliance|cancellation|cure.mutation|restore.abilities|magic|resistance|haste|invisibility|heal.wounds|berserk.rage):!q : if you.race() == "Spriggan" then autoinscribe += porridge:!q :end : if you.god() == "Fedhas" then autoinscribe += fruit:!e : end ######### # Notes ############################################################## ######### user_note_prefix=-- dump_message_count = 50 dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += messages,screenshot,monlist,kills,notes,vaults,action_counts dump_order += skill_gains ood_interesting = 6 note_hp_percent = 30 note_all_spells = true note_all_skill_levels = true note_messages += protects you from harm note_messages += You fall through a shaft dump_item_origins = artefacts, rods, ego_arm, ego_weap note_chat_messages = true note_dgl_messages = true ################# # More messages ############################################# ################# more := force_more_message more = # Important features : if you.god() == "Ashenzari" then more += You have a vision of.*gates? : else more += interdimensional caravan more += distant snort : end more += You feel a terrible weight on your shoulders more += a bailey more += wave of frost more += hiss of flowing sand more += sound of rushing water more += heat about you more += crackle.*arcane power more += Found a gateway leading out of the Abyss more += Found a gateway leading deeper into the Abyss more += Found .* abyssal rune of Zot more += The mighty Pandemonium lord .* resides here # Interrupts more += You don't.* that spell more += You fail to use your ability more += You miscast more += You can't (read|drink|do) that more += You are too berserk more += That item cannot be evoked more += This wand has no charges more += You are held in a net more += You have disarmed more += You don't have any such object more += do not work when you're silenced more += You can't unwield more += enough magic points more += You feel your control is inadequate # Bad things more += Your surroundings flicker more += sense of stasis more += Your amulet of stasis more += You cannot teleport right now more += The writing blurs in front of your eyes more += You fall through a shaft more += A huge blade swings out and slices into you more += (blundered into a|invokes the power of) Zot more += Ouch! That really hurt! more += dispelling energy hits you more += You convulse more += You are blasted by holy energy! more += You are (blasted|electrocuted)! more += You are( more)? (confused) more += flesh start more += (starving|devoid of blood) more += god:(sends|finds|silent|anger) more += lose consciousness more += You are too injured to fight blindly more += Green shoots are pushing up through the earth more += calcifying dust hits more += Space warps horribly around you more += hits you.*distortion more += wielding.*distortion more += Space warps.*around you more += Space bends around you\. more += watched by something more += The dungeon rumbles around more += The air twists around and violently strikes you in flight more += flickers and vanishes # Hell effects more += hell_effect: # Expiring effects more += You feel yourself slow down more += less insulated more += You are starting to lose your buoyancy more += You lose control over your flight more += Your hearing returns more += Your transformation is almost over more += You have a feeling this form more += You feel yourself come back to life more += uncertain more += time is quickly running out more += life is in your own hands more += is no longer charmed more += shroud falls apart more += You start to feel a little slower # Others more += You have reached level more += You have finished your manual of more += Your scales start more += You feel monstrous more += Jiyva alters your body : if you.god() == "Xom" then more += god: : end more += Deactivating autopickup more += oklob.*come more += (Agnes|Aizul|Antaeus|Asmodeus|Asterion|Azrael|Blork the orc|Boris|Cerebov|Crazy Yiuf|Dispater|Dissolution|Donald|Dowan|Duvessa|Edmund|the Enchantress|Ereshkigal|Erica|Erolcha|Eustachio|Fannar|Frances|Frederick|Gastronok|Geryon|Gloorx Vloq|Grinder|Grum|Harold|Ignacio|Ijyb|Ilsuiw|Jessica|Jorgrun|Jory|Joseph|Josephine|Khufu|Kirke|Lamia|the Lernaean hydra|Lom Lobon|Louise|Mara|Margery|Maud|Maurice|Menkaure|Mennas|Mnoleg|Murray|Natasha|Nergalle|Nessos|Nikola|Norris|Pikel|Plog|Polyphemus|Prince Ribbit|Psyche|Purgy|Robin|Roxanne|the royal jelly|Rupert|Saint Roka|the Serpent of Hell|Sigmund|Snorg|Sonja|Terence|Tiamat|Urug|Vashnia|Wiglaf|Xtahua|*ghost of).*into view ############### # Spell Slots # ############### # Weak conjurations and damage spell_slot += freeze:asd spell_slot += magic dart:asd spell_slot += flame tongue:asd spell_slot += pain:asd spell_slot += shock:asd spell_slot += sandblast:asd spell_slot += sting:asd spell_slot += throw frost:asd spell_slot += throw flame:asd spell_slot += searing ray:asd spell_slot += conjure flame:sdf spell_slot += mephitic cloud:sdf spell_slot += vampiric draining:asdf spell_slot += static discharge:asdf spell_slot += poisonous vapours:asdf #strong conjurations and damage spell_slot += force bolt:qer spell_slot += dazzling spray:sdq spell_slot += fulminant prism:wer spell_slot += dispel undead:er spell_slot += stone arrow:qer spell_slot += iskenderun's mystic blast:qer spell_slot += sticky flame:qer spell_slot += throw icicle:qer spell_slot += agony:er spell_slot += lee's rapid deconstruction:wer spell_slot += iron shot:qer spell_slot += poison arrow:qer spell_slot += orb of destruction:er spell_slot += lehudib's crystal spear:qer spell_slot += chain lightning:wer spell_slot += fire storm:QWER spell_slot += glaciate:QWER spell_slot += shatter:QWER spell_slot += tornado:QWER spell_slot += poisonous cloud:wer spell_slot += freezing cloud:wer spell_slot += conjure ball lightning:QWER spell_slot += fireball:wer spell_slot += airstrike:qer spell_slot += bolt:qwer spell_slot += Singularity:werQWER spell_slot += ignition:werQWER # full AOE spells spell_slot += ozocubu's refrigeration:QWER spell_slot += aura of abjuration:ASDFgtGT spell_slot += corpse rot:ASDFgtGT spell_slot += forceful dismissal:ASDFgtGT spell_slot += ignite poison:ASDFgtGT spell_slot += metabolic englaciation:ASDFgtGT spell_slot += olgreb's toxic radiance:ASDFgtGT spell_slot += alistair's intoxication:ASDFgtGT #summoning spell_slot += summon small mammals:asdfASDF spell_slot += animate skeleton:asdfASDF spell_slot += summon butterflies:asdfASDF spell_slot += sticks to snakes:asdfASDF spell_slot += call imp:asdfASDF spell_slot += call canine familiar:asdfASDF spell_slot += animate dead:asdfASDF spell_slot += summon guardian golem:asdfASDF spell_slot += summon ice beast:asdfASDF spell_slot += summon scorpions:asdfASDF spell_slot += summon elemental:asdfASDF spell_slot += summon lightning spire:asdfASDF spell_slot += shadow creatures:asdfASDF spell_slot += summon forest:asdfASDF spell_slot += tukima's dance:asdfASDF spell_slot += twisted resurrection:asdfASDF spell_slot += summon demon:asdfASDF spell_slot += monstrous menagerie:asdfASDF spell_slot += death channel:asdfASDF spell_slot += simulacrum:asdfASDF spell_slot += summon hydra:QWER spell_slot += haunt:QWER spell_slot += spellforged servitor:asdfASDF spell_slot += summon greater demon:asdfASDF spell_slot += summon horrible things:QWER spell_slot += malign gateway:QWER spell_slot += dragon's call:QWER spell_slot += abjuration:sdf spell_slot += recall:sdf #transformations and UC spell_slot += beastly appendage:asdf spell_slot += spider form:qwer spell_slot += ice form:qwer spell_slot += blade hands:qwer spell_slot += statue form:QWER spell_slot += necromutation:QWER spell_slot += dragon form:QWER spell_slot += confusing touch:sdf #charms - superspammy spell_slot += shroud of golubria:zxcvZXCV spell_slot += ozocubu's armour:zxcvZXCV spell_slot += stoneskin:zxcvZXCV spell_slot += phase shift:zxcvZXCV spell_slot += Cigotuvi's Embrace:zxcvZXCV spell_slot += repel missiles:zxcvZXCV spell_slot += deflect missiles:zxcvZXCV spell_slot += regeneration:zxcvZXCV #charms - misc spell_slot += infusion:asdf spell_slot += iskenderun's battlesphere:asdfgt spell_slot += spectral weapon:asdfgt spell_slot += sublimation of blood:vVgtGT spell_slot += song of slaying:sdfgt spell_slot += control teleport:sdfgt spell_slot += sure blade:sdfgt spell_slot += condensation shield:sdfgt #charms - brands spell_slot += lethal infusion:asdfgt spell_slot += fire brand:asdfgt spell_slot += freezing aura:asdfgt spell_slot += poison weapon:asdfgt spell_slot += warp weapon:asdfgt spell_slot += excruciating wounds:asdfgt #charms - dangerous and should not be accidentally cast spell_slot += ring of flames:ZXCV spell_slot += haste:ZXCV spell_slot += invisibility:ZXCV spell_slot += silence:gGtTVCXZ spell_slot += flight:gGtTVCXZ spell_slot += swiftness:gGtTVCXZ spell_slot += invisibility:gtGTVCXZ #hexes spell_slot += ensorcelled hibernation:asd spell_slot += confuse:qwsd spell_slot += corona:sdf spell_slot += slow:sdf spell_slot += enslavement:qwsdf spell_slot += Gell's Gravitas:qwsdf spell_slot += petrify:qwsdf spell_slot += teleport other:qwsdf spell_slot += inner flame:qwsdf spell_slot += leda's liquefaction:ASDF spell_slot += mass confusion:QWER spell_slot += discord:QWER #utility and escape spell_slot += portal projectile:AgtGTSDF spell_slot += passwall:gtGT spell_slot += passage of golubria:sdf spell_slot += controlled blink:bB spell_slot += blink:b spell_slot += disjunction:gtGT spell_slot += dispersal:gtGT spell_slot += apportation:sdfASDF spell_slot += cause fear:sdfASDF spell_slot += darkness:gtGT spell_slot += control undead:sdfASDF spell_slot += cure poison:sdfASDF spell_slot += delayed fireball:DFgtGT spell_slot += borgnjor's revivification:UIOP spell_slot += death's door:UIOP # Use defaults that don't intersect other assignments spell_slot += .*:tgbTGByhnYHNujmUJMikIKolOLpP : local dmg_old_hp = 0 < function ready() DmgTrack() target_skill() end > : local dmg_old_hp = 0 : function DmgTrack() : local bot_hp, bot_mhp = you.hp() : local dmg_inturn = 0 : if dmg_old_hp > 0 then : dmg_inturn = dmg_old_hp - bot_hp : if bot_hp < dmg_old_hp then : crawl.mpr("You take " .. dmg_inturn .. " damage.") : end : end : dmg_old_hp = bot_hp : end :----------------------------- :---- Beging target_skill ---- :----------------------------- : :-- See README.md for documentation. : :skill_list = {"Fighting","Short Blades","Long Blades","Axes","Maces & Flails", : "Polearms","Staves","Unarmed Combat","Bows","Crossbows", : "Throwing","Slings","Armour","Dodging","Shields","Spellcasting", : "Conjurations","Hexes","Charms","Summonings","Necromancy", : "Translocations","Transmutations","Fire Magic","Ice Magic", : "Air Magic","Earth Magic","Poison Magic","Invocations", : "Evocations","Stealth"} :need_target_skill = nil : :function record_current_skills(maxlev) : c_persist.current_skills = { } : for _,sk in ipairs(skill_list) do : if you.train_skill(sk) > 0 and you.base_skill(sk) < (maxlev or 27) then : table.insert(c_persist.current_skills, sk) : end : end :end : :function check_skills() : if not c_persist.current_skills or not c_persist.target_skill then : return : end : for _,sk in ipairs(c_persist.current_skills) do : if you.base_skill(sk) >= c_persist.target_skill then : crawl.formatted_mpr(sk .. " reached " .. c_persist.target_skill : .. ".", "prompt") : crawl.more() : set_new_skill_training() : break : end : end :end : :function init_target_skill() : c_persist.target_skill = nil : c_persist.current_skills = { } : need_target_skill = true :end : :function set_new_skill_training() : init_target_skill() : c_persist.target_skill = 0 : crawl.sendkeys("m") :end : :function set_target_skill() : record_current_skills() : local str = "Currently training: " : local first_skill = true : for _,sk in ipairs(c_persist.current_skills) do : val = you.base_skill(sk) : if first_skill then : str = str .. sk .. "(" .. val .. ")" : else : str = str .. ", " .. sk .. "(" .. val .. ")" : end : first_skill = false : end : str = str .. "." : crawl.formatted_mpr(str, "prompt") : crawl.formatted_mpr("Choose a target skill level: ", "prompt") : c_persist.target_skill = tonumber(crawl.c_input_line()) : record_current_skills(c_persist.target_skill) : -- Update the target skill for char_defaults if necessary. : if save_default_target_skill and you.turns() == 0 then : save_default_target_skill() : end :end : :function control(c) : return string.char(string.byte(c) - string.byte('a') + 1) :end : :-- Moved this to its own function to clean up ready() -gammafunk :function target_skill() : prev_need_target = need_target_skill : : -- Need to look at skills and then set a target skill if our : -- need_target_skill variable is uninitialized and we're either at turn 0 or : -- c_persist.target_skill also uninitialized. : if prev_need_target == nil : and (you.turns() == 0 or c_persist.target_skill == nil) then : set_new_skill_training() : end : if prev_need_target then : set_target_skill() : need_target_skill = false : elseif not need_target_skill then : check_skills() : end :end : :-------------------------- :---- End target_skill ---- :--------------------------