From 7eac832b9241922dec92ad4dec9686ab6640061d Mon Sep 17 00:00:00 2001 From: Roy Berube Date: Sat, 1 Jan 2022 01:27:07 -0700 Subject: [PATCH] Fix warning text for consuming food with parasites (#53912) --- src/consumption.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/consumption.cpp b/src/consumption.cpp index 60571460f2e5a..ec6e2736d559a 100644 --- a/src/consumption.cpp +++ b/src/consumption.cpp @@ -824,7 +824,9 @@ ret_val Character::will_eat( const item &food, bool interactive ) if( food.get_comestible()->parasites > 0 && !food.has_flag( flag_NO_PARASITES ) && !has_flag( json_flag_PARAIMMUNE ) ) { - add_consequence( _( "Eating this raw meat probably isn't very healthy." ), PARASITES ); + add_consequence( string_format( _( "Consuming this %s probably isn't very healthy." ), + food.tname() ), + PARASITES ); } const bool edible = comest->comesttype == comesttype_FOOD || food.has_flag( flag_USE_EAT_VERB );