# Crawl Init file ############################## ### Tiles and view options ### ############################## tile_window_width = 1300 tile_window_height = 700 tile_full_screen = false view_delay = 0 ###################### ### Morgue options ### ###################### dump_message_count = 30 dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += screenshot,monlist,messages,action_counts,vaults,notes,kills note_hp_percent = 10 note_all_skill_levels = true note_chat_messages = false user_note_prefix = // ############################## ### Travel-related options ### ############################## travel_delay = -1 explore_delay = -1 rest_delay = -1 auto_exclude += oklob,statue,curse skull,roxanne,hyperactive,lightning spire,mimic explore_stop = items,greedy_items,greedy_pickup,greedy_pickup_gold explore_stop += greedy_visited_item_stack,stairs,shops,altars,gates explore_stop += greedy_sacrificeable runrest_ignore_poison = 2:30 runrest_ignore_monster += ^butterfly$:1 show_travel_trail = true trapwalk_safe_hp = dart:20,needle:15,arrow:35,bolt:45,spear:40,blade:95 : if you.god() ~= "Nemelex Xobeh" and you.god() ~= "Elyvilon" : and you.god() ~= "No God" then auto_sacrifice = before_explore : else auto_sacrifice = true : end ## runrest messages stop := runrest_stop_message stop = ignore := runrest_ignore_message ignore = # 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 += 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 += lightning rod has recharged ignore += your breath back # Bad things stop += found.*trap stop += You fall through a shaft stop += An alarm trap 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 += less insulated stop += You are starting to lose your buoyancy stop += You lose control over your flight stop += Your hearing returns stop += Your transformation is almost over 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.race() == "Ghoul" then stop += smell.*(rott(ing|en)|decay) stop += something tasty in your inventory : end :if you.god() == "Xom" then stop += god: :else ignore += god: :end ignore += pray: ignore += talk: ignore += talk_visual: ignore += friend_spell: ignore += friend_enchant: ignore += friend_action: ignore += sound: #################### ### Menu options ### #################### drop_filter += useless_item $inedible := darkgrey $evil := red $preferred := yellow $rot-inducing := red $mutagenic := red $dangerous := red $poisonous := red $contaminated := brown menu := menu_colour menu = # Colouring of autoinscribed god gifts menu += pickup:lightcyan:god gift menu += inventory:white:\w \#\s # Colouring for the notes menu += notes:white:Reached XP level menu += inventory:white:\w \+\s menu += inventory:white:\w \#\s menu += darkgrey:(melded) ## General colorings menu += darkgrey:.*useless_item.* menu += red:.*(evil_item|dangerous_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|book|rod|staff).* menu += green:.*quarterstaff menu += lightblue:^unidentified .*weapon.*(runed|glowing) menu += lightblue:^unidentified .*armour.*(runed|glowing|embroidered|shiny|dyed) # Food menu += brown:contaminated.*chunk menu += red:(mutagenic|poisonous).*chunk menu += darkgrey:(inedible|rotting).*chunk menu += lightgrey:chunk menu += green:(strawberr|grape|sultana) ## The duplicate entries for pears/oranges cover items on the ground as ## well as in-menu. menu += magenta:( +pears?$| +pears? +|apple|apricot|choko|lychee|rambutan) menu += cyan:(oranges?$|oranges? +|banana|lemon|pizza|sausage|snozz|jerky|cheese|honeycomb) menu += lightcyan:(meat ration|bread ration) menu += yellow:(ambrosia|royal jell) menu += $inedible:.*inedible.* menu += $evil:.*evil_eating.* menu += $rot-inducing:.*rot-inducing.* menu += $mutagenic:.*mutagenic.* menu += $poisonous:.*poisonous.* menu += $contaminated:.*contaminated.* ## Potions menu += red:potions? of.*(berserk) menu += green:potions? of.*(agility|brilliance|might|flight) menu += lightgreen:potions? of.*(resistance|invisibility|haste) menu += brown:potions? of.*curing menu += yellow:potions? of.*heal wounds menu += lightmagenta:potions? of.*magic menu += cyan:potions? of.*(restore abilities|cure mutation) menu += lightcyan:potions? of.*(beneficial mutation|experience) : 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 menu += brown:scroll.*(amnesia|curse) menu += yellow:scroll.*(amnesia|identify) menu += green:scroll.*enchant menu += lightgreen:scroll.*(enchant armour|weapon III|brand weapon) menu += magenta:scroll.*(fog|teleport) menu += lightmagenta:scroll.*(fear|blink) menu += cyan:scroll.*(noise|immolation|vulnerability|torment|holy word|silence) menu += lightcyan:scroll.*(acquire|summoning|recharging|magic map) menu += lightcyan:wand of.*heal wounds menu += green:wand of.*(slowing|confusion|random effects) menu += lightgreen:wand of.*(polymorph|paralysis|enslavement) menu += magenta:wand of.*(digging|disintegration|teleportation) menu += lightmagenta:wand of.*(hasting|invisibility) menu += brown:wand of.*(flame|frost|magic dart) menu += yellow:wand of.*(lightning|draining|cold|fire) prefer_safe_chunks = true show_inventory_weights = true auto_drop_chunks = rotten sort_menus += inv: true : equipped, freshness, charged ######################## ### Glyphs and colors ## ######################## item := item_glyph item += potion:lightgrey item += scroll:lightgrey item += dangerous_item:red item += potions? of.*(berserk):red item += potions? of.*(agility|brilliance|might|flight):green item += potions? of.*(resistance|invisibility|haste):lightgreen item += potions? of.*magic:lightmagenta item += potions? of.*heal wounds:yellow item += potions? of.*curing:brown item += potions? of.*(restore abilities|cure mutation):cyan 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.*porridge:lightred item += potions? of.*blood:darkgrey : end item += scroll.*(amnesia|curse):brown item += scroll.*identify:yellow item += scroll.*enchant weapon II?:green item += scroll.*(enchant armour|enchant weapon III|brand weapon):lightgreen item += scroll.*(fog|teleport):magenta item += scroll.*(fear|blink):lightmagenta item += scroll.*(noise|immolation|vulnerability|torment|holy word|silence):cyan item += scroll.*(acquire|summoning|recharging|magic map):lightcyan item += useless.*(potion|scroll|missile|armour|weapon):darkgrey item += (book|jewellery|rod|magical staff).*:magenta item += unidentified.*(potion|scroll|book|jewellery|wand|rod|magical staff).*:lightblue item += (a )?stones?$:lightgray : if you.race() == "Vampire" then item += chunk:darkgrey : else item += chunk:lightgrey item += contaminated.*chunk:brown item += (inedible|rotting).*chunk:darkgrey item += (mutagenic|poisonous).*chunk:red : end item += (strawberry|grape|sultana):green item += ( +pears?$|apple|apricot|choko|lychee|rambutan):magenta item += ( +oranges?$|banana|lemon|pizza|sausage|snozz|jerky|cheese|honeycomb):cyan item += (meat ration|bread ration):lightcyan item += (ambrosia|royal jelly):yellow item += wand of.*heal wounds: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 item += corpse: 0 item += skeleton: 0 cset += item_orb : xa3 ## Some ideas take from rchandra/simmarine mons := mon_glyph mons ^= dancing weapon : cyan { mons ^= spectral weapon : lightcyan { mons ^= item mimic: lightblue x mons ^= inept item mimic: red x mons ^= ravenous item mimic: white x mons ^= feature mimic: lightblue x mons ^= inept feature mimic: red x mons ^= ravenous feature mimic: white x ######################### ### Interface options ### ######################### default_manual_training = true show_gold_turns = true show_game_turns = true allow_self_target = prompt # 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 } ######################## ### Auotpick options ### ######################## autopickup = $?!+"/%| ## From ae := autopickup_exceptions ae = ae += useless_item ae += dangerous_item ae += evil_item ae += amulet of (inaccuracy|the gourmand|controlled flight|warding|stasis) ae += amulet of (resist .*|clarity|rage|conservation|guardian spirit|faith) ae += ring of (see invisible|flight|poison resistance|teleportation) ae += ring of (invisibility|teleport control) ae += ring of (sustain abilities|sustenance|wizardry|life protection) : if you.race() ~= "Vampire" then ae += potion of blood : end ae += staff of .* default_friendly_pickup = none autopickup_no_burden = true ## Copied from rchandra's rc add_autopickup_func(autopickup) } # Skill menu at game start by rwbarton # needs to preserve ready for hugedmg (rchandra) # now includes autodump from qw { local dump_count = you.turns() local need_skills_opened = true local oldready = ready function ready() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end if you.turns() >= dump_count then dump_count = dump_count+1000 crawl.dump_char() end oldready() end } #################### ### Autoinscribe ### #################### autoinscribe += (bad|dangerous)_item.*potion:!q autoinscribe += potion.*berserk rage:!q autoinscribe += (bad|dangerous)_item.*scroll:!r autoinscribe += of faith:!P autoinscribe += rod of:!a autoinscribe += lightning rod:!a autoinscribe += manual of:!d autoinscribe += staff of (Wucad Mu|energy|channeling|wizardry|power):!a autoinscribe += ambrosia:!e autoinscribe += (bread|meat) ration:!e autoinscribe += scroll.+of.*(vulnerability|summoning|teleportation|silence|fog|fear|magic mapping):!r autoinscribe += potion.+of (cure mutation|restore abilities|magic|resistance|haste|invisibility|porridge):!q : if you.race() == "Vampire" then autoinscribe += of blood:@*1 autoinscribe += of coagulated blood:@*2 autoinscribe += chunks? of:@*3 : else autoinscribe += chunks? of:@*1 : end : if you.god() == "Fedhas" then autoinscribe += fruit:!e : end ################### # Message colours # ################### ### standard colours to be used for message highlighting $danger := lightred $warning := yellow $boring := darkgrey $item_dmg := $danger msc := message_colour msc = # 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: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:constricts?.*no damage # Prayer channel.pray += mute # 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:^It .* 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 += $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.*oriflamme msc += $warning:oriflamme 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 ##################### ### 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 more += Found a gateway leading out of the Abyss : end more += Found .* abyssal rune of Zot more += You feel a terrible weight on your shoulders # 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 += 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.*(confused|poisoned) more += flesh start more += (starving|devoid of blood) more += wrath finds you 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 += Space bends around you\. more += watched by something # Hell effects more += You will not leave this place more += Die\, mortal more += We do not forgive those who trespass against us more += Trespassers are not welcome here more += You do not belong in this place more += Leave now\, before it is too late more += We have you now more += You smell brimstone more += Brimstone rains from above more += You feel lost and a long\, long way from home more += You shiver with fear more += You feel a terrible foreboding more += Something frightening happens more += You sense an ancient evil watching you more += You suddenly feel all small and vulnerable more += You sense a hostile presence more += A gut-wrenching scream fills the air more += You hear words spoken in a strange and terrible language more += You hear diabolical laughter # 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|Roxanne|the royal jelly|Rupert|Saint Roka|the Serpent of Hell|Sigmund|Snorg|Sonja|Terence|Tiamat|Urug|Vashnia|Wiglaf|Xtahua).*into view note_items += rod of, acquirement, preservation, running, of Zot note_messages += You pass through the gate note_messages += cast .* Abyss note_messages += Your scales start note_messages += protects you from harm note_messages += You fall through a shaft note_monsters += orb of fire, ancient lich, Sigmund ################### ### Spell slots ### ################### # Utility spells spell_slot += Abjuration:jJ spell_slot += Aura of abjuration:jJ spell_slot += Apportation:aA spell_slot += Borgnjor's revivification:BV spell_slot += Blink:K spell_slot += Condensation shield:ie spell_slot += Control teleport:eE spell_slot += Controlled blink:CB spell_slot += Darkness:D spell_slot += Death's door:DO spell_slot += Deflect missiles:rR spell_slot += Flight:lL spell_slot += Haste:h spell_slot += Invisibility:iv spell_slot += Mass abjuration:jJ spell_slot += Ozocubu's armour:zm spell_slot += Phase shift:piPH spell_slot += Repel missiles:r spell_slot += Ring of flames:mnM spell_slot += Recall:eE spell_slot += Regeneration:gG spell_slot += Silence:SI spell_slot += Shroud of golubria:giG spell_slot += Sublimation of blood:mBO spell_slot += Swiftness:s spell_slot += Stoneskin:nNk spell_slot += Summon butterflies:U # Transformations spell_slot += Beastly appendage:bB spell_slot += Blade hands:bdB spell_slot += Dragon form:dDo spell_slot += Ice form:icI spell_slot += Necromutation:nN spell_slot += Spider form:pS spell_slot += Statue form:tT # Low-level offensive spells spell_slot += Call imp:imp spell_slot += Confusing touch:chu spell_slot += Confuse:co spell_slot += Ensorcelled hibernation:zh spell_slot += Freeze:zf spell_slot += Flame tongue:fto spell_slot += Magic dart:zd spell_slot += Mephitic cloud:pc spell_slot += Pain:zpn spell_slot += Shock:zoc spell_slot += Sandblast:zb spell_slot += Slow:wo spell_slot += Static discharge:td spell_slot += Sting:zt spell_slot += Stone arrow:wto spell_slot += Summon small mammal:mu spell_slot += Throw frost:tf spell_slot += Throw flame:tf spell_slot += Vampiric draining:vd # Mid-level offensive spell_slot += Airstrike:itA spell_slot += Agony:yn spell_slot += Call canine familiar:fcu spell_slot += Dispel undead:duD spell_slot += Fireball:fb spell_slot += Iskenderun's mystic blast:byk spell_slot += Lee's rapid deconstruction:dt spell_slot += Shadow creatures:wcuto spell_slot += Sticky flame:fyk spell_slot += Summon scorpions:pcu spell_slot += Summon ice:bcu spell_slot += Summon demon:duno spell_slot += Summon forest:ftuo spell_slot += Summon guardian golem:duo spell_slot += Summon lightning spire:ptu spell_slot += Summon mana viper:vpu spell_slot += Throw icicle:ct spell_slot += Venom bolt:bv # High-level offensive spell_slot += Alistair's intoxication:xiX spell_slot += Bolt of fire:bf spell_slot += Bolt of cold:bc spell_slot += Bolt of draining:bd spell_slot += Chain lightning:citn spell_slot += Dragon's call:dDco spell_slot += Fire storm:fFo spell_slot += Forcefull dismissal:fdcuo spell_slot += Freezing cloud:fcC spell_slot += Glaciate:cCt spell_slot += Haunt:nut spell_slot += Ice storm:cCot spell_slot += Iron shot:toT spell_slot += Lehudib's crystal spear:cyp spell_slot += Lightning bolt:bt spell_slot += Malign gateway:wtn spell_slot += Monstrous menagerie:uUto spell_slot += Orb of destruction:odOt spell_slot += Ozocubu's refrigeration:ogu spell_slot += Poison arrow:pwPW spell_slot += Poisonous cloud:pcP spell_slot += Shatter:TE spell_slot += Spellforged servitor:vpfto spell_slot += Summon dragon:dDuo spell_slot += Summon greater demon:dDtuo spell_slot += Summon horrible:xX spell_slot += Summon hydra:yYdu spell_slot += Summon ugly:uUy spell_slot += Tornado:TOD # Default letters spell_slot += .*:yY #################### ### Player Glyph ### #################### : if you.race() == "Demonspawn" then mon_glyph = demonspawn : lightred & : end :best = you.skill("Fighting") :skill_name = "Fighting" :melee = true :casting = false :if you.skill("Short Blades") > best then :best = you.skill("Short Blades") :skill_name = "Short Blades" :end :if you.skill("Long Blades") > best then :best = you.skill("Long Blades") :skill_name = "Long Blades" :end :if you.skill("Axes") > best then :best = you.skill("Axes") :skill_name = "Axes" :end :if you.skill("Maces & Flails") > best then :best = you.skill("Maces & Flails") :skill_name = "Maces & Flails" :end :if you.skill("Polearms") > best then :best = you.skill("Polearms") :skill_name = "Polearms" :end :if you.skill("Staves") > best then :best = you.skill("Staves") :skill_name = "Staves" :end :if you.skill("Slings") > best then :best = you.skill("Slings") :skill_name = "Slings" :end :if you.skill("Bows") > best then :best = you.skill("Bows") :skill_name = "Bows" :end :if you.skill("Crossbows") > best then :best = you.skill("Crossbows") :skill_name = "Crossbows" :end :if you.skill("Throwing") > best then :best = you.skill("Throwing") :skill_name = "Throwing" :end :if you.skill("Armour") > best then :best = you.skill("Armour") :skill_name = "Armour" :end :if you.skill("Dodging") > best then :best = you.skill("Dodging") :skill_name = "Dodging" :end :if you.skill("Stealth") > best then :best = you.skill("Stealth") :skill_name = "Stealth" :melee = false :end :if you.skill("Shields") > best then :best = you.skill("Shields") :skill_name = "Shields" :end :if you.skill("Unarmed Combat") > best then :best = you.skill("Unarmed Combat") :skill_name = "Unarmed Combat" :end :if you.skill("Spellcasting") > best then :best = you.skill("Spellcasting") :skill_name = "Spellcasting" :melee = false :casting = true :end :if you.skill("Conjurations") > best then :best = you.skill("Conjurations") :skill_name = "Conjurations" :melee = false :casting = true :end :if you.skill("Charms") > best then :best = you.skill("Charms") :skill_name = "Charms" :melee = false :casting = true :end :if you.skill("Hexes") > best then :best = you.skill("Hexes") :skill_name = "Hexes" :melee = false :casting = true :end :if you.skill("Summonings") > best then :best = you.skill("Summonings") :skill_name = "Summonings" :melee = false :casting = true :end :if you.skill("Necromancy") > best then :best = you.skill("Necromancy") :skill_name = "Necromancy" :melee = false :casting = true :end :if you.skill("Translocations") > best then :best = you.skill("Translocations") :skill_name = "Translocations" :melee = false :casting = true :end :if you.skill("Transmutations") > best then :best = you.skill("Transmutations") :skill_name = "Transmutations" :melee = false :casting = true :end :if you.skill("Fire Magic") > best then :best = you.skill("Fire Magic") :skill_name = "Fire Magic" :melee = false :casting = true :end :if you.skill("Ice Magic") > best then :best = you.skill("Ice Magic") :skill_name = "Ice Magic" :melee = false :casting = true :end :if you.skill("Air Magic") > best then :best = you.skill("Air Magic") :skill_name = "Air Magic" :melee = false :casting = true :end :if you.skill("Earth Magic") > best then :best = you.skill("Earth Magic") :skill_name = "Earth Magic" :melee = false :casting = true :end :if you.skill("Poison Magic") > best then :best = you.skill("Poison Magic") :skill_name = "Poison Magic" :melee = false :casting = true :end :if you.skill("Invocations") > best then :best = you.skill("Invocations") :skill_name = "Invocations" :melee = false :end :if you.skill("Evocations") > best then :best = you.skill("Evocations") :skill_name = "Evocations" :melee = false :end :if you.race() == "Deep Elf" or you.race() == "High Elf" then show_player_species = false :if skill_name == "Summonings" then :if best < 21 then mon_glyph = player:brown e :elseif best >= 21 then mon_glyph = player:yellow e :end :elseif skill_name == "Invocations" then :if best < 15 then mon_glyph = player:green e :else mon_glyph = player:lightgreen e :end :elseif skill_name == "Conjurations" then :if best < 27 then mon_glyph = player:blue e :else mon_glyph = player:lightblue e :end :elseif skill_name == "Necromancy" then mon_glyph = player:white e :elseif casting == true then :if best < 21 then mon_glyph = player:magenta e :else mon_glyph = player:lightmagenta e :end :elseif skill_name == "Bows" then mon_glyph = player:lightgrey e :elseif skill_name == "Short Blades" then mon_glyph = player:lightcyan e :elseif melee == true then :if best < 10 then mon_glyph = player:lightred e :else mon_glyph = player:cyan e :end :else mon_glyph = player:red e :end :end :if you.race() == "Merfolk" then show_player_species = false :if skill_name == "Throwing" then mon_glyph = player:lightgrey m :elseif skill_name == "Ice Magic" then mon_glyph = player:green m :elseif skill_name == "Polearms" and best >= 15 then mon_glyph = player:lightblue m :else mon_glyph = player:blue m :end :end :if you.race() == "Hill Orc" then show_player_species = false :if you.god() == "Beogh" then show_player_species = true :elseif melee == true and best >= 10 then :if best >= 10 and best < 15 then mon_glyph = player:yellow o :elseif best >= 15 and best < 20 then mon_glyph = player:cyan o :elseif best >= 20 then mon_glyph = player:lightcyan o :end :elseif casting == true then :if best >= 15 then mon_glyph = player:lightmagenta o :else mon_glyph = player:magenta o :end :else mon_glyph = player:lightred o :end :end :if you.race() == "Deep Dwarf" then show_player_species = false :if you.god() == "Yredelemnul" then mon_glyph = player:green q :elseif you.god() == "Trog" then mon_glyph = player:lightred q :elseif skill_name == "Evocations" then mon_glyph = player:blue q :elseif skill_name == "Necromancy" then mon_glyph = player:magenta q :else mon_glyph = player:brown q :end :end :if you.race() == "Naga" then show_player_species = false :if melee == true and best >= 15 then mon_glyph = player:blue N :elseif casting == true then :if best >= 15 then mon_glyph = player:lightmagenta N :else mon_glyph = player:red N :end :else mon_glyph = player:green N :end :end :if you.race() == "Centaur" then show_player_species = false :if melee == true and best >= 15 then mon_glyph = player:yellow c :else mon_glyph = player:brown c :end :end :if you.race() == "Spriggan" then show_player_species = false :if you.god() == "Trog" then mon_glyph = player:lightred i :else mon_glyph = player:lightgrey i :end :end :if you.race() == "Kobold" then show_player_species = false :if skill_name == "Summonings" then mon_glyph = player:magenta K :else mon_glyph = player:brown K :end :end :if you.race() == "Mummy" then show_player_species = false :if skill_name == "Invocations" then mon_glyph = player:red M :elseif best >= 25 then mon_glyph = player:green M :else mon_glyph = player:lightgrey M :end :end :if you.race() == "Vampire" then show_player_species = false :if melee == true and best >= 15 then mon_glyph = player:cyan V :elseif casting == true and best >= 15 then mon_glyph = player:magenta V :else mon_glyph = player:red V :end :end