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_Czech DZ_CivilBackpack_EP1
|
||||||
#define DZ_BP_Coyote DZ_Backpack_EP1
|
#define DZ_BP_Coyote DZ_Backpack_EP1
|
||||||
|
|
||||||
#define ItemBloodbagAPos bloodBagAPos
|
#define ItemBloodbagAPos bloodBagAPOS
|
||||||
#define ItemBloodbagANeg bloodBagANeg
|
#define ItemBloodbagANeg bloodBagANEG
|
||||||
#define ItemBloodbagBPos bloodBagBPos
|
#define ItemBloodbagBPos bloodBagBPOS
|
||||||
#define ItemBloodbagBNeg bloodBagBNeg
|
#define ItemBloodbagBNeg bloodBagBNEG
|
||||||
#define ItemBloodbagABPos bloodBagABPos
|
#define ItemBloodbagABPos bloodBagABPOS
|
||||||
#define ItemBloodbagABNeg bloodBagABNeg
|
#define ItemBloodbagABNeg bloodBagABNEG
|
||||||
#define ItemBloodbagOPos bloodBagOPos
|
#define ItemBloodbagOPos bloodBagOPOS
|
||||||
#define ItemBloodbagONeg bloodBagONeg
|
#define ItemBloodbagONeg bloodBagONEG
|
||||||
|
|
||||||
#define ItemBloodTester bloodTester
|
#define ItemBloodTester bloodTester
|
||||||
#define ItemTransfusionKit transfusionKit
|
#define ItemTransfusionKit transfusionKit
|
||||||
|
|||||||
@@ -32,7 +32,10 @@ if (!local (_this select 0)) exitWith
|
|||||||
|
|
||||||
case Loot_MAGAZINE:
|
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:
|
case Loot_BACKPACK:
|
||||||
@@ -43,6 +46,5 @@ if (!local (_this select 0)) exitWith
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
} count Loot_Select(_this select 1, _this select 2);
|
||||||
foreach Loot_Select(_this select 1, _this select 2);
|
|
||||||
//foreach ([_this select 1, _this select 2] call loot_select);
|
//foreach ([_this select 1, _this select 2] call loot_select);
|
||||||
@@ -38,6 +38,5 @@ Author:
|
|||||||
(_this select 0) addBackpackCargoGlobal [_x select 1, 1];
|
(_this select 0) addBackpackCargoGlobal [_x select 1, 1];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
} count Loot_Select(_this select 1, _this select 2);
|
||||||
foreach Loot_Select(_this select 1, _this select 2);
|
|
||||||
//foreach ([_this select 1, _this select 2] call loot_select);
|
//foreach ([_this select 1, _this select 2] call loot_select);
|
||||||
Reference in New Issue
Block a user