Dynamic anomaly scanner texture (#37585)

This commit is contained in:
Quantum-cross
2025-09-04 15:11:03 -04:00
committed by GitHub
parent 12e8697648
commit 52c903cab8
25 changed files with 720 additions and 289 deletions

View File

@@ -36,5 +36,13 @@ public sealed class SecretDataAnomalySystem : EntitySystem
component.Secret.Add(_random.PickAndTake(_deita));
}
}
public bool IsSecret(EntityUid uid, AnomalySecretData item, SecretDataAnomalyComponent? component = null)
{
if (!Resolve(uid, ref component, logMissing: false))
return false;
return component.Secret.Contains(item);
}
}