diff options
author | dploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-28 23:05:09 +0000 |
---|---|---|
committer | dploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-28 23:05:09 +0000 |
commit | 395829b30fde460c96a7429fb87428dd576ab5b8 (patch) | |
tree | 941a94eb1c0803f8feb74d3a189d434ed373e5ee /crawl-ref/settings/autopickup_exceptions.txt | |
parent | 28364e961a56dcc73cf7d15562d253d392745642 (diff) | |
download | crawl-ref-395829b30fde460c96a7429fb87428dd576ab5b8.tar.gz crawl-ref-395829b30fde460c96a7429fb87428dd576ab5b8.zip |
Added several include files to the init.txt. These add colours to items in
the inventory (or other menus) and to messages. Most controversial will be
food_colouring which colour codes chunks andcorpses based on their quality.
Note that these files are included by default.
Thanks go to a great many ##crawl activists, among them b0rsuk, doy, ekiM,
stabwound.
To do: Examining corpses and chunks should show their edible state as well.
Several of the colours should be globally defined; see FR 1977121 for this.
Also copy the highlighting of marked items.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5319 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/settings/autopickup_exceptions.txt')
-rw-r--r-- | crawl-ref/settings/autopickup_exceptions.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/crawl-ref/settings/autopickup_exceptions.txt b/crawl-ref/settings/autopickup_exceptions.txt new file mode 100644 index 0000000000..81902bac59 --- /dev/null +++ b/crawl-ref/settings/autopickup_exceptions.txt @@ -0,0 +1,46 @@ +ae := autopickup_exceptions + +#### inclusions ### + +# curare is always dangerous on the floor +ae = <curare-tipped + + +### exclusions ### + +# Don't autopickup in the Abyss +< do +local old_ch_autopickup = ch_autopickup or function() return true end +function ch_autopickup(it) + return you.where() ~= "Abyss" and old_ch_autopickup(it) +end +end > + +# universally bad options and scrolls +ae = potions? of (confusion | degeneration | poison | strong poison) +ae = potions? of (slowing | paralysis | decay | water) +ae = scrolls? of (paper | torment | immolation | curse weapon) +ae = scrolls? of (curse armour | random uselessness | noise) + +# Excluding amulets as you only need one of each. Also for some rings. +# There is some (intended) overlap with pickup.lua, which also exludes +# the ring of hunger, for example. +ae = amulet of (inaccuracy | gourmand | controlled flight | warding) +ae = amulet of (resist mutation | resist slow | clarity | rage) +ae = ring of (see invisible | levitation | poison resistance | hunger) +ae = ring of (fire | ice | sustenance | invisibility) +ae = ring of (magical power | regeneration) + +: if you.race() == "Mummy" or you.race() == "Ghoul" then +ae = ring of life protection +: end + +: if you.race() == "Kenku" then +ae = potions? of levitation +: end + +: if you.god() == "Trog" then +ae = wizardry +ae = staff +: end + |