# https://crawl.develz.org/wiki/doku.php?id=dcss:help:maps:lua:modules:you:start # https://crawl.develz.org/wiki/doku.php?id=dcss:help:maps:lua:modules:crawl:start # todo http://pastebin.com/raw.php?i=V41jmQFW bindkey += [`] CMD_LUA_CONSOLE # the most important option # language = !!! language = grunt # language = dwarven include += HDamage.rc include += HDAColors.rc # bindkey = [v] CMD_FORCE_EVOKE_WIELDED : standby = 10000000 : stopturn = standby { function ch_stop_running(runmode) -- stopturn = you.turns() end function ch_start_running(runmode) -- crawl.setopt("force_more_message -= into view") end } # With small_more = false (default), the --more-- prompt is on a # separate line at the bottom of the message window. With # small_more = true, it is just the bottom left character. small_more = true # Allow targeting yourself with risky magic (e.g., the spell # Bolt of Fire or a wand of slowing.) # When set to 'yes', you are a valid target. When set to 'no', # you cannot target yourself with such spells. When set to # 'prompt' (the default), you will be required to confirm # self-targeting. This option has no effect on area-effect # spells, such as Mephitic Cloud, where you are always a valid target. allow_self_target = no # If this is true, 'W'ear will also allow you to 'T'ake off worn # armour, and vice versa, and the same is true for 'P'utting on/ # 'R'emoving jewellery. equip_unequip = true # Don't prompt if more than one message is displayed at once show_more = false runrest_ignore_message += You regained.*(hp|mp) runrest_ignore_message += (merges|forms) itself .* the air runrest_ignore_message += grinding sound runrest_ignore_message += contamination has completely runrest_ignore_message += rod.*has recharged runrest_ignore_message += your breath back # Use these to force messages to interrupt travel and resting, or # not. These are matched against full message text. runrest_stop_message += (blundered into a|invokes the power of) Zot runrest_stop_message += A huge blade swings out and slices into you runrest_stop_message += sense of stasis runrest_stop_message += (starving|devoid of blood) runrest_stop_message += wrath finds you runrest_stop_message += lose consciousness runrest_stop_message += The alarm trap emits a blaring wail :if you.god() == "Xom" then runrest_stop_message += god: :else runrest_ignore_message += god: :end # Expiring effects runrest_stop_message += You feel yourself slow down runrest_stop_message += You are starting to lose your buoyancy runrest_stop_message += You lose control over your flight runrest_stop_message += Your hearing returns #runrest_stop_message += Your transformation is almost over runrest_stop_message += back to life runrest_stop_message += uncertain runrest_stop_message += time is quickly running out runrest_stop_message += life is in your own hands runrest_stop_message += is no longer charmed # Any message that contains a regex specified here will enforce a # --More-- prompt, so it can be used to highlight really important # events. This option ignores the show_more option. # flash_screen_message += into view force_more_message += You have a vision of.*gates? force_more_message += The mighty Pandemonium lord .* resides here force_more_message += wield.* a blowgun force_more_message += comes.*(chaos|electrocution|distortion) # Interrupts force_more_message += You don't .* that spell force_more_message += You fail to use your ability force_more_message += You miscast.*(Blink|Borgnjor|Door|Haste|Invisibility) force_more_message += You can't (read|drink|do) force_more_message += You cannot .* in your current state force_more_message += There's nothing to (close|open) nearby force_more_message += not good enough to have a special ability force_more_message += You are too berserk force_more_message += no means to grasp force_more_message += That item cannot be evoked force_more_message += This wand has no charges force_more_message += You are held in a net force_more_message += You have disarmed force_more_message += You don't have any such object force_more_message += do not work when you're silenced force_more_message += You can't unwield force_more_message += enough magic points force_more_message += You feel your control is inadequate # Bad things force_more_message += Your surroundings flicker force_more_message += sense of stasis force_more_message += ^Your amulet of stasis force_more_message += You cannot teleport right now force_more_message += A sentinel's mark forms upon you force_more_message += (blundered into a|invokes the power of) Zot force_more_message += Ouch! That really hurt! force_more_message += dispelling energy hits you force_more_message += You convulse force_more_message += You are blasted by holy energy! force_more_message += You are (blasted|electrocuted)! force_more_message += You are.*(confused|poisoned) force_more_message += flesh start force_more_message += (starving|devoid of blood) force_more_message += god:(sends|finds|silent|anger) force_more_message += You feel a surge of divine spite force_more_message += lose consciousness force_more_message += You are too injured to fight blindly force_more_message += calcifying dust hits force_more_message += Space warps.*around you force_more_message += Space bends around you force_more_message += hits you.*distortion force_more_message += warns you.*of distortion force_more_message += watched by something force_more_message += flickers and vanishes! # Hell effects force_more_message += hell_effect: runrest_stop_message += hell_effect: # Expiring effects force_more_message += You feel yourself slow down force_more_message += You are starting to lose your buoyancy force_more_message += You lose control over your flight force_more_message += Your hearing returns force_more_message += Your transformation is almost over force_more_message += You have a feeling this form force_more_message += You feel yourself come back to life force_more_message += uncertain force_more_message += time is quickly running out force_more_message += life is in your own hands force_more_message += is no longer charmed force_more_message += Your shroud falls apart force_more_message += You start to feel a little slower force_more_message += You feel less protected from missiles # Others force_more_message += You have finished (your manual|forgetting about) force_more_message += You feel monstrous force_more_message += Jiyva alters your body : if you.god() == "Xom" then force_more_message += god: : end force_more_message += Your Shields skill increases to level 5 force_more_message += Your Shields skill increases to level 9 force_more_message += Your Shields skill increases to level 15 force_more_message += Your Shields skill increases to level 25 force_more_message += Your Short Blades skill increases to level 12 force_more_message += Your Short Blades skill increases to level 14 force_more_message += Your Long Blades skill increases to level 14 force_more_message += Your Long Blades skill increases to level 16 force_more_message += Your Long Blades skill increases to level 24 force_more_message += Your Maces & Flails skill increases to level 12 force_more_message += Your Maces & Flails skill increases to level 16 force_more_message += Your Maces & Flails skill increases to level 20 force_more_message += Your Maces & Flails skill increases to level 22 force_more_message += Your Axes skill increases to level 18 force_more_message += Your Axes skill increases to level 20 force_more_message += Your Axes skill increases to level 26 force_more_message += Your Polearms skill increases to level 14 force_more_message += Your Polearms skill increases to level 20 force_more_message += Your Polearms skill increases to level 26 force_more_message += Your Staves skill increases to level 12 force_more_message += Your Staves skill increases to level 14 force_more_message += Your Evocations skill increases to level 6 force_more_message += Your Evocations skill increases to level 10 force_more_message += Your Evocations skill increases to level 15 force_more_message += Your Invocations skill increases to level 10 more += Something interferes with your magic! more += You don't have enough magic to cast that spell. more += The rod doesn't have enough magic points. more += You don't know any spells. : if not you.res_shock() then more += .*electric : end more += You can't do that yet. more += You have no means to grasp a wand firmly enough. more += You cannot shoot default_manual_training=true show_travel_trail=true autofight_stop = 60 : if you.race() == "Deep Dwarf" then autofight_stop = 40 : end # 1 means Near Starving autofight_hunger_stop = 1 hp_warning=70 # escape nets autofight_caught = true # wait until enemies come to you autofight_wait = true autofight_throw = false autofight_throw_nomove = false fire_order = launcher, return fire_order += rock, javelin, tomahawk, stone rest_wait_percent = 100 # How long travel waits after each move (milliseconds) travel_delay = -1 # How long auto-explore waits after each move (milliseconds). Depends on explore_delay = -1 # How long resting waits after each move (milliseconds). Depends on rest_delay = -1 view_delay = 50 explore_auto_rest = true # If never, you will automatically butcher the first available corpse, # even if there are multiple corpses on the square. confirm_butcher = never # If this is set to true then when using the (e)at command, the # game will automatically determine the oldest chunk that is safe # to eat, and eat it without prompting. easy_eat_chunks = true # Setting this option to true will allow you to automatically eat a chunk # if you get hungry while you are travelling, auto-exploring or resting. # Automatic eating is disabled whenever autopickup is disabled, whether # with ctrl-a or because of an invisible monster. auto_eat_chunks = true # Display the monster list wherever Crawl may find space on # your console display, usually to the left of the map, rather # than using the fixed position below the stat area. # This option is not supported in the tiles build. mlist_allow_alternate_layout = true messages_at_top = true # ) Weapons # ( Missiles # [ Armour # / Wands # % Food # ? Scrolls # " or = Jewellery # ! Potions # + or : Books # | Staves # \ Rods # 0 Orbs # } Misc. items # X Corpses # $ Gold : if (you.god():find("Trog")) then autopickup += $?!+"/% : else autopickup += $?!+"/%| : end # When selecting items using the global (de)select keys (',' or # '-') in a multidrop menu, you can choose to select only items # that match a search regex using this option. drop_filter += useless_item, forbidden # autopickup_exceptions += ***WOOT*** you found a: " .. "TODO what" .. "") return true end return end local function ap2(it, name) if name:find("curare") then return true end if name:find("dispersal") and (name:find("dart") or name:find("tomahawk")) then return true end if name:find("throwing net") then return true end local class = it.class(true) local armour_slots = {cloak="Cloak", helmet="Helmet", gloves="Gloves", boots="Boots", body="Armour", shield="Shield"} if (class == "armour") then if it.is_useless then return false end sub_type = it.subtype() equipped_item = items.equipped_at(armour_slots[sub_type]) if (sub_type == "cloak") or (sub_type == "helmet") or (sub_type == "gloves") or (sub_type == "boots") then if not equipped_item then return announce_get(true, name) else return announce_get(it.artefact or it.branded or it.ego, name) end end if (sub_type == "body") then if equipped_item then local armourname = equipped_item.name() if equipped_item.artefact or equipped_item.branded or equipped_item.ego or (equipped_item.plus > 2) or armourname:find("dragon") or armourname:find("troll") or armourname:find("crystal") then return announce_get(it.artefact, name) else return announce_get(it.artefact or it.branded or it.ego, name) end end return announce_get(true, name) end if (sub_type == "shield") and equipped_item then return announce_get(it.artefact or it.branded or it.ego, name) end end if (class == "weapon") then if it.is_useless then return false end local weapon = items.equipped_at("Weapon") if weapon then if (weapon.branded or weapon.artefact and not (it.artefact or it.branded or it.ego)) then return false else local weapon_name = weapon.name() local sb = you.skill("Short Blades") local lb = you.skill("Long Blades") local axe = you.skill("Axes") local mf = you.skill("Maces & Flails") local pole = you.skill("Polearms") local staff = you.skill("Staves") if announce_get(sb > 4 and name:find("quick blade"), name) or announce_get(lb > 7 and (name:find("demon blade") or name:find("bastard sword") or name:find("double sword"))) or announce_get(lb > 13 and (name:find("claymore") or name:find("triple sword")), what) or announce_get(axe > 7 and mf <= 8 and (name:find("battleaxe") or name:find("broad axe") or name:find("war axe") or name:find("executioner")), what) or announce_get(axe > 17 and (name:find("executioner")), what) or announce_get(mf > 7 and staff <= 8 and axe <= 8 and (name:find("eveningstar") or name:find("demon whip") or name:find("sacred scourge") or name:find("dire flail")), what) or announce_get(mf > 13 and staff <= 14 and axe <= 14 and (name:find("great mace")), what) or announce_get(pole > 7 and staff <= 8 and (name:find("trident") or name:find("demon trident") or name:find("trishula")), what) or announce_get(pole > 13 and staff <= 14 and (name:find("glaive") or name:find("bardiche")), what) or announce_get(staff > 7 and (name:find("lajatang")), what) then return true end end elseif (you.skill("Unarmed Combat") < 3) then return true end end end -- clear_autopickup_funcs() -- add_autopickup_func(ap2) } ################ # inscriptions # ################ : if you.race() == "Vampire" then autoinscribe += potions? of blood:@*1 : end : if you.god() == "Fedhas" then autoinscribe += fruit:!e :end # Inscribe distortion weapons if you are not worshipping Lugonu : if you.god() ~= "Lugonu" then ai += distortion:!w ai += (Sonja|Psyche):!w : end # TODO # autoinscribe += ambrosia:!e # autoinscribe += distort:!w # autoinscribe += rod of:!a # autoinscribe += staff of (conjuration|energy|channeling|power|wizardry):!a # autoinscribe += bread ration:@e1 # autoinscribe += meat ration:@e2 # autoinscribe += chunk:@w0 # autoinscribe += staff of energy:@w1 # autoinscribe += of faith:!P # autoinscribe += scroll.*torment:!r # autoinscribe += scroll.*silence:!r # autoinscribe += bad_item.*potion:!q # autoinscribe += potion.*mutation:!q ########## # Spells # ########## # Non-attack spells spell_slot += shroud of golubria:s spell_slot += regeneration:r spell_slot += flight:c spell_slot += control teleport:t spell_slot += swiftness:z spell_slot += repel missiles:x spell_slot += haste:H spell_slot += insulation:iI spell_slot += invisibility:i spell_slot += apportation:aA spell_slot += blink:B spell_slot += controlled blink:C spell_slot += borgnjor's revivification:R spell_slot += stoneskin:v spell_slot += ozocubu's armour:v spell_slot += necromutation:N spell_slot += recall:rR spell_slot += agony:h spell_slot += sublimation of blood:b spell_slot += projected noise:n spell_slot += cure poison:p spell_slot += death's door:D spell_slot += dig:D spell_slot += poison weapon:h spell_slot += blade hands:f spell_slot += ice form:d spell_slot += spider form:s spell_slot += shroud of golubria:s # low level spells spell_slot += call imp:s spell_slot += pain:f spell_slot += throw f.*:b spell_slot += confuse:e spell_slot += ensorcelled hibernation:f spell_slot += vampiric draining:e spell_slot += force lance:f spell_slot += dazzling spray:s spell_slot += static discharge:s spell_slot += call canine familiar:d spell_slot += summon ice beast:f # mid-level spells spell_slot += stone arrow:f spell_slot += sticky flame:s spell_slot += throw icicle:f spell_slot += iskenderun's.+blast:fd spell_slot += agony:h spell_slot += lee's rapid deconstruction:d spell_slot += iron shot:fg spell_slot += poison arrow:h spell_slot += fireball:fg spell_slot += bolt of.*:fg spell_slot += ^.*cloud:g spell_slot += airstrike:s spell_slot += prism$:he # high-level spells spell_slot += chain lightning:DF spell_slot += crystal spear:F spell_slot += fire storm:F spell_slot += ice storm:F spell_slot += shatter:FD spell_slot += tornado:F #tile_water_anim = true tile_realtime_anim = true #tile_display_mode = hybrid tile_tag_pref = tutorial #tile_map_pixels = 3 tile_cell_pixels = 64 tile_force_overlay = true tile_font_msg_size = 12 #tile_show_player_species = true tile_player_tile = mons:kraken #tile_player_tile = playermons tile_layout_priority = monster, command, spell, gold_turn, minimap { local need_skills_opened = true function ready() AnnounceDamage() if you.turns() == 0 and need_skills_opened then need_skills_opened = false crawl.sendkeys("m") end if (you.turns() > stopturn) then crawl.setopt("force_more_message += into view") stopturn = standby end end } ################## # Character Dump # ################## dump_item_origins = all dump_item_origin_price = 100 dump_message_count = 100 #dump_order = header,hiscore,stats,misc,mutations,skills,spells,overview,inventory #dump_order += screenshot,monlist,messages,action_counts,vaults,notes,kills dump_order += vaults, turns_by_place, kills_by_place dump_book_spells = false ood_interesting = 6 note_hp_percent = 25 note_all_skill_levels = true note_xom_effects = true note_items += of Zot,rod,acquirement note_messages += Your scales start note_messages += protects you from harm note_messages += You fall through a shaft note_messages += [bB]anish.*Abyss note_monsters += orb of fire,silver star,pearl dragon,ancient lich # No annoying pet messages message_colour ^= mute:Your.*(bites|misses|hits|claws|gores) message_colour ^= mute:You are no longer poisoned message_colour ^= mute:You feel sick