* simple storeship arriving * pupu * ship cycling * buy positions prototypes * i hate UI * PriceControl * second tab ui * baloon! pallets! * update shop in town * setup billboard timer * split to sell and buy categories * renaming gaming * actually selling * fix infinity selling * improve timer * move description too rigt part UI * bar selling * iron cabinet * purge currency categories * remove town balance, add money box * special proposal, FTLImmune anchor * fix UI * remove tests buying * Update CP14StoreWindow.xaml.cs * currency converter * currency clean up * Update CP14CargoSystem.cs * clean up part 2 * rider petpet * coins audio * coin improvment * Update coins.yml * translate * more coins roundstart * Update wallet.yml * Update wallet.yml * generate coin problem fix * refactor proto reading * fixes * huh * shuttle logshit fix, add to tavern map * Update CP14StationTravelingStoreShipTargetComponent.cs
26 lines
599 B
C#
26 lines
599 B
C#
using System.Numerics;
|
|
using Content.Shared.Whitelist;
|
|
using Robust.Shared.Audio;
|
|
|
|
namespace Content.Shared._CP14.Currency;
|
|
|
|
/// <summary>
|
|
/// Reflects the market value of an item, to guide players through the economy.
|
|
/// </summary>
|
|
|
|
[RegisterComponent]
|
|
public sealed partial class CP14CurrencyConverterComponent : Component
|
|
{
|
|
[DataField]
|
|
public int Balance;
|
|
|
|
[DataField]
|
|
public EntityWhitelist? Whitelist;
|
|
|
|
[DataField]
|
|
public Vector2 SpawnOffset = new Vector2(0, -0.4f);
|
|
|
|
[DataField]
|
|
public SoundSpecifier InsertSound = new SoundCollectionSpecifier("CP14Coins");
|
|
}
|