mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-11 10:42:58 +03:00
0.93
+ moved biomeat to a new badfood category, fixes mixed up cooking of raw meats. + few changes from community dev build 020613
This commit is contained in:
@@ -10,7 +10,7 @@ _lootChance = getNumber (_config >> "lootChance");
|
||||
_iPos = _obj modelToWorld _x;
|
||||
_nearBy = nearestObjects [_iPos, ["WeaponHolder","WeaponHolderBase"], 1];
|
||||
if (count _nearBy == 0) then {
|
||||
_index = dayz_CBLCounts find (count _itemTypes);
|
||||
_index = dayz_CBLBase find _type;
|
||||
_weights = dayz_CBLChances select _index;
|
||||
_cntWeights = count _weights;
|
||||
_index = floor(random _cntWeights);
|
||||
|
||||
Reference in New Issue
Block a user