@@ -416,7 +416,7 @@ public abstract partial class SharedBuckleSystem
|
||||
|
||||
public bool TryUnbuckle(Entity<BuckleComponent?> buckle, EntityUid? user, bool popup)
|
||||
{
|
||||
if (!Resolve(buckle.Owner, ref buckle.Comp))
|
||||
if (!Resolve(buckle.Owner, ref buckle.Comp, false))
|
||||
return false;
|
||||
|
||||
if (!CanUnbuckle(buckle, user, popup, out var strap))
|
||||
|
||||
@@ -128,6 +128,18 @@ public sealed partial record PolymorphConfiguration
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public SoundSpecifier? ExitPolymorphSound;
|
||||
|
||||
/// <summary>
|
||||
/// If not null, this popup will be displayed when being polymorphed into something.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public LocId? PolymorphPopup = "polymorph-popup-generic";
|
||||
|
||||
/// <summary>
|
||||
/// If not null, this popup will be displayed when when being reverted from a polymorph.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public LocId? ExitPolymorphPopup = "polymorph-revert-popup-generic";
|
||||
}
|
||||
|
||||
public enum PolymorphInventoryChange : byte
|
||||
|
||||
Reference in New Issue
Block a user