ACE3/addons/medical_statemachine/initSettings.sqf
mharis001 5dbaef4e07 Improve medical statemachine settings (#7154)
* Improve medical statemachine settings

* Multi-line condition and update fatal injury description

* Check isPlayer in DeathAI transition

Co-Authored-By: PabstMirror <pabstmirror@gmail.com>
2019-09-09 23:30:56 -05:00

44 lines
1.3 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, 30],
true
] call CBA_settings_fnc_init;