* 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:
Aviu00
2023-10-02 16:50:02 +09:00
committed by Aviu00
parent 707cdf3afa
commit 16c8b95da4
109 changed files with 2043 additions and 30 deletions

View File

@@ -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;