diff --git a/.hemtt/missions/CSC.Altis/init.sqf b/.hemtt/missions/CSC.Altis/init.sqf index 2e9df45..7db18b5 100644 --- a/.hemtt/missions/CSC.Altis/init.sqf +++ b/.hemtt/missions/CSC.Altis/init.sqf @@ -48,6 +48,28 @@ params [ + ] // Hashmap of additional parameters that can be changed optionally +] call cvo_csc_fnc_register; +[ + "ACE Medical Box 2", // Name + [ + ["ace_banana", 169], + ["ace_suture", 169], + ["ACE_painkillers", 169] + ], // Array of Items to be filled into - Default: [] + [ + // ["somebackpackclassname", 420] + ], // Array of Backpacks to be filled into - Default: [] + createHashMapFromArray [ + ["airdrop_pos_start", [10000,10000,100]], + ["box_empty", false], + ["box_class", "ACE_medicalSupplyCrate_advanced"], + ["airframe_class", "B_T_VTOL_01_vehicle_F"], + ["normal_mode", "AIRDROP"], + ["airdrop_targetMode", "TARGET"] + + + ] // Hashmap of additional parameters that can be changed optionally ] call cvo_csc_fnc_register; diff --git a/.hemtt/missions/CSC.Altis/mission.sqm b/.hemtt/missions/CSC.Altis/mission.sqm index c31b8bb..8583552 100644 Binary files a/.hemtt/missions/CSC.Altis/mission.sqm and b/.hemtt/missions/CSC.Altis/mission.sqm differ diff --git a/addons/csc/functions/fn_link.sqf b/addons/csc/functions/fn_link.sqf index fa3c701..9edf06b 100644 --- a/addons/csc/functions/fn_link.sqf +++ b/addons/csc/functions/fn_link.sqf @@ -28,7 +28,9 @@ if (_target isEqualTo "404") exitWith {ZRN_LOG_MSG(No target provided);}; private _cat = [_catName] call FUNC(catalog); if (_cat isEqualTo "404") exitWith {ZRN_LOG_MSG_1(Catalog not found,_catName);}; -private _links = _cat get _entryName getOrDefault ["links", []]; +private _links = _cat get _entryName getOrDefault ["links", [[],[]]]; + +ZRN_LOG_1(_links); // Check if zeus is enabled for this catalog already - if not - create zeus action and attach it to zeus. diff --git a/addons/csc/functions/fn_register.sqf b/addons/csc/functions/fn_register.sqf index 530a033..b3d3bef 100644 --- a/addons/csc/functions/fn_register.sqf +++ b/addons/csc/functions/fn_register.sqf @@ -51,7 +51,7 @@ private _entry = _cat getOrDefault [_entryName, "404"]; if (_entry isEqualTo "404") then { _entry = createHashMapFromArray [ ["entryName", _entryName] ]; - _entry merge [(_cat get "Default Entry"), false]; + _entry merge [+ (_cat get "Default Entry"), false]; }; _entry set ["items", _items]; diff --git a/addons/main/script_version.hpp b/addons/main/script_version.hpp index 361cdff..1ec12de 100644 --- a/addons/main/script_version.hpp +++ b/addons/main/script_version.hpp @@ -1,7 +1,7 @@ #define MAJOR 1 #define MINOR 3 #define PATCH 1 -#define BUILD 64 +#define BUILD 65 // #define VERSION MACROS