diff --git a/SQF/dayz_code/loot/insert.sqf b/SQF/dayz_code/loot/insert.sqf index 25065aa51..0115fb434 100644 --- a/SQF/dayz_code/loot/insert.sqf +++ b/SQF/dayz_code/loot/insert.sqf @@ -34,7 +34,13 @@ if (!local (_this select 0)) exitWith { private "_item"; _item = _x select 1; - if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then {_item = "ItemBloodbag";}; + if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then { + if (_item in ["bloodTester","bloodBagAPOS","bloodBagABPOS"]) then { // reduce ItemBloodBag output slightly since typed bags spawn in bulk + _item = ["ItemBandage","ItemPainkiller","ItemMorphine","ItemHeatPack","ItemAntibacterialWipe"] call BIS_fnc_selectRandom; + } else { + _item = "ItemBloodbag"; + }; + }; (_this select 0) addMagazine _item; }; diff --git a/SQF/dayz_code/loot/insertCargo.sqf b/SQF/dayz_code/loot/insertCargo.sqf index b28bcc8c0..a1b062543 100644 --- a/SQF/dayz_code/loot/insertCargo.sqf +++ b/SQF/dayz_code/loot/insertCargo.sqf @@ -29,7 +29,13 @@ Author: { private "_item"; _item = _x select 1; - if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then {_item = "ItemBloodbag";}; + if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then { + if (_item in ["bloodTester","bloodBagAPOS","bloodBagABPOS"]) then { // reduce ItemBloodBag output slightly since typed bags spawn in bulk + _item = ["ItemBandage","ItemPainkiller","ItemMorphine","ItemHeatPack","ItemAntibacterialWipe"] call BIS_fnc_selectRandom; + } else { + _item = "ItemBloodbag"; + }; + }; (_this select 0) addMagazineCargoGlobal [_item, 1]; }; diff --git a/SQF/dayz_code/loot/spawn.sqf b/SQF/dayz_code/loot/spawn.sqf index 4d64b6fd7..3032e1030 100644 --- a/SQF/dayz_code/loot/spawn.sqf +++ b/SQF/dayz_code/loot/spawn.sqf @@ -77,7 +77,13 @@ switch (_lootInfo select 0) do { private "_item"; _item = _lootInfo select 1; - if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then {_item = "ItemBloodbag";}; + if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then { + if (_item in ["bloodTester","bloodBagAPOS","bloodBagABPOS"]) then { // reduce ItemBloodBag output slightly since typed bags spawn in bulk + _item = ["ItemBandage","ItemPainkiller","ItemMorphine","ItemHeatPack","ItemAntibacterialWipe"] call BIS_fnc_selectRandom; + } else { + _item = "ItemBloodbag"; + }; + }; _vehicle = createVehicle ["WeaponHolder", _this select 1, [], 0, "CAN_COLLIDE"]; _vehicle addMagazineCargoGlobal [_item, 1]; _vehicle setPosATL (_this select 1);