mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix wrong bloodbag types spawning
This commit is contained in:
@@ -14,14 +14,14 @@ class CfgLoot
|
||||
#define DZ_BP_Czech DZ_CivilBackpack_EP1
|
||||
#define DZ_BP_Coyote DZ_Backpack_EP1
|
||||
|
||||
#define ItemBloodbagAPos bloodBagAPos
|
||||
#define ItemBloodbagANeg bloodBagANeg
|
||||
#define ItemBloodbagBPos bloodBagBPos
|
||||
#define ItemBloodbagBNeg bloodBagBNeg
|
||||
#define ItemBloodbagABPos bloodBagABPos
|
||||
#define ItemBloodbagABNeg bloodBagABNeg
|
||||
#define ItemBloodbagOPos bloodBagOPos
|
||||
#define ItemBloodbagONeg bloodBagONeg
|
||||
#define ItemBloodbagAPos bloodBagAPOS
|
||||
#define ItemBloodbagANeg bloodBagANEG
|
||||
#define ItemBloodbagBPos bloodBagBPOS
|
||||
#define ItemBloodbagBNeg bloodBagBNEG
|
||||
#define ItemBloodbagABPos bloodBagABPOS
|
||||
#define ItemBloodbagABNeg bloodBagABNEG
|
||||
#define ItemBloodbagOPos bloodBagOPOS
|
||||
#define ItemBloodbagONeg bloodBagONEG
|
||||
|
||||
#define ItemBloodTester bloodTester
|
||||
#define ItemTransfusionKit transfusionKit
|
||||
|
||||
@@ -32,7 +32,10 @@ if (!local (_this select 0)) exitWith
|
||||
|
||||
case Loot_MAGAZINE:
|
||||
{
|
||||
(_this select 0) addMagazine (_x select 1);
|
||||
private "_item";
|
||||
_item = _x select 1;
|
||||
if (dayz_classicBloodBagSystem && _item in dayz_typedBags) then {_item = "ItemBloodbag";};
|
||||
(_this select 0) addMagazine _item;
|
||||
};
|
||||
|
||||
case Loot_BACKPACK:
|
||||
@@ -43,6 +46,5 @@ if (!local (_this select 0)) exitWith
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
foreach Loot_Select(_this select 1, _this select 2);
|
||||
} count Loot_Select(_this select 1, _this select 2);
|
||||
//foreach ([_this select 1, _this select 2] call loot_select);
|
||||
@@ -38,6 +38,5 @@ Author:
|
||||
(_this select 0) addBackpackCargoGlobal [_x select 1, 1];
|
||||
};
|
||||
};
|
||||
}
|
||||
foreach Loot_Select(_this select 1, _this select 2);
|
||||
} count Loot_Select(_this select 1, _this select 2);
|
||||
//foreach ([_this select 1, _this select 2] call loot_select);
|
||||
Reference in New Issue
Block a user