Правочки
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 }
|
||||||
|
|||||||
Reference in New Issue
Block a user