Unstable v0.19.3.0

This commit is contained in:
Juan Pablo Arce
2022-09-02 15:10:56 -03:00
parent 28789616bd
commit 3f2c843247
336 changed files with 7152 additions and 7739 deletions

View File

@@ -0,0 +1,16 @@
namespace Barotrauma
{
[RequiredByCorePackage]
sealed class TutorialsFile : GenericPrefabFile<TutorialPrefab>
{
protected override PrefabCollection<TutorialPrefab> Prefabs => TutorialPrefab.Prefabs;
public TutorialsFile(ContentPackage contentPackage, ContentPath path) : base(contentPackage, path) { }
protected override bool MatchesSingular(Identifier identifier) => identifier == "Tutorial";
protected override bool MatchesPlural(Identifier identifier) => identifier == "Tutorials";
protected override TutorialPrefab CreatePrefab(ContentXElement element) => new TutorialPrefab(this, element);
}
}