From 8a9a920e5d6095383d5f4c7b273a4f978e35b49c Mon Sep 17 00:00:00 2001 From: Flugente Date: Sun, 3 Feb 2019 14:13:20 +0000 Subject: [PATCH] If a gun has a magazine size < 5, the 'out of ammo' soundfile is only displayed with a chance of CHANCE_SAY_ANNOYING_PHRASE (JA2_Options.ini). This should make using guns with tiny magazine sizes less annoying. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2463 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 1 + gamedir/Data/Ja2_Options.INI | 1 + 2 files changed, 2 insertions(+) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 673f84d35..4fbe23c61 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -1060,6 +1060,7 @@ DELAYED_GRENADE_EXPLOSION = FALSE ; 2. when battle turns to real time ; 3. when merc see enemy ; 4. approve action +; 5. out of ammo and gun's magsize < 5 ;------------------------------------------------------------------------------------------------------------------------------ CHANCE_SAY_ANNOYING_PHRASE = 40 diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 478659d36..f846e4391 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -1072,6 +1072,7 @@ DELAYED_GRENADE_EXPLOSION = FALSE ; 2. when battle turns to real time ; 3. when merc see enemy ; 4. approve action +; 5. out of ammo and gun's magsize < 5 ;------------------------------------------------------------------------------------------------------------------------------ CHANCE_SAY_ANNOYING_PHRASE = 100