diff options
Diffstat (limited to 'custom-2.patch')
-rw-r--r-- | custom-2.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/custom-2.patch b/custom-2.patch index 08fa1c0..2a5d017 100644 --- a/custom-2.patch +++ b/custom-2.patch @@ -98,7 +98,7 @@ } }; +const std::vector<std::string> vamp_blacklist {{ -+ flag_ALLERGEN_VEGGY, flag_ALLERGEN_FRUIT, flag_ALLERGEN_WHEAT, flag_ALLERGEN_NUT, flag_ALLERGEN_MEAT, flag_ALLERGEN_EGG, flag_ALLERGEN_JUNK, ++ flag_ALLERGEN_VEGGY, flag_ALLERGEN_FRUIT, flag_ALLERGEN_WHEAT, flag_ALLERGEN_NUT, flag_ALLERGEN_MEAT, flag_ALLERGEN_EGG, flag_ALLERGEN_JUNK, ALLERGEN_MILK, + } +}; // This ugly temp array is here because otherwise it goes @@ -130,7 +130,7 @@ const bool edible = comest->comesttype == comesttype_FOOD || food.has_flag( flag_USE_EAT_VERB ); int food_kcal = compute_effective_nutrients( food ).kcal; -@@ -1116,6 +1136,25 @@ +@@ -1116,6 +1135,25 @@ } } @@ -156,7 +156,7 @@ // Allergy check for food that is ingested (not gum) if( !food.has_flag( "NO_INGEST" ) ) { const auto allergy = allergy_type( food ); -@@ -1123,6 +1162,11 @@ +@@ -1123,6 +1161,11 @@ add_msg_if_player( m_bad, _( "Yuck! How can anybody eat this stuff?" ) ); add_morale( allergy, -75, -400, 30_minutes, 24_minutes ); } |