Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TEAMCAPTAIN silentsnack
- #include += HDamage.rc
- include += hugedmg.rc
- # language = dwarven|jagerkin|kraut|runes|wide|grunt
- # language = dwarven
- cset = cloud : xa4
- note_chat_messages = true
- restart_after_game = true
- ##############
- # Autopickup #
- ##############
- autopickup += $?!:"/%|
- pickup_mode += multi
- default_friendly_pickup += none
- auto_drop_chunks = rotten
- ae := autopickup_exceptions
- ae =
- ae += <gift
- ae += useless_item, dangerous_item, evil_item
- ae += (amulet|ring|staff|rod) of
- #rwbartons secondary armour pickup script
- {
- local function autopickup(it, name)
- if it.is_useless then
- return false
- end
- if it.artefact then
- return true
- end
- local class = it.class(true)
- if class == "armour" then
- local good_slots = {cloak="Cloak", helmet="Helmet",
- gloves="Gloves", boots="Boots"}
- st, _ = it.subtype()
- if good_slots[st] ~= nil and
- items.equipped_at(good_slots[st]) == nil then
- return true
- end
- if name:find("dragon") or
- name:find("crystal") then
- return true
- end
- end
- return false
- end
- add_autopickup_func(autopickup)
- }
- : if you.god() == "Nemelex Xobeh" then
- ae += <deck
- : end
- ###############
- # Spell slots #
- ###############
- note_chat_messages = true
- sort_menus += inv: true : equipped, freshness, charged, qualname
- # spell slots, organisation inspired by elliptic
- spell := spell_slot
- # spells that will (nearly) always have the same letter...
- spell += summon butterflies:qQ
- spell += regeneration:r
- spell += flight:fF
- spell += shroud of golubria:geE
- spell += abjuration:A
- spell += ozocubu's armour:eEo
- spell += stoneskin:eEs
- spell += phase shift:eEp
- spell += repel missiles:mM
- spell += swiftness:s
- spell += control teleport:t
- spell += ^blink:B
- spell += sublimation of blood:xX
- spell += apportation:a
- spell += dig:dg
- spell += dispersal:QDE
- spell += darkness:qQ
- spell += vampiric draining:v
- spell += ring of flames:F
- spell += haste:H
- spell += invisibility:V
- spell += disjunction:J
- spell += necromutation:DM
- spell += borgnjor's revivification:G
- spell += deflect missiles:mM
- spell += silence:S
- spell += statue form:S
- spell += alistair's intoxication:Cc
- spell += controlled blink:b
- spell += passwall:p
- spell += death's door:D
- spell += recall:R
- #brands
- spell += warp weapon:WX
- spell += excruciating wounds:WX
- spell += conjure flame:cC
- spell += poisonous cloud:cC
- spell += freezing cloud:cC
- spell += ozocubu's refrigeration:cCoOR
- spell += conjure ball lightning:Cc
- spell += chain lightning:cC
- #zombies
- spell += animate dead:zZ
- spell += twisted resurrection:zZ
- spell += control undead:zZcC
- spell += animate skeleton:zZ
- # big stuff: YKUHLJN if there's not a better place
- spell += fire storm:CYKUHLJN
- spell += glaciate:YKUHLJN
- spell += shatter:SYKUHLJN
- spell += tornado:TYKUHLJN
- spell += summon horrible things:YKUHLJN
- spell += dragon's call:YKUHLJN
- spell += summon greater demon:YKUHLJN
- spell += haunt:YKUHLJN
- spell += malign gateway:YKUHLJN
- spell += dragon form:YKUHLJN
- # oddball spells
- spell += passage of golubria:g
- spell += confusing touch:ct
- spell += sure blade:s
- spell += condensation shield:eE
- spell += corpse rot:cC
- spell += portal projectile:fp
- spell += simulacrum:wWX
- spell += metabolic englaciation:cC
- spell += ignite poison:pP
- spell += sticks to snakes:wWxX
- spell += death channel:W
- spell += cure poison:p
- spell += tukima's dance:wWX
- spell += mass confusion:CM
- spell += olgreb's toxic radiance:ocC
- spell += cause fear:cC
- spell += static discharge:cC
- spell += vampiric draining:v
- spell += leda's liquefaction:TQ
- # defaults (attack / summon / transform / conflicts) go on numpad
- spell += .*:ykuhljnYKUHLJN
- ##########
- # Travel #
- ##########
- #travel_delay = -1
- explore_stop += items,greedy_items,greedy_pickup,greedy_pickup_gold
- explore_stop += greedy_visited_item_stack,stairs,shops,altars,gates
- explore_stop += greedy_sacrificeable
- trapwalk_safe_hp =
- trapwalk_safe_hp += dart:10,needle:5,arrow:15,bolt:25,spear:20,axe:25,blade:35
- #sacrifice_before_explore = true
- auto_sacrifice = true
- stop := runrest_stop_message
- stop =
- #ignore := runrest_ignore_message
- #ignore =
- #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
- runrest_ignore_poison = 2:10
- runrest_ignore_monster += butterfly:1
- # Bad things
- stop += found a trap
- stop += Wait a moment
- stop += You fall through a shaft
- stop += An alarm trap emits a blaring wail
- stop += (blundered into a|invokes the power of) Zot
- stop += hear a soft click
- 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
- # Ghouls
- : if you.race() == "Ghoul" then
- stop += smell.*(rott(ing|en)|decay)
- stop += something tasty in your inventory
- : end
- #ignore += pray:
- #ignore += talk:
- #ignore += talk_visual:
- #ignore += friend_spell:
- #ignore += friend_enchant:
- #ignore += friend_action:
- #ignore += sound:
- #stop += god:
- #stop += tutorial:
- ###########
- # Prompts #
- ###########
- 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
- # Interrupts
- more += You don't.* that spell
- more += You fail to use your ability
- more += You miscast Controlled Blink
- more += You can't (read|drink) 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|electrocuted)
- more += You are.*(confused|poisoned)
- stop += 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
- # 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
- # Others
- more += You have reached level
- more += Your scales start
- more += You feel monstrous
- more += Jiyva alters your body
- #: if you.god() == "Xom" then
- #more += god:
- #: end
- #############
- # Interface #
- #############
- equip_unequip = true
- allow_self_target = no
- easy_confirm = all
- #confirm_butcher = never
- #auto_eat_chunks = true
- auto_drop_chunks = yes
- easy_eat_contaminated = true
- hp_warning = 50
- hp_colour =
- hp_colour += 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
- mp_colour =
- mp_colour += 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red
- stat_colour =
- stat_colour += 3:red, 7:lightred
- small_more = true
- show_inventory_weights = true
- show_gold_turns = true
- show_game_turns = true
- default_manual_training = true
- # Spellcasting spam reduction by monqy
- {
- local function generic_cast_spell(cmd)
- crawl.mpr('<cyan>Cast which spell?</cyan>')
- 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:You swap places
- msc += mute:Your.*(looks stronger|shudders|resist)
- 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)
- # Prayer
- #channel.pray = mute
- # Jiyva
- : if you.god() == "Jiyva" then
- msc += mute:slurping|squelching
- msc += mute:a little less hungry
- msc += mute:splits in two
- : 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
- # Other
- #msc += mute:This raw flesh tastes terrible
- #msc += mute:There is something wrong with this meat
- #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
- # Item colouring
- # 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 += $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: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
- menu += yellow: curing
- menu += yellow: haste|hasting
- menu += yellow: identify
- # Food
- menu += $inedible:.*inedible.*
- menu += $evil:.*evil_eating.*
- menu += $rot-inducing:.*rot-inducing.*
- menu += $mutagenic:.*mutagenic.*
- menu += $poisonous:.*poisonous.*
- menu += $contaminated:.*contaminated.*
- ####################
- # Autoinscriptions #
- ####################
- autoinscribe += (distortion):!w
- autoinscribe += (bad|dangerous)_item.*potion:!q
- autoinscribe += (bad|dangerous)_item.*scroll:!r
- autoinscribe += of faith:!P
- autoinscribe += rod of:!a
- autoinscribe += chunks? of:@w1
- : if you.god() == "Fedhas" then
- autoinscribe += fruit:!e
- : end
- #########
- # Notes #
- #########
- dump_message_count = 20
- dump_order = header, hiscore, stats, misc, notes, inventory,
- dump_order += turns_by_place, skills, spells, overview, mutations,
- dump_order += messages, screenshot, monlist, kills_by_place, kills
- dump_order += action_counts
- dump_book_spells = false
- note_all_skill_levels = true
- note_hp_percent = 10
- note_messages += protects you from harm
- note_messages += You fall through a shaft
- #################
- # Miscellaneous #
- #################
- char_set = ascii
- show_player_species = true
- #skill_focus = toggle
- feature = explore horizon {.,,green}
- ##show player interface stuff
- # Player glyphs based on skills by N78291
- : 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("Stabbing") > best then
- : best = you.skill("Stabbing")
- : skill_name = "Stabbing"
- : melee = false
- : end
- : if you.skill("Shields") > best then
- : best = you.skill("Shields")
- : skill_name = "Shields"
- : end
- : if you.skill("Traps & Doors") > best then
- : best = you.skill("Traps & Doors")
- : skill_name = "Traps & Doors"
- : melee = false
- : 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("Enchantments") > best then
- : best = you.skill("Enchantments")
- : skill_name = "Enchantments"
- : 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"
- : or you.race() == "Sludge Elf" then
- show_player_species = false
- : if skill_name == "Summonings" then
- : if best >= 8 and 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 >= 8 and 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 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:white 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:lightcyan V
- : elseif casting == true and best >= 15 then
- mon_glyph = player:magenta V
- : else
- mon_glyph = player:red V
- : end
- : end
- : if you.race() == "Octopode" then
- show_player_species = false
- mon_glyph = player:cyan X
- :end
- # Demonspawn added by st_
- : if you.race() == "Demonspawn" then
- show_player_species = false
- : if melee == true then
- : if best < 27 then
- mon_glyph = player:lightgrey 1
- : else
- mon_glyph = player:lightgrey &
- : end
- : elseif skill_name == "Armour" then
- : if best < 27 then
- mon_glyph = player:cyan 1
- : else
- mon_glyph = player:cyan &
- : end
- : elseif skill_name == "Stealth" then
- : if best < 27 then
- mon_glyph = player:darkgrey 1
- : else
- mon_glyph = player:darkgrey &
- : end
- : elseif skill_name == "Stabbing" then
- : if best < 27 then
- mon_glyph = player:darkgrey 1
- : else
- mon_glyph = player:darkgrey &
- : end
- : elseif skill_name == "Spellcasting" then
- : if best < 27 then
- mon_glyph = player:lightmagenta 1
- : else
- mon_glyph = player:lightmagenta &
- : end
- : elseif skill_name == "Conjurations" then
- : if best < 27 then
- mon_glyph = player:lightblue 1
- : else
- mon_glyph = player:lightblue &
- : end
- : elseif skill_name == "Enchantments" then
- : if best < 27 then
- mon_glyph = player:yellow 1
- : else
- mon_glyph = player:yellow &
- : end
- : elseif skill_name == "Summonings" then
- : if best < 27 then
- mon_glyph = player:blue 1
- : else
- mon_glyph = player:blue &
- : end
- : elseif skill_name == "Translocations" then
- : if best < 27 then
- mon_glyph = player:lightcyan 1
- : else
- mon_glyph = player:lightcyan &
- : end
- : elseif skill_name == "Transmutations" then
- : if best < 27 then
- mon_glyph = player:yellow 1
- : else
- mon_glyph = player:yellow &
- : end
- : elseif skill_name == "Fire Magic" then
- : if best < 27 then
- mon_glyph = player:red 1
- : else
- mon_glyph = player:red &
- : end
- : elseif skill_name == "Ice Magic" then
- : if best < 27 then
- mon_glyph = player:white 1
- : else
- mon_glyph = player:white &
- : end
- : elseif skill_name == "Air Magic" then
- : if best < 27 then
- mon_glyph = player:blue 1
- : else
- mon_glyph = player:blue &
- : end
- : elseif skill_name == "Earth Magic" then
- : if best < 27 then
- mon_glyph = player:brown 1
- : else
- mon_glyph = player:brown &
- : end
- : elseif skill_name == "Necromancy" then
- : if best < 27 then
- mon_glyph = player:magenta 1
- : else
- mon_glyph = player:magenta &
- : end
- : elseif skill_name == "Poison Magic" then
- : if best < 27 then
- mon_glyph = player:green 1
- : else
- mon_glyph = player:green &
- : end
- : elseif skill_name == "Invocations" then
- : if best < 27 then
- mon_glyph = player:lightgreen 1
- : else
- mon_glyph = player:lightgreen &
- : end
- : else
- mon_glyph = player:lightred &
- : end
- : end
- ###################
- ### RandomTiles ###
- ###################
- tile_player_tile = playermons
- ## To set up RandomTiles, you need (1) the includes below and (2) to #add/modify
- ## the ready() function in your rc. See the project page:
- ## https://github.com/gammafunk/RandomTiles
- include += PlayerTiles.rc
- include += RandomTiles.rc
- {
- local need_skills_opened = true
- local dump_count = you.turns()
- function ready()
- -- Enable RandomTiles.
- random_tile()
- # -- Show skill screen at game start.
- if you.turns() == 0 and need_skills_opened then
- need_skills_opened = false
- crawl.sendkeys("m")
- end
- # -- Make a char dump every 1k turns.
- if you.turns() >= dump_count then
- dump_count = dump_count + 1000
- crawl.dump_char()
- end
- end
- }
Add Comment
Please, Sign In to add comment