From 395829b30fde460c96a7429fb87428dd576ab5b8 Mon Sep 17 00:00:00 2001 From: dploog Date: Wed, 28 May 2008 23:05:09 +0000 Subject: 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 --- crawl-ref/source/dat/lua/pickup.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crawl-ref/source/dat/lua') 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 -- cgit v1.2.3-54-g00ecf