2015-03-29 13:20:39 +00:00
#include "script_component.hpp"
ADDON = false;
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-08-16 20:21:39 +00:00
2023-12-07 03:20:47 +00:00
#include "initSettings.inc.sqf"
2018-07-05 16:29:32 +00:00
2015-08-10 21:07:47 +00:00
GVAR(initializedItemClasses) = [];
2016-01-19 03:53:48 +00:00
GVAR(initializedVehicleClasses) = [];
2023-11-17 23:07:28 +00:00
GVAR(cargoHolderTypes) = ["Car", "Air", "Tank", "Ship", "Cargo_base_F", "Land_PaperBox_closed_F"] apply {_x call EFUNC(common,getConfigName)}; // make sure they are config case
GVAR(disableParadropEffectsClasstypes) = ["Car_F"] apply {_x call EFUNC(common,getConfigName)};
2015-08-10 21:07:47 +00:00
2020-08-18 17:42:09 +00:00
if (isServer) then {
2023-11-17 23:07:28 +00:00
["All", "Deleted", LINKFUNC(handleDestroyed)] call CBA_fnc_addClassEventHandler;
2020-08-18 17:42:09 +00:00
};
["All", "Killed", LINKFUNC(handleDestroyed)] call CBA_fnc_addClassEventHandler;
2015-03-29 13:20:39 +00:00
ADDON = true;