ACE3/addons/medical_statemachine/initSettings.sqf
BaerMitUmlaut 0e642758d6
Medical Statemachine - Add setting to disallow bleedout in cardiac arrest (#7547)
* Add setting to disable bleedout in cardiac arrest

* Improve setting name and description
2020-11-08 16:24:44 -06:00

53 lines
1.5 KiB
Plaintext

[
QGVAR(fatalInjuriesPlayer),
"LIST",
[LSTRING(FatalInjuriesPlayer_DisplayName), LSTRING(FatalInjuriesPlayer_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory)],
[
[FATAL_INJURIES_ALWAYS, FATAL_INJURIES_CRDC_ARRST, FATAL_INJURIES_NEVER],
[ELSTRING(common,Always), LSTRING(InCardiacArrest), ELSTRING(common,Never)],
0
],
true
] call CBA_settings_fnc_init;
[
QGVAR(fatalInjuriesAI),
"LIST",
[LSTRING(FatalInjuriesAI_DisplayName), LSTRING(FatalInjuriesAI_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory)],
[
[FATAL_INJURIES_ALWAYS, FATAL_INJURIES_CRDC_ARRST, FATAL_INJURIES_NEVER],
[ELSTRING(common,Always), LSTRING(InCardiacArrest), ELSTRING(common,Never)],
0
],
true
] call CBA_settings_fnc_init;
[
QGVAR(AIUnconsciousness),
"CHECKBOX",
[LSTRING(AIUnconsciousness_DisplayName), LSTRING(AIUnconsciousness_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory)],
true,
true
] call CBA_settings_fnc_init;
[
QGVAR(cardiacArrestTime),
"TIME",
[LSTRING(CardiacArrestTime_DisplayName), LSTRING(CardiacArrestTime_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory)],
[1, 3600, 300],
true
] call CBA_settings_fnc_init;
[
QGVAR(cardiacArrestBleedoutEnabled),
"CHECKBOX",
[LSTRING(CardiacArrestBleedout_DisplayName), LSTRING(CardiacArrestBleedout_Description)],
[ELSTRING(medical,Category), LSTRING(SubCategory)],
true,
true
] call CBA_settings_fnc_init;