mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-01 09:30:08 -05:00
Buildables: use localized hint string for cost
This commit is contained in:
@ -29,7 +29,16 @@ add_buildable_to_pool( stub, poolname )
|
||||
pooledbuildabletrigger_update_prompt( player )
|
||||
{
|
||||
can_use = self.stub pooledbuildablestub_update_prompt( player, self );
|
||||
self sethintstring( self.stub.hint_string );
|
||||
|
||||
if (can_use && is_true(self.stub.built))
|
||||
{
|
||||
self sethintstring( self.stub.hint_string, " [Cost: " + self.stub.cost + "]" );
|
||||
}
|
||||
else
|
||||
{
|
||||
self sethintstring( self.stub.hint_string );
|
||||
}
|
||||
|
||||
if ( isDefined( self.stub.cursor_hint ) )
|
||||
{
|
||||
if ( self.stub.cursor_hint == "HINT_WEAPON" && isDefined( self.stub.cursor_hint_weapon ) )
|
||||
|
Reference in New Issue
Block a user