ACE3/addons/medical/XEH_preInit.sqf

57 lines
1.4 KiB
Plaintext

#include "script_component.hpp"
ADDON = false;
PREP_RECOMPILE_START;
#include "XEH_PREP.hpp"
PREP_RECOMPILE_END;
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;
/*
[
QGVAR(advancedBandages),
"CHECKBOX",
["Advanced Bandages", "All bandages have different wound effectivenesses and reopening chances."], //@todo
"ACE Medical", // @todo
false,
true
] call CBA_Settings_fnc_init;
[
QGVAR(advancedMedication),
"CHECKBOX",
["Advanced Medication", "Enables advanced simulation of Morphine, Epinephrine etc."], //@todo
"ACE Medical", // @todo
false,
true
] call CBA_Settings_fnc_init;
[
QGVAR(fatalInjuryCondition),
"LIST",
["Allow Fatal Injury", "Governs when a fatal injury can occur."], //@todo
"ACE Medical", // @todo
[
[0, 1, 2],
["Always", "In Cardiac Arrest", "Never"],
0
],
true
] call CBA_Settings_fnc_init;
[
QGVAR(cardiacArrestTime),
"SLIDER",
["Cardiac Arrest Time", "Sets how long cardiac arrest will last for on average (in minutes)."], //@todo
"ACE Medical", // @todo
[0, 30, 2, 0],
true
] call CBA_Settings_fnc_init;
*/
ADDON = true;