mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
hearing: make tinnitus disabable
This commit is contained in:
parent
71879acb79
commit
40c43944fe
@ -21,3 +21,10 @@ class CfgPatches {
|
||||
#include "CfgWeapons.hpp"
|
||||
|
||||
#include "CfgAmmo.hpp"
|
||||
|
||||
class ACE_Options {
|
||||
class Hearing_DisableEarRinging {
|
||||
displayName = "$STR_ACE_Hearing_DisableEarRinging";
|
||||
default = 0;
|
||||
};
|
||||
};
|
@ -32,6 +32,8 @@ _fnc_removeEarRinging = {
|
||||
[(_this select 1)] call cba_fnc_removePerFrameHandler;
|
||||
};
|
||||
|
||||
if (profileNamespace getVariable [QGVAR(DisableEarRinging), false]) exitWith {};
|
||||
|
||||
if (_strength > 0.75) exitWith {
|
||||
playSound "ACE_EarRinging_Heavy";
|
||||
GVAR(isEarRingingPlaying) = true;
|
||||
|
@ -98,5 +98,9 @@
|
||||
<Hungarian>Nincs több hely</Hungarian>
|
||||
<Russian>Нет места в инвентаре</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_ACE_Hearing_DisableEarRinging">
|
||||
<English>Disable ear ringing</English>
|
||||
<Spanish>Desactivar zumbido de oídos</Spanish>
|
||||
</Key>
|
||||
</Package>
|
||||
</Project>
|
Loading…
Reference in New Issue
Block a user