diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-01-13 05:29:23 -0800 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2023-01-13 05:29:23 -0800 |
commit | 27387ff78e28be3a3c0de10c830c79c6a5fc919e (patch) | |
tree | 2c8068af635eed9b093e3b338adc78ac099fdb8b /vampirism.patch | |
parent | Updated to 2022-10-31-2240 (diff) | |
download | cataclysm-bn-27387ff78e28be3a3c0de10c830c79c6a5fc919e.tar.xz |
Updated to 2022-12-02-1526
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>." ) ); |