Add multipart machines system (#35969)

This commit is contained in:
BarryNorfolk
2025-06-02 16:02:41 +02:00
committed by GitHub
parent 9a38d66df2
commit b2d0f7ed28
32 changed files with 987 additions and 331 deletions

View File

@@ -0,0 +1,17 @@
using Robust.Shared.GameStates;
namespace Content.Shared.Machines.Components;
/// <summary>
/// Component for marking entities as part of a multipart machine.
/// </summary>
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class MultipartMachinePartComponent : Component
{
/// <summary>
/// Links to the entity which holds the MultipartMachineComponent.
/// Useful so that entities that know which machine they are a part of.
/// </summary>
[DataField, AutoNetworkedField]
public EntityUid? Master = null;
}