mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 02:41:18 +03:00
23 lines
576 B
C#
23 lines
576 B
C#
using Content.Shared.Sound;
|
|
|
|
namespace Content.Server.Dice
|
|
{
|
|
[RegisterComponent, Access(typeof(DiceSystem))]
|
|
public sealed class DiceComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
[DataField("sound")]
|
|
public SoundSpecifier Sound { get; } = new SoundCollectionSpecifier("Dice");
|
|
|
|
[ViewVariables]
|
|
[DataField("step")]
|
|
public int Step { get; } = 1;
|
|
|
|
[ViewVariables]
|
|
[DataField("sides")]
|
|
public int Sides { get; } = 20;
|
|
|
|
[ViewVariables]
|
|
public int CurrentSide { get; set; } = 20;
|
|
}
|
|
}
|