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,29 @@
using Barotrauma;
using Barotrauma.Extensions;
using MoreLevelContent.Shared.Generation;
using MoreLevelContent.Shared.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
namespace MoreLevelContent.Shared.Store
{
public class BeaconConstStore : StoreBase<BeaconConstStore>
{
private List<OutpostModuleFile> ConstBeacons = new();
public override void Setup() => HasContent = FindConstBeacons();
internal OutpostModuleFile GetBeaconForLevel()
{
Random rand = MLCUtils.GetLevelRandom();
return ConstBeacons.GetRandom(rand);
}
bool FindConstBeacons()
{
ConstBeacons = GetOutpostModuleFilesWithLocation("mlc_BeaconConstruction");
return ConstBeacons.Count() > 0;
// ConstBeacons.Sort();
}
}
}