using Content.Server._White.Economy; using Content.Shared.Cargo; namespace Content.Server.Cargo.Components; /// /// Added to the abstract representation of a station to track its money. /// [RegisterComponent, Access(typeof(SharedCargoSystem))] public sealed partial class StationBankAccountComponent : Component { // WD EDIT START [ViewVariables(VVAccess.ReadWrite)] public int Balance { get => BankAccount.Balance; set => BankAccount.Balance = value; } [ViewVariables] public BankAccount BankAccount = default!; // WD EDIT END /// /// How much the bank balance goes up per second, every Delay period. Rounded down when multiplied. /// [ViewVariables(VVAccess.ReadWrite), DataField("increasePerSecond")] public int IncreasePerSecond = 1; }