Actions
Feature #1554
openTell user about goods a unit is carrying
Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
07/02/2025
Due date:
% Done:
0%
Estimated time:
Description
If goods_selection = "Leaving" then commerce units are built carrying goods of some type. Let's display that info to the user, in the pop-up info text and in the "finished building" message.
Files
Updated by Dean Brown 1 day ago
- File 1554.patch 1554.patch added
Had to fix some un-noticed bugs
- in packhand.c, handle_unit_packet_common(), despite all the warning comments about keeping it in synch, was failing to copy the >carrying unittools.c, unit_get_goods() needs to check unit_can_do_action(punit, ACTION_TRADE_ROUTE)
- unittools.c, in place_unit(), unit_get_goods() needs to be called before call to send_unit_info()
Changes in text.c and cityturn.c will require translations.
Patch should be good for S3_3 and Main.
Actions