### Guake Color Palette ### # cobalt2 ######################## ### Standard Options ### ######################## ### 1- Starting Screen. ### default_manual_training = true autopickup_starting_ammo = true # Magically better to invoke RNG as you go pregen_dungeon = classic ### 2- File System. ### ### 3- Interface. ### ## 3-a Picking up and Dropping. ## default_autopickup = true pickup_thrown = true # This setting should be changed based on character type auto_hide_spells = false ## 3-b Passive Sightings (detected or remembered entities). ## ## 3-c Branding. (Item and monster highlighting). ## friend_brand = hi:green neutral_brand = hi:lightgrey stab_brand = hi:blue may_stab_brand = hi:yellow heap_brand = reverse feature_item_brand = reverse trap_item_brand = reverse ## 3-d Level Map Functions. ## level_map_cursor_step = 7 ## 3-e Viewport Display Functions. ## ## 3-f Travel and Exploration. ## travel_delay = -1 explore_delay = -1 rest_delay = -1 explore_greedy = true explore_stop = items,stairs,altars,portals,glowing_items,artefacts,runes # Experimental setting explore_wall_bias = 27 rest_wait_both = true # Change this if desired when playing with Hep rest_wait_ancestor = false # Maybe experiment with setting this slightly lower to do some regen while exploring? rest_wait_percent = 100 explore_auto_rest = true # Test these settings with a WJC char wall_jump_move = true wall_jump_prompt = true ## 3-g Command Enhancements. ## auto_switch = true travel_open_doors = true easy_unequip = true equip_unequip = true easy_confirm = all simple_targeting = false allow_self_target = no auto_butcher = satiated confirm_butcher = never easy_eat_chunks = true auto_eat_chunks = true easy_quit_item_prompts = true sort_menus = true:equipped,identified,basename,art,ego,glowing,qualname,curse,charged,slot easy_floor_use = true # All autofight settings are experimental for now autofight_stop = 75 autofight_hunger_stop = 1 # May change this for certain chars autofight_throw = false autofight_caught = true automagic_enable = false easy_door = true warn_hatches = false enable_recast_spell = false regex_search = true autopickup_search = true bad_item_prompt = false ##3-h Messages and Display Enhancements. ## hp_warning = 50 mp_warning = 25 hp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red mp_colour = 100:green, 99:lightgray, 75:yellow, 50:lightred, 25:red clear_messages = false show_more = true small_more = true show_newturn_mark = true show_game_time = true equip_bar = false msg_condense_repeats = true msg_condense_short = true show_travel_trail = true skill_focus = true default_show_all_skills = false monster_list_colour = monster_list_colour += friendly:green,neutral:brown monster_list_colour += good_neutral:brown,strict_neutral:brown monster_list_colour += trivial:darkgrey,easy:lightgrey monster_list_colour += tough:yellow,nasty:lightred darken_beyond_range = true ## 3-i Colours (messages and menus). ## ## 3-j Missiles. ## ## 3-k Message Channels. ## ## 3-l Inscriptions. ## show_god_gift = yes ## 3-m Macro related Options. ## ## 3-n Tiles Options. ## ### 4- Character Dump. ### ## 4-a Saving. ## dump_on_save = true ## 4-b Items and Kills. ## dump_kill_places = all dump_item_origins = all dump_message_count = 300 dump_order = header,hiscore,stats,misc,mutations,skills,spells,inventory dump_order += overview,screenshot,monlist,messages,skill_gains,action_counts dump_order += vaults,notes,kills,turns_by_place,kills_by_place,xp_by_level ## 4-c Notes. ## user_note_prefix = >> note_hp_percent = 5 note_all_skill_levels = true note_xom_effects = true ### 5- Miscellaneous. ### ## 5-a All OS. ## mouse_input = false wiz_mode = never explore_mode = never char_set = default use_fake_player_cursor = true show_player_species = true ## 5-b Dos and Windows. ## ## 5-c Unix. ## ############################################# ### Special color settings from gammafunk ### ############################################# ## For item_glyph, subsequent matches override previous ones. item := item_glyph ## Reasonable defaults item += potion:lightgrey item += scroll:lightgrey item += wand:lightgrey item += dangerous_item:blue item += useless_item:darkgrey ### Potions ### item += potions? of.*(curing|flight):lightgrey : if you.race() == "Vampire" then item += potions? of blood:lightgrey : end item += potions? of.*berserk:brown item += potions? of.*might:yellow item += potions? of.*cancellation:cyan item += potions? of.*ambrosia:blue item += potions? of.*experience:lightred item += potions? of.*heal wounds:white item += potions? of.*(resistance|agility):green item += potions? of.*(haste|invisibility):lightgreen item += potions? of.*mutation:lightcyan item += potions? of.*brilliance:magenta item += potions? of.*magic:lightmagenta ### Scrolls ### : if you.race() == "Vampire" or you.race() == "Mummy" : or you.race() == "Ghoul" then item += scroll.*holy word:darkgrey item += scroll.*torment:brown : else item += scroll.*holy word:brown item += scroll.*torment:darkgrey : end item += scroll.*acquirement:white item += scroll.*(summoning):yellow item += scroll.*identify:cyan item += scroll.*magic mapping:lightcyan item += scroll.*(silence|vulnerability|immolation):blue item += scroll.*remove curse:lightgrey item += scroll.*(fog|teleport):green item += scroll.*(fear|blink):lightgreen item += scroll.*(recharging):magenta item += scroll.*(enchant|brand weapon):lightmagenta ### Wands ### # Sometimes dangerous item += wand of.*random effects:blue # Single target piercing. item += wand of.*lightning:brown item += wand of.*acid:yellow item += wand of.*flame:lightgrey item += wand of.*clouds:white item += wand of.*digging:green # Single-turn AOE item += wand of.*iceblast:cyan item += wand of.*scattershot:lightcyan item += wand of.*(disintegration|confusion|polymorph):magenta item += wand of.*(paralysis|enslavement):lightmagenta ### General Identification ### item += (identified|known).*(jewellery|magical staff):brown item += identified.*spellbook:magenta item += unidentified.*(potion|scroll|jewellery|wand|magical staff).*:lightblue item += unidentified.*book:lightmagenta item += manual:lightcyan item += manual of:cyan ### Jewellery ### item += known.*(ring of (dexterity|strength|intelligence|slaying|evasion|protection(?! from))|amulet of reflection):magenta item += identified.*artefact.*(jewellery):white item += unidentified.*artefact.*(jewellery).*:lightmagenta item += (a )?stones?$:lightgray ### Food ### item += chunks?.*flesh:lightgrey item += evil_eating.*chunk:red item += ( ration):green # Want this to override anything above item += useless:darkgrey # Only mark these types when forbidden; for other types it looks odd. item += forbidden.*(potion|scroll|food):red mons := mon_glyph # Monsters that can be easy to miss mons ^= * : ✱ mons ^= dancing weapon : cyan { mons ^= spectral weapon : lightcyan { # Classed Demonspawn mon += blood saint:9 mon += warmonger:9 mon += corrupter:9 mon += black sun:9 # Wall glyphs; requires a font and terminal that can render these. feature += crystal wall {░} feature += stone wall {▒} feature += metal wall {▓} feature += unnaturally hard rock wall {█} feature += altar {⚑} ################### ### Menu Colors ### ################### # These should match the item_glyph colours exactly when possible. # For menu_colour, the first match ignores subsequent matches. menu := menu_colour menu = # Many of the entries below come from dat/defaults/menu_colours.txt, # which we have to duplicate here since we want only some of the # entries from that file. menu += notes:white:Reached XP level ### General Inventory### # Items currently not affecting you. menu += darkgrey:(melded) # Items disliked by your god. menu += red:forbidden # Useless items, comes here to override artefacts etc. menu += darkgrey:.*useless.* # Handle cursed and equipped items early to override other colour settings. menu += lightred:.*equipped.* cursed menu += red: (a|the) cursed menu += inventory:lightgreen:.*equipped.* # Colouring of autoinscribed god gifts menu += pickup:lightred:god gift # Highlight (partly) selected items menu += inventory:white:\w \+\s menu += inventory:white:\w \#\s ### Food ### # Color chunks, put ordinary ones on lightgrey. menu += red:evil_eating.*chunk menu += blue:mutagenic.*chunk menu += lightgrey: +(chunks?$|chunks? +) # Other food menu += green:( ration) ### Potions ### : if you.race() == "Vampire" then menu += lightgrey:potions? of blood : end menu += lightgrey:potions? of.*(curing|flight) menu += brown:potions? of.*berserk menu += yellow:potions? of.*might menu += cyan:potions? of.*cancellation menu += blue:potions? of.*(lignification|ambrosia) menu += lightred:potions? of.*experience menu += white:potions? of.*heal wounds menu += green:potions? of.*(resistance|agility) menu += lightgreen:potions? of.*(haste|invisibility) menu += lightcyan:potions? of.*mutation menu += magenta:potions? of.*brilliance menu += lightmagenta:potions? of.*magic ### Scrolls ### : if you.race() == "Vampire" or you.race() == "Mummy" : or you.race() == "Ghoul" then menu += darkgrey:scroll.*holy word menu += brown:scroll.*torment : else menu += brown:scroll.*holy word menu += darkgrey:scroll.*torment : end menu += white:scroll.*acquirement menu += yellow:scroll.*(summoning) menu += cyan:scroll.*identify menu += lightcyan:scroll.*magic mapping menu += blue:scroll.*(noise|silence|vulnerability|immolation) menu += lightgrey:scroll.*remove curse menu += green:scroll.*(fog|teleport) menu += lightgreen:scroll.*(fear|blink) menu += magenta:scroll.*(recharging) menu += lightmagenta:scroll.*(enchant|brand weapon) ### Wands ### # Can be harmful menu += blue:wand of.*random effects # Damaging beam. menu += brown:wand of.*flame menu += yellow:wand of.*acid menu += white:wand of.*clouds menu += green:wand of.*digging # Explosion menu += cyan:wand of.*iceblast menu += lightcyan:wand of.*scattershot # MR-checking menu += magenta:wand of.*(disintegration|polymorph) menu += lightmagenta:wand of.*(paralysis|enslavement) ### General identification ### menu += cyan:manual of menu += lightcyan:manual menu += lightmagenta:unidentified.*artefact.* menu += white:.*artefact.* menu += lightblue:unidentified .*(potion|scroll|wand|jewellery|spellbook|rod|magical staff) menu += magenta:.*known .*(ring of (dexterity|strength|intelligence|slaying|evasion|protection(?! from))|amulet of reflection) menu += inventory:lightgray:.*(book|jewellery|magical staff) # Ego items menu += lightblue:unidentified.*weapon.*(runed|glowing|enchanted) menu += lightblue:unidentified.*armour.*(runed|glowing|embroidered|shiny|dyed) ########################### ### Spell/Ability slots ### ########################### ability_slot += Fly|flight:lF ability_slot += Stop Flying:L ability_slot += Breathe:t ability_slot += Invisibility:iv # Abilities prone to miskeys. ability_slot += Blink:IB ability_slot += Berserk:k ability_slot += Corrupt:C ability_slot += Enter the Abyss:E # Use z for L1 damage/buff spells in starting books. # Use letters in a word of the spell name at (1) beginning, (2) end, # of words in the spell, (3) anywhere from the spell name, or (4) from the # names of the spell schools, in order preference. # Prefer to use vowels for self-enchantments or escape spells, consonants for # remaining spells. Use upper-case letters for spells like Blink that are # dangerous to miss-key. spell_slot += Alistair's intoxication:txc spell_slot += Apportation:aoi spell_slot += Airstrike:ktA spell_slot += Aura of abjuration:auo spell_slot += Agony:yng spell_slot += Animate dead:dmn spell_slot += Animate skeleton:snk spell_slot += Beastly appendage:eau spell_slot += Blade hands:aeu spell_slot += Blink:IOA spell_slot += Bolt of cold:bcd spell_slot += Bolt of draining:bdg spell_slot += Bolt of fire:bft spell_slot += Bolt of magma:bmt spell_slot += Borgnjor's revivification:OEI spell_slot += Borgnjor's vile clutch:vbc spell_slot += Call canine familiar:fcn spell_slot += Call imp:cpl spell_slot += Cause fear:cfr spell_slot += Controlled blink:oia spell_slot += Corona:zcn spell_slot += Chain lightning:cln spell_slot += Confusing touch:oui spell_slot += Confuse:cfn spell_slot += Conjure flame:cfj spell_slot += Corpse rot:crt spell_slot += Dazzling spray:dyz spell_slot += Darkness:aed spell_slot += Death channel:eao spell_slot += Death's door:EAS spell_slot += Deflect missiles:eia spell_slot += Discord:DCS spell_slot += Disjunction:iuo spell_slot += Dispel undead:ndp spell_slot += Dispersal:iea spell_slot += Dragon form:aou spell_slot += Dragon's call:dcl spell_slot += Ensorcelled hibernation:zxc spell_slot += Excruciating wounds:eao spell_slot += Fire storm:fmt spell_slot += Fireball:fbl spell_slot += Flame tongue:zfm spell_slot += Force lance:flc spell_slot += Freezing cloud:fcg spell_slot += Freeze:zfr spell_slot += Fulminant prism:fpm spell_slot += Gell's Gravitas:gvt spell_slot += Glaciate:gct spell_slot += Haunt:htn spell_slot += Hydra form:aou spell_slot += Ice form:ieo spell_slot += Ignition:ntg spell_slot += Iron shot:stn spell_slot += Infusion:uoi spell_slot += Inner flame:frn spell_slot += Invisibility:ieI spell_slot += Irradiate:rtd spell_slot += Iskenderun's battlesphere:bnk spell_slot += Iskenderun's mystic blast:mbt spell_slot += Leda's Liquefaction:eai spell_slot += Lee's rapid deconstruction:ldr spell_slot += Lesser Beckoning:lbg spell_slot += Lehudib's crystal spear:lcs spell_slot += Lightning bolt:lbt spell_slot += Magic dart:zdt spell_slot += Malign gateway:mgy spell_slot += Mephitic cloud:mcd spell_slot += Metabolic englaciation:mcn spell_slot += Monstrous menagerie:mst spell_slot += Necromutation:eou spell_slot += Olgreb's toxic radiance:oia spell_slot += Orb of destruction:dbn spell_slot += Ozocubu's armour:oau spell_slot += Ozocubu's refrigeration:cbz spell_slot += Pain:zpn spell_slot += Passage of golubria:uoi spell_slot += Passwall:aeu spell_slot += Petrify:pyt spell_slot += Poison arrow:pwr spell_slot += Poisonous vapours:pvs spell_slot += Portal projectile:oei spell_slot += Recall:eau spell_slot += Regeneration:eio spell_slot += Ring of flames:oia spell_slot += Sandblast:zst spell_slot += Searing ray:sry spell_slot += Shadow creatures:scw spell_slot += Shatter:STH spell_slot += Shock:zok spell_slot += Shroud of golubria:oua spell_slot += Simulacrum:scm spell_slot += Silence:SLC spell_slot += Slow:swh spell_slot += Song of slaying:oai spell_slot += Spectral weapon:eao spell_slot += Spellforged servitor:svt spell_slot += Spider form:ieo spell_slot += Static discharge:tdc spell_slot += Statue form:aeo spell_slot += Sticks to snakes:tkc spell_slot += Sticky flame:yfk spell_slot += Sting:zpt spell_slot += Stone arrow:wtn spell_slot += Summon butterflies:uei spell_slot += Summon demon:dsm spell_slot += Summon forest:ftm spell_slot += Summon greater demon:gds spell_slot += Summon guardian golem:gds spell_slot += Summon horrible things:hts spell_slot += Summon hydra:hsy spell_slot += Summon ice beast:bct spell_slot += Summon lightning spire:lst spell_slot += Summon mana viper:vms spell_slot += Summon small mammal:zsm spell_slot += Swiftness:iea spell_slot += Teleport other:tpT spell_slot += Throw frost:ftw spell_slot += Throw flame:fmw spell_slot += Throw icicle:cwt spell_slot += Tornado:TDN spell_slot += Tukima's Dance:dkc spell_slot += Vampiric draining:vnd spell_slot += Venom bolt:bvm spell_slot += Yara's violent unraveling:yvg # Default letters spell_slot += .*:XYZ ################## ### Item slots ### ################## ## In order of letter used. item_slot += amulet of harm : H item_slot += amulet of rage : B item_slot += ring of (ice|protection from cold) : Cc item_slot += amulet of the acrobat : A item_slot += \+[0-9]+ ring of evasion : Ee item_slot += ring of .*fire : Ff item_slot += amulet of regeneration : g item_slot += amulet of guardian spirit : G item_slot += amulet of faith : T item_slot += \+[0-9]+ ring of intelligence : Ii item_slot += ring of flight : L item_slot += ring of protection from magic : Mm item_slot += ring of positive energy : Nn item_slot += \+[0-9]+ ring of protection : Oo item_slot += ring of poison resistance : P item_slot += ring of stealth : Qq item_slot += ring of resist corrosion : R item_slot += amulet of mana regeneration : r item_slot += \+[0-9]+ ring of strength : Ss item_slot += ring of teleportation : t item_slot += amulet of gourmand : U item_slot += ring of see invisible : v item_slot += ring of magical power : Ww item_slot += \+[0-9]+ ring of dexterity : Dd item_slot += \+[0-9]+ ring of slaying : Yy item_slot += ring of wizardry : Zz ######################## ### Autoinscriptions ### ######################## ai := autoinscribe ai += (bad|dangerous)_item.*potion:!q ai += (bad|dangerous)_item.*scroll:!r ai += potions? of berserk rage:!q ai += scrolls? of silence:!r ai += of faith:!P ai += manual of:!d # Prevent melee with all staves; if we want to melee with one, it's safe to # require removing the annotation. ai += magical staff:!a ai += (large rock|throwing net|curare|of dispersal):=f # Convenient shortcuts ai += curing:@q1 ai += potions? of heal wounds:@q2 ai += potions? of haste:@q3 ai += scrolls? of teleportation:@r4 ai += identify:@r1 ai += remove curse:@r2 ai += blowgun:@w1 ai += ( ration):@e1 { ---------------------------- ---- Begin load_message ---- ---------------------------- -- See README.md for documentation. message_color = "white" -- Wrapper of crawl.mpr() that prints text in white by default. if not mpr then mpr = function (msg, color) if not color then color = "white" end crawl.mpr("<" .. color .. ">" .. msg .. "") end end function save_with_message() if you.turns() == 0 then crawl.sendkeys("S") return end crawl.formatted_mpr("Save game and exit?", "prompt") local res = crawl.getch() if not (string.char(res) == "y" or string.char(res) == "Y") then crawl.formatted_mpr("Okay, then.", "prompt") return end crawl.formatted_mpr("Leave a message: ", "prompt") local res = crawl.c_input_line() c_persist.message = res crawl.sendkeys(control("s")) end function load_message() if c_persist.message and c_persist.message ~= "nil" and c_persist.message ~= "" then mpr("MESSAGE: " .. c_persist.message, message_color) c_persist.message = nil end end ----------------------------------- ---- End leave message on save ---- ----------------------------------- } { function ready() load_message() end }