From a05054ad2f55e87615329b8022d60e4fe7327884 Mon Sep 17 00:00:00 2001 From: Dino Date: Sun, 18 Oct 2026 20:59:37 -0400 Subject: [PATCH] dai_caravan_goto(): improve log message RM #2379 --- ai/default/daiunit.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ai/default/daiunit.c b/ai/default/daiunit.c index fa043fdc7e..af6f2c7397 100644 --- a/ai/default/daiunit.c +++ b/ai/default/daiunit.c @@ -2148,19 +2148,24 @@ static void dai_caravan_goto(struct ai_type *ait, struct player *pplayer, 0, "", ACTION_MARKETPLACE); } else { enum log_level level = LOG_NORMAL; + char *help_wonder_msg = "help build wonder in"; + char *action_msg = "trade with nor enter marketplace in";; if (help_wonder) { /* A Caravan ordered to help build wonder may arrive after - * enough shields to build the wonder is produced. */ + * enough shields to build the wonder has been produced, + * or after the city changed its production. */ + action_msg = help_wonder_msg; level = LOG_VERBOSE; } log_base(level, - "%s %s[%d](%d,%d) unable to trade with %s", + "%s %s[%d](%d,%d) unable to %s %s", nation_rule_name(nation_of_unit(punit)), unit_rule_name(punit), punit->id, TILE_XY(unit_tile(punit)), + action_msg, city_name_get(dest_city)); } } -- 2.31.0