mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-21 02:46:29 +03:00
Update all cutText to dayz_rollingMessages
This commit is contained in:
@@ -71,7 +71,7 @@ if (count _nearByPile > 0) then {
|
||||
if (_avail < _amount) exitWith {
|
||||
_hasInput = false;
|
||||
_itemName = getText(configFile >> _selection >> _item >> "displayName");
|
||||
cutText [format [localize "str_crafting_missing",(_amount - _avail),_itemName], "PLAIN DOWN"];
|
||||
format[localize "str_crafting_missing",(_amount - _avail),_itemName] call dayz_rollingMessages;
|
||||
};
|
||||
} forEach (_input + _required);
|
||||
|
||||
@@ -101,7 +101,7 @@ if (count _nearByPile > 0) then {
|
||||
_freeSlots set[_j, ((_freeSlots select _j) - (_slotType select _j))];
|
||||
if (_freeSlots select _j < 0) exitWith {
|
||||
_availabeSpace = false;
|
||||
cutText [localize "str_crafting_space", "PLAIN DOWN"];
|
||||
localize "str_crafting_space" call dayz_rollingMessages;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -151,10 +151,10 @@ if (count _nearByPile > 0) then {
|
||||
player addBackpack _item;
|
||||
};
|
||||
};
|
||||
cutText [format [localize "str_crafting_success",_itemName], "PLAIN DOWN"];
|
||||
format[localize "str_crafting_success",_itemName] call dayz_rollingMessages;
|
||||
//uiSleep 2;
|
||||
} else {
|
||||
cutText [format [localize "str_crafting_failed",_itemName], "PLAIN DOWN"];
|
||||
format[localize "str_crafting_failed",_itemName] call dayz_rollingMessages;
|
||||
//uiSleep 2;
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user