Gives all nuclear bombs unique codes (#11665)

Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
Flipp Syder
2022-10-09 12:28:08 -07:00
committed by GitHub
parent 410983c2d4
commit 8838f8be24
9 changed files with 181 additions and 102 deletions

View File

@@ -0,0 +1,14 @@
namespace Content.Server.Nuke;
/// <summary>
/// This generates a label for a nuclear bomb.
/// </summary>
/// <remarks>
/// This is a separate component because the fake nuclear bomb keg exists.
/// </remarks>
[RegisterComponent]
public sealed class NukeLabelComponent : Component
{
[DataField("prefix")] public string NukeLabel = "nuke-label-nanotrasen";
[DataField("serialLength")] public int SerialLength = 6;
}