From 2ee0afe954a7c72856fd5f0f7d3080012638bb98 Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 9 Jun 2008 18:18:52 +0000 Subject: Remove pickup.lua. Make menu_colour_item_prefix also apply for autopickup_exceptions, so you can exclude, for example, all evil_eating at once. Fix Vampires "continuing draining" after having "stopped". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5666 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/itemname.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/itemname.h') diff --git a/crawl-ref/source/itemname.h b/crawl-ref/source/itemname.h index 18f4709d5a..2bafdf2e59 100644 --- a/crawl-ref/source/itemname.h +++ b/crawl-ref/source/itemname.h @@ -113,7 +113,7 @@ bool is_emergency_item( const item_def& item ); bool is_good_item(const item_def &item); bool is_bad_item(const item_def &item); bool is_dangerous_item( const item_def& item ); -bool is_useless_item(const item_def &item); +bool is_useless_item(const item_def &item, bool temp = false); std::string make_name( unsigned long seed, bool all_caps ); @@ -135,7 +135,8 @@ void set_ident_type( object_class_type basetype, int subtype, /* *********************************************************************** * called from: command - itemname - invent.h * *********************************************************************** */ -const std::string menu_colour_item_prefix(const item_def &item); +const std::string menu_colour_item_prefix(const item_def &item, + bool temp = true); const std::string get_menu_colour_prefix_tags(item_def &item, description_level_type desc); const std::string get_message_colour_tags(item_def &item, -- cgit v1.2.3-54-g00ecf