Track LocalMods as part of monolith

This commit is contained in:
2026-06-08 18:50:16 +03:00
parent 143f2fed7c
commit 1b214b44c2
1287 changed files with 139255 additions and 1 deletions
@@ -0,0 +1,42 @@
using Barotrauma.Networking;
namespace Barotrauma.MoreLevelContent.Shared.Config
{
[NetworkSerialize]
public struct LevelConfig : INetSerializableStruct
{
// public bool MoveRuins;
public bool EnableDistressMissions;
public bool EnableConstructionSites;
public bool EnableRelayStations;
public bool EnableMapFeatures;
public bool EnableThalamusCaves;
public int RuinMoveChance;
public int MaxActiveDistressBeacons;
public int DistressSpawnChance;
public float DistressSpawnPercentage => DistressSpawnChance / 100f;
public static LevelConfig GetDefault()
{
LevelConfig config = new LevelConfig
{
EnableThalamusCaves = true,
RuinMoveChance = 25,
MaxActiveDistressBeacons = 5,
DistressSpawnChance = 35,
EnableConstructionSites = true,
EnableDistressMissions = true,
EnableMapFeatures = true,
EnableRelayStations = true
};
return config;
}
public override string ToString() =>
$"\n-General Config-\n" +
$"RuinMoveChance: {RuinMoveChance}";
}
}