2015-01-18 21:16:35 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-02-03 19:09:25 +00:00
|
|
|
ADDON = false;
|
2015-01-18 21:16:35 +00:00
|
|
|
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2015-04-18 15:31:03 +00:00
|
|
|
|
2015-04-11 20:30:52 +00:00
|
|
|
GVAR(HITPOINTS) = ["HitHead", "HitBody", "HitLeftArm", "HitRightArm", "HitLeftLeg", "HitRightLeg"];
|
|
|
|
GVAR(SELECTIONS) = ["head", "body", "hand_l", "hand_r", "leg_l", "leg_r"];
|
|
|
|
|
2016-11-07 21:21:07 +00:00
|
|
|
GVAR(STATE_MACHINE) = (configFile >> "ACE_Medical_StateMachine") call CBA_statemachine_fnc_createFromConfig;
|
2016-06-30 15:33:29 +00:00
|
|
|
|
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;
|
|
|
|
|
2016-11-07 21:21:07 +00:00
|
|
|
[
|
2016-11-13 21:27:40 +00:00
|
|
|
QGVAR(fatalInjuryCondition),
|
2016-11-09 18:01:55 +00:00
|
|
|
"LIST",
|
2016-11-13 21:27:40 +00:00
|
|
|
["Allow Fatal Injury", "Governs when a fatal injury can occur."], //@todo
|
2016-11-08 18:37:56 +00:00
|
|
|
"ACE Medical", // @todo
|
2016-11-09 18:01:55 +00:00
|
|
|
[
|
|
|
|
[0, 1, 2],
|
2016-11-13 21:27:40 +00:00
|
|
|
["Always", "In Cardiac Arrest", "Never"],
|
2016-11-09 18:01:55 +00:00
|
|
|
0
|
|
|
|
],
|
2016-11-08 18:37:56 +00:00
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
2016-11-07 21:21:07 +00:00
|
|
|
[
|
|
|
|
QGVAR(maximumCardiacArrestTime),
|
|
|
|
"SLIDER",
|
2016-11-08 18:37:56 +00:00
|
|
|
["Maximum Cardiac Arrest Time", "Sets the maximum amount of time a unit can stay in cardiac arrest before dying."], //@todo
|
2016-11-07 21:21:07 +00:00
|
|
|
"ACE Medical", // @todo
|
|
|
|
[0, 30, 2, 0],
|
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
|
|
|
|
2015-01-18 21:16:35 +00:00
|
|
|
ADDON = true;
|