+ if (args.Container.ID != ImplanterComponent.ImplantSlotId)
+ return;
- // replace micro bomb with macro bomb
- // TODO: this shouldn't be hardcoded here
- if (_container.TryGetContainer(component.ImplantedEntity.Value, ImplanterComponent.ImplantSlotId, out var implantContainer) && _tag.HasTag(uid, MacroBombTag))
- {
- foreach (var implant in implantContainer.ContainedEntities)
- if (!TryComp<FakeMindShieldComponent>(ent, out var comp))
- return;
- // TODO: is there a reason this cant set ev.Toggle = true;
- _actionsSystem.SetToggled((ev.Action, ev.Action), !comp.IsEnabled); // Set it to what the Mindshield component WILL be after this
- RaiseLocalEvent(ent, ev); //this reraises the action event to support an eventual future Changeling Antag which will also be using this component for it's "mindshield" ability
description: A compact disposable syringe exclusively designed for the injection of subdermal implants. Make sure to scrub it with soap or a rag to remove residual DNA after use!