Gives all nuclear bombs unique codes (#11665)
Co-authored-by: Kara <lunarautomaton6@gmail.com>
This commit is contained in:
14
Content.Server/Nuke/NukeLabelComponent.cs
Normal file
14
Content.Server/Nuke/NukeLabelComponent.cs
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user