mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-16 05:39:58 +03:00
Advanced trading changes
This changes a few things in Advanced trading, mainly cosmetically. > Removes all the commented out lines that were the same in defines.sqf, let me know if these are there for a reason? > fixes the buying list to have localization support and has a total item count that works properly. > cosmetic change displaying backpack info on trader to bring it in line with the other menus > adds total item count to the selling list and added localization for that
This commit is contained in:
@@ -19,11 +19,11 @@ if(Z_Selling)then{
|
||||
if (Z_CategoryView) then {
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_FILTERBUTTON) ctrlSetText localize "STR_EPOCH_VIEW";
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_BUYABLELIST) ctrlSetFontHeight 0.026; // Slightly bigger in category view
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_BUYABLELIST) ctrlSetPosition [(0.21* safezoneW + safezoneX),(0.43 * safezoneH + safezoneY),(0.13 * safezoneW),(0.30 * safezoneH)];
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_BUYABLELIST) ctrlSetPosition [(0.21* safezoneW + safezoneX),(0.41 * safezoneH + safezoneY),(0.13 * safezoneW),(0.30 * safezoneH)];
|
||||
(findDisplay Z_AT_DIALOGWINDOW displayCtrl Z_AT_BUYABLELIST) ctrlCommit 0;
|
||||
{ctrlShow [_x,false];} forEach [Z_AT_ADDBUYITEMBUTTON,Z_AT_BUYINGAMOUNT,Z_AT_REMOVEBUYITEMBUTTON,Z_AT_REMOVEALLBUYITEMBUTTON,Z_AT_FILTERBOX,Z_AT_BACKBUTTON]; // hide
|
||||
call Z_fillCategories;
|
||||
};
|
||||
};
|
||||
|
||||
[2] call Z_getContainer; // default gear
|
||||
[2] call Z_getContainer; // default gear
|
||||
|
||||
Reference in New Issue
Block a user