From fe20646a9459f32fe9df89697bcd9785229cdcfb Mon Sep 17 00:00:00 2001 From: ilovehans10 Date: Fri, 4 Aug 2023 19:13:47 -0500 Subject: [PATCH] update character.cpp to display units when bionic doesn't have enough power (#67417) --- src/character.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/character.cpp b/src/character.cpp index 6d73d8425569e..ce15253aa915b 100644 --- a/src/character.cpp +++ b/src/character.cpp @@ -6828,8 +6828,8 @@ bool Character::invoke_item( item *used, const std::string &method, const tripoi it_name, ammo_req ); } else if( used->has_flag( flag_USES_BIONIC_POWER ) ) { add_msg_if_player( m_info, - n_gettext( "Your %s needs %d bionic power.", - "Your %s needs %d bionic power.", + n_gettext( "Your %s needs %d kJ of bionic power.", + "Your %s needs %d kJ of bionic power.", ammo_req ), it_name, ammo_req ); } else {