diff --git a/src/move.c b/src/move.c index e4a23d662..37578d1ed 100644 --- a/src/move.c +++ b/src/move.c @@ -35,6 +35,7 @@ #include "lib/netplay/netplay.h" #include "lib/sound/audio.h" #include "lib/sound/audio_id.h" +#include "console.h" #include "move.h" @@ -2943,6 +2944,7 @@ static void checkLocalFeatures(DROID *psDroid) { addPower(selectedPlayer,OILDRUM_POWER); + CONPRINTF(ConsoleString,(ConsoleString,_("You found %u power in an oil drum"),OILDRUM_POWER)); } removeFeature((FEATURE*)psObj); // remove artifact+ send multiplay info. diff --git a/src/multigifts.c b/src/multigifts.c index 998033ff5..5bdda13f4 100644 --- a/src/multigifts.c +++ b/src/multigifts.c @@ -321,6 +321,10 @@ void giftPower(uint8_t from, uint8_t to, BOOL send) addPower(to, gifval); + if (from == ANYPLAYER) + { + CONPRINTF(ConsoleString,(ConsoleString,_("You found %u power in an oil drum"),gifval)); + } if (send) { uint8_t giftType = POWER_GIFT; @@ -334,7 +338,7 @@ void giftPower(uint8_t from, uint8_t to, BOOL send) } else if (to == selectedPlayer) { - CONPRINTF(ConsoleString,(ConsoleString,_("%s Gives You Power"),getPlayerName(from))); + CONPRINTF(ConsoleString,(ConsoleString,_("%s Gives You %u Power"),getPlayerName(from),gifval)); } }