mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-10 02:02:54 +03:00
+ Increased raise horde distance to 65m. + decreased raise horde action timer to 7 seconds. + sync with 1.7.6.1 CE
19 lines
586 B
Plaintext
19 lines
586 B
Plaintext
private["_location","_isOk","_dir","_classname"];
|
|
private["_item"];
|
|
_item = _this;
|
|
call gear_ui_init;
|
|
|
|
if (["forest",dayz_surfaceType] call fnc_inString) then {
|
|
_result = [player,"PartWoodPile"] call BIS_fnc_invAdd;
|
|
[player,"chopwood",0,false] call dayz_zombieSpeak;
|
|
if (_result) then {
|
|
cutText [localize "str_player_25", "PLAIN DOWN"];
|
|
} else {
|
|
cutText [localize "str_player_24", "PLAIN DOWN"];
|
|
};
|
|
[player,20,false,(getPosATL player)] spawn player_alertZombies;
|
|
player playActionNow "Medic";
|
|
sleep 3;
|
|
} else {
|
|
cutText [localize "str_player_23", "PLAIN DOWN"];
|
|
}; |