mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
Add animation to player_sharpen
This commit is contained in:
@@ -19,7 +19,6 @@ closeDialog 1;
|
|||||||
|
|
||||||
// item is missing or tools are missing
|
// item is missing or tools are missing
|
||||||
if (isNil "_waterUsed") exitWith {
|
if (isNil "_waterUsed") exitWith {
|
||||||
//_displayName = getText (configFile >> "CfgMagazines" >> _use >> "displayName");
|
|
||||||
localize "str_sharpen_missing_water" call dayz_rollingMessages;
|
localize "str_sharpen_missing_water" call dayz_rollingMessages;
|
||||||
dayz_actionInProgress = false;
|
dayz_actionInProgress = false;
|
||||||
};
|
};
|
||||||
@@ -31,6 +30,13 @@ if !("equip_brick" IN magazines player) exitWith {
|
|||||||
dayz_actionInProgress = false;
|
dayz_actionInProgress = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
_finished = ["Medic",1] call fn_loopAction;
|
||||||
|
|
||||||
|
if (!_finished) exitWith {
|
||||||
|
localize "STR_EPOCH_PLAYER_26" call dayz_rollingMessages;
|
||||||
|
dayz_actionInProgress = false;
|
||||||
|
};
|
||||||
|
|
||||||
if (player hasWeapon _item) then {
|
if (player hasWeapon _item) then {
|
||||||
_displayName = getText (configFile >> "CfgWeapons" >> _item >> "displayName");
|
_displayName = getText (configFile >> "CfgWeapons" >> _item >> "displayName");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user