ACE3/addons/medical/XEH_preInit.sqf

63 lines
1.6 KiB
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-02-03 19:09:25 +00:00
ADDON = false;
2016-02-22 14:20:36 +00:00
#include "XEH_PREP.hpp"
GVAR(HITPOINTS) = ["HitHead", "HitBody", "HitLeftArm", "HitRightArm", "HitLeftLeg", "HitRightLeg"];
GVAR(SELECTIONS) = ["head", "body", "hand_l", "hand_r", "leg_l", "leg_r"];
GVAR(STATE_MACHINE) = (configFile >> "ACE_Medical_StateMachine") call CBA_statemachine_fnc_createFromConfig;
2016-10-13 14:56:57 +00:00
// @todo, ACE_Settings
2016-10-13 07:10:08 +00:00
[
2016-10-13 15:14:43 +00:00
QGVAR(advancedBandages),
2016-10-13 07:10:08 +00:00
"CHECKBOX",
2016-10-13 15:14:43 +00:00
["Advanced Bandages", "All bandages have different wound effectivenesses and reopening chances."], //@todo
2016-10-13 07:10:08 +00:00
"ACE Medical", // @todo
2016-10-13 15:14:43 +00:00
false,
2016-10-13 07:10:08 +00:00
true
] call CBA_Settings_fnc_init;
2016-10-12 20:38:58 +00:00
[
2016-10-13 15:14:43 +00:00
QGVAR(advancedIVBags),
2016-10-12 20:38:58 +00:00
"CHECKBOX",
2016-10-13 15:14:43 +00:00
["Advanced IV Bags", "IV Bags will slowly fill up lost blood."], //@todo
2016-10-12 20:38:58 +00:00
"ACE Medical", // @todo
2016-10-13 15:14:43 +00:00
false,
2016-10-12 20:38:58 +00:00
true
] call CBA_Settings_fnc_init;
2016-10-20 00:14:11 +00:00
[
QGVAR(advancedMedication),
"CHECKBOX",
["Advanced Medication", "Enables advanced simulation of Morphine, Epinephrine etc."], //@todo
"ACE Medical", // @todo
false,
true
] call CBA_Settings_fnc_init;
[
QGVAR(allowDeathMode),
"LIST",
["Kill unit after", ""], //@todo
"ACE Medical", // @todo
[
[0, 1, 2],
["Fatal wound", "Second chance after fatal wound", "Only cardiac arrest time expiration"],
0
],
true
] call CBA_Settings_fnc_init;
[
QGVAR(maximumCardiacArrestTime),
"SLIDER",
["Maximum Cardiac Arrest Time", "Sets the maximum amount of time a unit can stay in cardiac arrest before dying."], //@todo
"ACE Medical", // @todo
[0, 30, 2, 0],
true
] call CBA_Settings_fnc_init;
ADDON = true;