summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dat/lua
diff options
context:
space:
mode:
authordploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-28 23:05:09 +0000
committerdploog <dploog@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-28 23:05:09 +0000
commit395829b30fde460c96a7429fb87428dd576ab5b8 (patch)
tree941a94eb1c0803f8feb74d3a189d434ed373e5ee /crawl-ref/source/dat/lua
parent28364e961a56dcc73cf7d15562d253d392745642 (diff)
downloadcrawl-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/source/dat/lua')
-rw-r--r--crawl-ref/source/dat/lua/pickup.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dat/lua/pickup.lua b/crawl-ref/source/dat/lua/pickup.lua
index c6dea23373..254d17994b 100644
--- a/crawl-ref/source/dat/lua/pickup.lua
+++ b/crawl-ref/source/dat/lua/pickup.lua
@@ -75,7 +75,8 @@ function ch_autopickup(it)
-- or anything involving mutations
if item.subtype(it) == "berserk"
or item.subtype(it) == "gain ability"
- or item.subtype(it) == "cure mutation" then
+ or item.subtype(it) == "cure mutation"
+ or item.subtype(it) == "mutation" then
if you_real_undead() then
return false
else