Build 0.20.7.0

This commit is contained in:
Markus Isberg
2022-11-18 18:13:38 +02:00
parent 8c8fd865c5
commit ecb6d40b4b
111 changed files with 1346 additions and 701 deletions
@@ -260,6 +260,21 @@ namespace Barotrauma
return humanPrefabCollections.GetRandom(randSync);
}
public bool CanHaveCampaignInteraction(CampaignMode.InteractionType interactionType)
{
foreach (var collection in humanPrefabCollections)
{
foreach (var prefab in collection)
{
if (prefab.CampaignInteractionType == interactionType)
{
return true;
}
}
}
return false;
}
public ImmutableHashSet<Identifier> GetStoreIdentifiers()
{
if (StoreIdentifiers == null)