2016-06-30 15:33:29 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2017-03-18 19:03:30 +00:00
|
|
|
PREP_RECOMPILE_START;
|
2016-06-30 15:33:29 +00:00
|
|
|
#include "XEH_PREP.hpp"
|
2017-03-18 19:03:30 +00:00
|
|
|
PREP_RECOMPILE_END;
|
2016-06-30 15:33:29 +00:00
|
|
|
|
2019-03-24 05:37:39 +00:00
|
|
|
#include "initSettings.sqf"
|
|
|
|
|
2022-02-17 20:03:12 +00:00
|
|
|
call FUNC(parseConfigForInjuries);
|
|
|
|
|
|
|
|
addMissionEventHandler ["Loaded",{
|
|
|
|
INFO("Mission Loaded - Reloading medical configs for extension");
|
|
|
|
// Reload configs into extension (handle full game restart)
|
|
|
|
call FUNC(parseConfigForInjuries);
|
|
|
|
}];
|
2016-08-27 07:39:24 +00:00
|
|
|
|
2022-02-17 20:03:12 +00:00
|
|
|
[QEGVAR(medical,woundReceived), LINKFUNC(woundReceived)] call CBA_fnc_addEventHandler;
|
2016-06-30 15:33:29 +00:00
|
|
|
|
|
|
|
ADDON = true;
|