mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Allow drinking from hands at ponds on Cherno
Town generator configs may be added for other maps in the future.
This commit is contained in:
@@ -162,7 +162,8 @@ sched_townGenerator = {
|
||||
_position = _x select 2;
|
||||
_blocked = false;
|
||||
{if (_position distance _x < 150) exitWith {_blocked = true;};} forEach dayz_townGeneratorBlackList;
|
||||
if (!_blocked && dayz_townGenerator) then {
|
||||
//Spawn waterHoleProxies on Chernarus even if townGenerator is disabled (needed for drinking from hands at ponds)
|
||||
if ((!_blocked && dayz_townGenerator) or {_x select 1 == "waterHoleProxy" && toLower worldName == "chernarus"}) then {
|
||||
_object = (_x select 1) createVehicleLocal [0,0,0];
|
||||
_object setDir (_x select 3);
|
||||
_object setPos [_position select 0,_position select 1,0];
|
||||
|
||||
Reference in New Issue
Block a user