Economy (#403)
* nasrano * Add station budget & salary * Initial balance * Vending machine UI * Pricing for vending machines * Finish economy * Eftpos * Finish eftpos * Put eftpos into lockers * Vending machine prices * Small fixes * Fix atm UI * Add atms to maps * fix * reset * Add PDA program * Maps again --------- Co-authored-by: Mona Hmiza <> Co-authored-by: rhailrake <49613070+rhailrake@users.noreply.github.com>
This commit is contained in:
@@ -6,19 +6,31 @@ namespace Content.Shared.VendingMachines
|
||||
public sealed class VendingMachineInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public List<VendingMachineInventoryEntry> Inventory;
|
||||
// WD EDIT START
|
||||
public double PriceMultiplier;
|
||||
public int Credits;
|
||||
|
||||
public VendingMachineInterfaceState(List<VendingMachineInventoryEntry> inventory)
|
||||
public VendingMachineInterfaceState(List<VendingMachineInventoryEntry> inventory, double priceMultiplier,
|
||||
int credits)
|
||||
{
|
||||
Inventory = inventory;
|
||||
PriceMultiplier = priceMultiplier;
|
||||
Credits = credits;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class VendingMachineWithdrawMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
}
|
||||
// WD EDIT END
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class VendingMachineEjectMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public readonly InventoryType Type;
|
||||
public readonly string ID;
|
||||
public VendingMachineEjectMessage(InventoryType type, string id)
|
||||
public VendingMachineEjectMessage(InventoryType type, string id) // WD EDIT
|
||||
{
|
||||
Type = type;
|
||||
ID = id;
|
||||
|
||||
Reference in New Issue
Block a user