1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 23:57:59 -05:00

Bank: change "Value" to "Balance"

Fix withdraw hint string showing cost 100 on Tranzit
This commit is contained in:
Jbleezy
2022-01-22 09:46:21 -08:00
parent c5d5a01c1c
commit 299955f5c6
3 changed files with 12 additions and 4 deletions

View File

@ -284,7 +284,7 @@
* Gain 10% interest on deposited points at the end of each round
* No longer costs 100 points to withdraw
* Players can deposit and withdraw less than 1000 points
* Account value is shown when depositing, withdrawing, and going near the triggers
* Account balance is shown when depositing, withdrawing, and going near the triggers
* Disabled trading points
## Weapon Locker

View File

@ -181,6 +181,8 @@ post_all_players_spawned()
maps/mp/zombies/_zm::register_player_damage_callback( ::player_damage_override );
level.near_miss = 2; // makes screecher not run away first time on solo
level.ta_vaultfee = 0;
level.ta_tellerfee = 0;
level.weapon_locker_online = 0;
level.magicbox_timeout = 9;
level.packapunch_timeout = 12;

View File

@ -6,8 +6,14 @@
init()
{
onplayerconnect_callback( ::onplayerconnect_bank_deposit_box );
level.ta_vaultfee = 0;
level.ta_tellerfee = 0;
if ( !isDefined( level.ta_vaultfee ) )
{
level.ta_vaultfee = 100;
}
if ( !isDefined( level.ta_tellerfee ) )
{
level.ta_tellerfee = 100;
}
}
onplayerconnect_bank_deposit_box()
@ -174,5 +180,5 @@ trigger_withdraw_update_prompt( player )
show_balance()
{
self iprintlnbold("Account Value: " + round_up_to_ten(int(self.account_value * level.bank_deposit_ddl_increment_amount)));
self iprintlnbold("Account Balance: " + round_up_to_ten(int(self.account_value * level.bank_deposit_ddl_increment_amount)));
}