- tweak: Youbka update (#75)

* - fix: animation log shit

* - tweak: skirt funny think
This commit is contained in:
Cinkafox
2024-03-11 21:00:33 +03:00
committed by GitHub
parent d0174cf8da
commit fdee5c808a
11 changed files with 74 additions and 47 deletions

View File

@@ -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]

View File

@@ -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;
}

View File

@@ -0,0 +1,7 @@
namespace Content.Shared._Amour.Hole;
[RegisterComponent]
public sealed partial class VisibleHoleComponent : Component
{
}