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-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-02-22 14:20:36 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2016-11-23 19:35:25 +00:00
|
|
|
PREP_RECOMPILE_END;
|
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-12-14 19:44:06 +00:00
|
|
|
/*
|
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-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
|
|
|
[
|
2016-11-13 21:45:38 +00:00
|
|
|
QGVAR(cardiacArrestTime),
|
2016-11-07 21:21:07 +00:00
|
|
|
"SLIDER",
|
2016-11-15 13:52:09 +00:00
|
|
|
["Cardiac Arrest Time", "Sets how long cardiac arrest will last for on average (in minutes)."], //@todo
|
2016-11-07 21:21:07 +00:00
|
|
|
"ACE Medical", // @todo
|
|
|
|
[0, 30, 2, 0],
|
|
|
|
true
|
|
|
|
] call CBA_Settings_fnc_init;
|
2016-12-14 19:44:06 +00:00
|
|
|
*/
|
2016-11-07 21:21:07 +00:00
|
|
|
|
2015-01-18 21:16:35 +00:00
|
|
|
ADDON = true;
|