fish-station/Content.Server/Cargo/Components/StationBankAccountComponent.cs
Rinary 452b586a42
Апстрим локализации (#610)
* some translate

* upd translate

* upd 3

* fix

* upd

* fix

* fix doors

* upd

---------

Co-authored-by: Vigers Ray <60344369+VigersRay@users.noreply.github.com>
2024-11-13 04:07:13 +03:00

19 lines
685 B
C#

using Content.Shared.Cargo;
namespace Content.Server.Cargo.Components;
/// <summary>
/// Added to the abstract representation of a station to track its money.
/// </summary>
[RegisterComponent, Access(typeof(SharedCargoSystem))]
public sealed partial class StationBankAccountComponent : Component
{
[ViewVariables(VVAccess.ReadOnly), DataField("balance")] // Sunrise-edit, ReadOnly, admin buse
public int Balance = 2000;
/// <summary>
/// How much the bank balance goes up per second, every Delay period. Rounded down when multiplied.
/// </summary>
[ViewVariables(VVAccess.ReadWrite), DataField("increasePerSecond")]
public int IncreasePerSecond = 1;
}