Add a command and verb to attach a body part to yourself (#2372)
* Add attachbodypart command * Make the slot name depend on the verb instead of the command
This commit is contained in:
@@ -145,6 +145,13 @@ namespace Content.Shared.GameObjects.Components.Body
|
||||
return _parts.ContainsKey(slot);
|
||||
}
|
||||
|
||||
public bool HasPart(IBodyPart part)
|
||||
{
|
||||
DebugTools.AssertNotNull(part);
|
||||
|
||||
return _parts.ContainsValue(part);
|
||||
}
|
||||
|
||||
public void RemovePart(IBodyPart part)
|
||||
{
|
||||
DebugTools.AssertNotNull(part);
|
||||
|
||||
Reference in New Issue
Block a user