Правочки

This commit is contained in:
BIGZi0348
2024-12-14 17:50:46 +03:00
parent 7eea717fe5
commit 6309a07bba
3 changed files with 10 additions and 18 deletions

View File

@@ -54,13 +54,6 @@ namespace Content.Client.VendingMachines
} }
// WD EDIT END // WD EDIT END
protected override void UpdateState(BoundUserInterfaceState state) protected override void UpdateState(BoundUserInterfaceState state)
{ {
base.UpdateState(state); base.UpdateState(state);

View File

@@ -25,8 +25,6 @@ public sealed partial class VendingMenu : DefaultWindow
// SearchBar.OnTextChanged += UpdateFilter; // SearchBar.OnTextChanged += UpdateFilter;
} }
/// <summary> /// <summary>
/// Populates the list of available items on the vending machine interface /// Populates the list of available items on the vending machine interface
/// and sets icons based on their prototypes /// and sets icons based on their prototypes
@@ -77,7 +75,7 @@ public sealed partial class VendingMenu : DefaultWindow
vendingItem.VendingItemBuyButton.OnPressed += _ => { OnItemSelected?.Invoke(j); }; vendingItem.VendingItemBuyButton.OnPressed += _ => { OnItemSelected?.Invoke(j); };
if(filter == "" || (prototype?.Name?.Contains(filter) == true)) //WD if (filter == "" || (prototype?.Name?.Contains(filter) == true))
VendingContents.AddChild(vendingItem); VendingContents.AddChild(vendingItem);
} }

View File

@@ -3,6 +3,7 @@
vending-machine-component-try-eject-invalid-item = Несуществующий предмет vending-machine-component-try-eject-invalid-item = Несуществующий предмет
vending-machine-component-try-eject-out-of-stock = Нет в наличии vending-machine-component-try-eject-out-of-stock = Нет в наличии
vending-machine-component-try-eject-access-denied = Доступ запрещён vending-machine-component-try-eject-access-denied = Доступ запрещён
vending-machine-component-search-filter = Поиск...
vending-machine-action-name = Выдать предмет vending-machine-action-name = Выдать предмет
vending-machine-action-description = Выдаёт случайный предмет из вашего инвентаря. vending-machine-action-description = Выдаёт случайный предмет из вашего инвентаря.
vending-machine-insert-fromStorage-success = Перемещено предметов: { $count } vending-machine-insert-fromStorage-success = Перемещено предметов: { $count }