Add chatty lathes (#34959)

This commit is contained in:
pathetic meowmeow
2025-04-16 15:29:25 -04:00
committed by GitHub
parent be5bbd4dc3
commit 5d38ae56de
8 changed files with 69 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
using Content.Shared.Radio;
using Robust.Shared.Prototypes;
namespace Content.Server.Lathe.Components;
/// <summary>
/// Causes this entity to announce onto the provided channels when it receives new recipes from its server
/// </summary>
[RegisterComponent]
public sealed partial class LatheAnnouncingComponent : Component
{
/// <summary>
/// Radio channels to broadcast to when a new set of recipes is received
/// </summary>
[DataField(required: true)]
public List<ProtoId<RadioChannelPrototype>> Channels = new();
}