suppress loot spawning at main traders

http://epochmod.com/forum/topic/41954-loot-spawning-at-traders/
This commit is contained in:
vbawol 2016-04-29 08:10:17 -05:00
parent 01ff034482
commit bb8f4f1c1e

View File

@ -57,7 +57,7 @@ _lootBubble = {
_lootDist = 30 + _distanceTraveled;
_lootLoc = player getRelPos [_lootDist, (random [-180,0,180])];
_objects = nearestObjects[_lootLoc, _lootClasses, 30];
_jammer = nearestObjects [_lootLoc, ["PlotPole_EPOCH"], _buildingJammerRange];
_jammer = nearestObjects [_lootLoc, ["PlotPole_EPOCH","ProtectionZone_Invisible_F"], _buildingJammerRange];
if (!(_objects isEqualTo[]) && (_jammer isEqualTo[])) then {
_building = selectRandom _objects;
if !(_building in EPOCH_LootedBlds) then {