mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 13:26:39 +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:
@@ -24,13 +24,6 @@ while {true} do {
|
||||
//Adding some Random systems
|
||||
_crashModel = ["UH60Wreck_DZ","UH1Wreck_DZ"] call BIS_fnc_selectRandom;
|
||||
|
||||
//Crash loot just uncomment the one you wish to use by default with 50cals is enabled.
|
||||
//Table including 50 cals
|
||||
_lootTable = ["Military","HeliCrash","MilitarySpecial"] call BIS_fnc_selectRandom;
|
||||
//Table without 50 cals
|
||||
//_lootTable = ["Military","HeliCrash_No50s","MilitarySpecial"] call BIS_fnc_selectRandom;
|
||||
|
||||
|
||||
_crashName = getText (configFile >> "CfgVehicles" >> _crashModel >> "displayName");
|
||||
|
||||
diag_log(format["CRASHSPAWNER: %1%2 chance to spawn '%3' with loot table '%4' at %5", round(_spawnChance * 100), '%', _crashName, _lootTable, _timeToSpawn]);
|
||||
@@ -84,7 +77,7 @@ while {true} do {
|
||||
|
||||
_config = configFile >> "CfgBuildingLoot" >> "HeliCrash";
|
||||
_itemTypes = [] + getArray (_config >> "itemType");
|
||||
_index = dayz_CBLCounts find (count _itemTypes);
|
||||
_index = dayz_CBLBase find "HeliCrash";
|
||||
_weights = dayz_CBLChances select _index;
|
||||
_cntWeights = count _weights;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user