- tweak: Youbka update (#75)
* - fix: animation log shit * - tweak: skirt funny think
This commit is contained in:
@@ -28,6 +28,7 @@ public sealed partial class HoleComponent : Component
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite)] public bool IsExcited = false;
|
||||
[DataField] public bool IsMainHole = false;
|
||||
[DataField] public bool IsVisibleInSkirt = true;
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable, DataDefinition]
|
||||
|
||||
@@ -22,7 +22,7 @@ public partial class SharedHoleSystem
|
||||
|
||||
foreach (var slot in hole.Comp.HoleNotVisibleIn)
|
||||
{
|
||||
if (_inventory.TryGetSlotEntity(entity, slot, out _, entity))
|
||||
if (_inventory.TryGetSlotEntity(entity, slot, out var item, entity) && !(HasComp<VisibleHoleComponent>(item) && hole.Comp.IsVisibleInSkirt))
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
7
Content.Shared/_Amour/Hole/VisibleHoleComponent.cs
Normal file
7
Content.Shared/_Amour/Hole/VisibleHoleComponent.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Content.Shared._Amour.Hole;
|
||||
|
||||
[RegisterComponent]
|
||||
public sealed partial class VisibleHoleComponent : Component
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user