ACE3/addons/medical_damage/initSettings.sqf
Salluci 039af66a8f
Medical - Fix #8389 (#8390)
* fix implicit dependency between medical damage and medical engine

* move stringtable

* valve pls fix

Co-authored-by: PabstMirror <pabstmirror@gmail.com>

Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2021-08-23 18:27:00 -05:00

45 lines
1.2 KiB
Plaintext

[
QEGVAR(medical,fatalDamageSource),
"LIST",
[LSTRING(fatalDamageSource_DisplayName), LSTRING(fatalDamageSource_Description)],
[ELSTRING(medical,Category)],
[[0, 1, 2], [LSTRING(fatalDamageSource_vitalShotsOnly), LSTRING(fatalDamageSource_trauma), LSTRING(fatalDamageSource_both)], 0],
true
] call CBA_fnc_addSetting;
[
QEGVAR(medical,playerDamageThreshold),
"SLIDER",
[LSTRING(PlayerDamageThreshold_DisplayName), LSTRING(PlayerDamageThreshold_Description)],
ELSTRING(medical,Category),
[0, 25, 1, 2],
true
] call CBA_fnc_addSetting;
[
QEGVAR(medical,AIDamageThreshold),
"SLIDER",
[LSTRING(AIDamageThreshold_DisplayName), LSTRING(AIDamageThreshold_Description)],
ELSTRING(medical,Category),
[0, 25, 1, 2],
true
] call CBA_fnc_addSetting;
[
QEGVAR(medical,painUnconsciousChance),
"SLIDER",
[LSTRING(PainUnconsciousChance_DisplayName), LSTRING(PainUnconsciousChance_Description)],
ELSTRING(medical,Category),
[0, 1, 0.1, 2, true],
true
] call CBA_fnc_addSetting;
[
QEGVAR(medical,deathChance),
"SLIDER",
[LSTRING(deathChance_DisplayName), LSTRING(deathChance_Description)],
ELSTRING(medical,Category),
[0, 1, 1, 2, true],
true
] call CBA_fnc_addSetting;