Makes unpowered flashlights emmagables. (#16143)
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Content.Shared.Actions.ActionTypes;
|
||||
using Content.Shared.Decals;
|
||||
using Robust.Shared.Audio;
|
||||
|
||||
namespace Content.Shared.Light.Component;
|
||||
@@ -17,4 +18,12 @@ public sealed class UnpoweredFlashlightComponent : Robust.Shared.GameObjects.Com
|
||||
|
||||
[DataField("toggleAction", required: true)]
|
||||
public InstantAction ToggleAction = new();
|
||||
|
||||
/// <summary>
|
||||
/// <see cref="ColorPalettePrototype"/> ID that determines the list
|
||||
/// of colors to select from when we get emagged
|
||||
/// </summary>
|
||||
[DataField("emaggedColorsPrototype")]
|
||||
[ViewVariables(VVAccess.ReadWrite)]
|
||||
public string EmaggedColorsPrototype = "Emagged";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user