git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@916 c06c8d41-db1a-0410-9941-cceddc491573
E5GFDGV5XJVVDZGWFQIIZ47FGGF7AEJLGGBWRUZ34HPLNFJTNLLQC 2ZFV5PKZU3HDHMLJWVWPPFV43NUNUON6YSAITHB26D7L4XIVWUHQC GPAORIQMQKY5BGXIEXFAZ6FE4L224H3APV3IGANSDAZZ2KR2JVWQC RREJL4WZKWFEMA62AC5G5UDTOXMW4UULIQXVA5RPFASPODMHQZ7AC RVST2QHYJ757ZHK4AUJ5NGPDZ44AD6RVFVXYPKQIBJXZBDNUCHXQC EHSY6DVGUMI6C67WKET3GDJVLWJWGYBYQONNDK5JVT7BCTHBEZVAC CAHE52HL2ZGRJPBYZ3DS4BVKUD2XC7N3SG25TGG7JGHGJDST4P3QC L5FV5JNA7JXT2P2VGR6PLUW55MKAUQSOELPWBK3QFKDZOBCSCT3AC Allow individual interrupts to be disabled for an activity using -=. Forinstance, interrupt_rest -= message will disable thestop-resting-for-any-silly-message behaviour (and also make stop_travelrelevant to resting).What are the possible values for xxx and yyy ininterrupt_xxx -= yyy?----------------
Crawl directory (the directory containing crawl.exe on Windows and DOS). On Unixsystems, you need to set options in the ~/.crawlrc file (a file named .crawlrcin your home directory).
Crawl directory (the directory containing crawl.exe on Windows and DOS). OnUnix systems, you need to set options in the ~/.crawlrc file (a file named.crawlrc in your home directory).
numbers, and lists. An option is most often specified with its default value (ifthere is one); this should also explain which of the above-mentioned types itis. Each option should have some remarks on how it's typically used - beware
numbers, and lists. An option is most often specified with its default value(if there is one); this should also explain which of the above-mentioned typesit is. Each option should have some remarks on how it's typically used - beware
Note that the init.txt coming with regular distributions has all boolean optionscommented out. The commented-out values are always the _non-defaults_, so youcan toggle boolean options by just uncommenting them.
Note that the init.txt coming with regular distributions has all booleanoptions commented out. The commented-out values are always the _non-defaults_,so you can toggle boolean options by just uncommenting them.
If you get stuck or some things just won't seem to work properly, please ask forhelp on the newsgroup rec.games.roguelike.misc. Flag queries with '-crawl-', asother roguelikes are also discussed there.
If you get stuck or some things just won't seem to work properly, please askfor help on the newsgroup rec.games.roguelike.misc. Please flag queries with'-crawl-', as other roguelikes are also discussed there.
autopickup_exceptions = <(poisoned|curare-tipped) needleForces autopickup to grab all poisoned and curare-tipped needles, evenif missiles are not set in the "autopickup" option.
autopickup_exceptions = <curare-tipped needleForces autopickup to grab all curare-tipped needles, even if missilesare not set in the "autopickup" option.
You can use multiple autopickup_exceptions lines.
You can use multiple autopickup_exceptions lines. Some examples:autopickup_exceptions = degeneration, decay, confusion,autopickup_exceptions = potions? of slowing, potions? of paralysisautopickup_exceptions = potions? of strong poison,potions? of poisonautopickup_exceptions = inaccuracyautopickup_exceptions = scrolls? of paper, immolation, curse armour,autopickup_exceptions = curse weapon, forgetfulness, uselessness,autopickup_exceptions = noise, torment
ban_pickup = <regex>List of item name regexes for items which autopickup will never touch.You can use multiple ban_pickup lines. Some typical examples areban_pickup = degeneration, decay, confusion, potions? of slowingban_pickup = potions? of strong poison,potions? of poisonban_pickup = inaccuracyban_pickup = scrolls? of paper, immolation, curse armour, curse weaponban_pickup = forgetfulness, uselessness, noise, tormentSee also autopickup_exceptions, which is a superset of ban_pickup.
Using a Lua script, you can define a function "ch_autopickup" to selectadditional items for autopickup. Let's say you want autopickup to only grab foodif your character can eat it (let's say you're playing a kobold and you want tostop picking up vegetables). You could use the following (if '%' is not in theautopickup option):{function ch_autopickup(it)-- The "false" suppresses hunger checks to see if your character is hungry-- enough to eat food/chunks.return food.can_eat(it, false)end}Here's a ch_autopickup that a mummy might find useful:{-- The mummy special. Remove % and ! from your autopickup option if you use-- this.function ch_autopickup(it)return food.can_eat(it, false)or ( item.class(it) == "Potions" and you.race() ~= "Mummy" )end}
{function ch_stop_run(mons)local name = mons.name-- Stop running only if these monsters get closer than 3 squaresif name == "swamp worm" or name == "big fish"or name == "giant goldfish" or name == "lava worm"or name == "butterfly" then-- mons.x and y coords are relative to the player.local dist = mons.x * mons.x + mons.y * mons.yif dist >= 9 then return false endendreturn trueend}