diff options
Diffstat (limited to 'vampirism.patch')
-rw-r--r-- | vampirism.patch | 8 |
1 files changed, 4 insertions, 4 deletions
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 <good>human blood</good>." ) ); -+ } 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 <good>human flesh</good>." ) ); + } 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 <bad>human flesh</bad>." ) ); + _( "* This food contains <good>human flesh</good>." ) ); |