From 27387ff78e28be3a3c0de10c830c79c6a5fc919e Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Fri, 13 Jan 2023 05:29:23 -0800 Subject: Updated to 2022-12-02-1526 --- vampirism.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vampirism.patch') diff --git a/vampirism.patch b/vampirism.patch index fe2d535..f10025b 100644 --- a/vampirism.patch +++ b/vampirism.patch @@ -263,10 +263,10 @@ + if( food_item->has_flag( flag_VAMPIRISM ) && + parts->test( iteminfo_parts::FOOD_VAMPIRISM ) ) { -+ if( g->u.has_trait_flag( trait_flag_VAMPIRE ) ) { ++ if( you.has_trait_flag( trait_flag_VAMPIRE ) ) { + info.emplace_back( "DESCRIPTION", + _( "* This food contains human blood." ) ); -+ } else if( g->u.has_trait_flag( trait_flag_CANNIBAL ) ) { ++ } else if( you.has_trait_flag( trait_flag_CANNIBAL ) ) { + info.emplace_back( "DESCRIPTION", + _( "* This food contains human flesh." ) ); + } else { @@ -278,8 +278,8 @@ if( food_item->has_flag( flag_CANNIBALISM ) && + !food_item->has_flag( flag_VAMPIRISM ) && parts->test( iteminfo_parts::FOOD_CANNIBALISM ) ) { -- if( !g->u.has_trait_flag( trait_flag_CANNIBAL ) ) { -+ if( g->u.has_trait_flag( trait_flag_CANNIBAL ) && !g->u.has_trait_flag( trait_flag_VAMPIRE ) ) { +- if( !you.has_trait_flag( trait_flag_CANNIBAL ) ) { ++ if( !you.has_trait_flag( trait_flag_CANNIBAL ) && !you.has_trait_flag( trait_flag_VAMPIRE ) ) { info.emplace_back( "DESCRIPTION", - _( "* This food contains human flesh." ) ); + _( "* This food contains human flesh." ) ); -- cgit v1.2.1