Release 1.9.7.0 - Summer Update 2025

This commit is contained in:
Regalis11
2025-06-17 16:38:11 +03:00
parent 22227f13e5
commit ea5a2bc693
297 changed files with 7344 additions and 2421 deletions
@@ -23,6 +23,12 @@ namespace Barotrauma
get { return allowedLocationTypes; }
}
private readonly HashSet<Identifier> allowedGameModeIdentifiers = new HashSet<Identifier>();
public IEnumerable<Identifier> AllowedGameModeIdentifiers
{
get { return allowedGameModeIdentifiers; }
}
[Serialize(-1, IsPropertySaveable.Yes, description: "Should this type of outpost be forced to the locations at the end of the campaign map? 0 = first end level, 1 = second end level, and so on."), Editable(MinValueInt = -1, MaxValueInt = 10)]
public int ForceToEndLocationIndex
@@ -279,6 +285,7 @@ namespace Barotrauma
{
Name = element.GetAttributeString("name", Identifier.Value);
allowedLocationTypes = element.GetAttributeIdentifierArray("allowedlocationtypes", Array.Empty<Identifier>()).ToHashSet();
allowedGameModeIdentifiers = element.GetAttributeIdentifierArray("allowedgamemodes", Array.Empty<Identifier>()).ToHashSet();
SerializableProperties = SerializableProperty.DeserializeProperties(this, element);
if (element.GetAttribute("leveltype") != null)