Files
Remuchi 477dedc014 [Feat] Mindslave - имплант подчинения (#152)
* tweak: стандартизация названий имплантеров

* add: mindslave implant

* add: briefing, uplink listing, overlay icons

* add: new mindslave overlay icons by JustNemo

* remove: ненужный файлик удалён

* fix: фикс доставания импланта подчинения
2024-03-02 21:17:52 +07:00

22 lines
878 B
C#

using Content.Shared.StatusIcon;
using Robust.Shared.GameStates;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared._White.Implants.Mindslave.Components;
[RegisterComponent, AutoGenerateComponentState, NetworkedComponent]
public sealed partial class MindSlaveComponent : Component
{
[ViewVariables(VVAccess.ReadOnly), AutoNetworkedField]
public List<NetEntity> Slaves = new();
[ViewVariables(VVAccess.ReadOnly), AutoNetworkedField]
public NetEntity Master;
[DataField("slaveStatusIcon", customTypeSerializer: typeof(PrototypeIdSerializer<StatusIconPrototype>))]
public string SlaveStatusIcon = "SlaveMindslaveIcon";
[DataField("masterStatusIcon", customTypeSerializer: typeof(PrototypeIdSerializer<StatusIconPrototype>))]
public string MasterStatusIcon = "MasterMindslaveIcon";
}