Add do after to surgery (#2756)
* Cleanup surgery classes * Add DoAfter to surgery * Consolidate doafter, break on user and target move * Ignore biological surgery data component on the client * Apply suggestions from code review Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> * Use a stringbuilder for surgery descriptions Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com>
This commit is contained in:
@@ -89,9 +89,8 @@ namespace Content.Shared.GameObjects.Components.Body.Part
|
||||
[ViewVariables]
|
||||
public BodyPartSymmetry Symmetry { get; private set; }
|
||||
|
||||
// TODO BODY
|
||||
[ViewVariables]
|
||||
public SurgeryDataComponent? SurgeryDataComponent => Owner.GetComponentOrNull<SurgeryDataComponent>();
|
||||
public ISurgeryData? SurgeryDataComponent => Owner.GetComponentOrNull<ISurgeryData>();
|
||||
|
||||
protected virtual void OnAddMechanism(IMechanism mechanism)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user