+ 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:
vbawol
2013-02-06 19:38:47 -06:00
parent d21edefbd6
commit 0ed1223c5e
11 changed files with 180 additions and 150 deletions

View File

@@ -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;