2015-03-29 13:20:39 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
|
|
|
ADDON = false;
|
|
|
|
|
2015-08-16 20:21:39 +00:00
|
|
|
PREP(canLoad);
|
2015-08-10 21:07:47 +00:00
|
|
|
PREP(canLoadItemIn);
|
|
|
|
PREP(canUnloadItem);
|
|
|
|
PREP(findNearestVehicle);
|
|
|
|
PREP(getCargoSpaceLeft);
|
2015-08-16 20:21:39 +00:00
|
|
|
PREP(getSizeItem);
|
|
|
|
PREP(handleDestroyed);
|
2015-08-10 21:07:47 +00:00
|
|
|
PREP(initObject);
|
|
|
|
PREP(initVehicle);
|
|
|
|
PREP(loadItem);
|
2015-08-16 20:21:39 +00:00
|
|
|
PREP(moduleSettings);
|
2015-08-10 21:07:47 +00:00
|
|
|
PREP(onMenuOpen);
|
|
|
|
PREP(startLoadIn);
|
|
|
|
PREP(startUnload);
|
2015-08-16 20:21:39 +00:00
|
|
|
PREP(unloadItem);
|
|
|
|
PREP(validateCargoSpace);
|
|
|
|
|
2015-08-10 21:07:47 +00:00
|
|
|
GVAR(initializedItemClasses) = [];
|
|
|
|
|
|
|
|
if (isServer) then {
|
2015-08-14 16:07:31 +00:00
|
|
|
["cargo_hideItem", {params ["_object", "_status"]; _object hideObjectGlobal _status;}] call EFUNC(common,addEventHandler);
|
2015-08-10 21:07:47 +00:00
|
|
|
};
|
2015-03-29 13:20:39 +00:00
|
|
|
|
|
|
|
ADDON = true;
|