* add conscription bag * add gar mesons * remove salvage vendor restock * add code for shop vendors * make salvage vendor a shop vendor * ui fixes * :trollface: * update locker and vendor inventory * add mining hardsuit for 3k --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
22 lines
539 B
C#
22 lines
539 B
C#
using Robust.Client.AutoGenerated;
|
|
using Robust.Client.UserInterface.Controls;
|
|
using Robust.Client.UserInterface.XAML;
|
|
using Robust.Shared.Prototypes;
|
|
|
|
namespace Content.Client.DeltaV.VendingMachines.UI;
|
|
|
|
[GenerateTypedNameReferences]
|
|
public sealed partial class ShopVendorItem : BoxContainer
|
|
{
|
|
public ShopVendorItem(EntProtoId entProto, string text, uint cost)
|
|
{
|
|
RobustXamlLoader.Load(this);
|
|
|
|
ItemPrototype.SetPrototype(entProto);
|
|
|
|
NameLabel.Text = text;
|
|
|
|
CostLabel.Text = cost.ToString();
|
|
}
|
|
}
|