v1.5.7.0 (Summer Update)

This commit is contained in:
Regalis11
2024-06-18 16:49:51 +03:00
parent 4a63dacbce
commit 230d1b6e78
263 changed files with 7792 additions and 2845 deletions
@@ -32,6 +32,11 @@ namespace Barotrauma
/// </summary>
public readonly Identifier BiomeIdentifier;
/// <summary>
/// If set, this layer must be present somewhere in the level.
/// </summary>
public readonly Identifier RequiredLayer;
/// <summary>
/// If set, the event set can only be chosen in locations that belong to this faction.
/// </summary>
@@ -94,6 +99,8 @@ namespace Barotrauma
Probability = Math.Clamp(element.GetAttributeFloat(1.0f, "probability", "spawnprobability"), 0, 1);
TriggerEventCooldown = element.GetAttributeBool("triggereventcooldown", EventType != typeof(ScriptedEvent));
RequiredLayer = element.GetAttributeIdentifier(nameof(RequiredLayer), Identifier.Empty);
UnlockPathEvent = element.GetAttributeBool("unlockpathevent", false);
UnlockPathTooltip = element.GetAttributeString("unlockpathtooltip", "lockedpathtooltip");
UnlockPathReputation = element.GetAttributeInt("unlockpathreputation", 0);