From 7b7a36d0531a016ba81520bec2a4a4177e2ca8ed Mon Sep 17 00:00:00 2001 From: j-p-e-g Date: Mon, 9 Jun 2008 16:17:48 +0000 Subject: Yikes, so many files! And all I did was add more item evaluation functions for menu colouring and pickup... Added: emergency_item, good_item, dangerous_item, bad_item, and useless_item, all taking into account player species and mutations, so e.g. =see invisible is useless for Naga, and !poison is always bad but only useless if you don't know Evaporate. Never autopickup useless, dangerous (e.g. ?immolation) or inedible items, and simplify the item colour/pickup options accordingly. I'll have to see if pickup.lua is still even needed after this. Removed the menu_colour_prefix_id option as I can't see any reason to turn it off. Oh, and fixed a bug where Kenku were unable to stop levitating if they gained level 15 while levitating. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5658 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.h | 1 + 1 file changed, 1 insertion(+) (limited to 'crawl-ref/source/religion.h') diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index b999ae194a..ec3de2a35d 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -97,6 +97,7 @@ void good_god_holy_attitude_change(monsters *holy); void beogh_convert_orc(monsters *orc, bool emergency, bool converted_by_follower = false); bool is_evil_item(const item_def& item); +bool god_dislikes_item_handling(const item_def &item); bool ely_destroy_weapons(); bool trog_burn_books(); bool tso_unchivalric_attack_safe_monster(const actor *act); -- cgit v1.2.3-54-g00ecf