Unstable 1.8.4.0

This commit is contained in:
Markus Isberg
2025-03-12 12:56:27 +00:00
parent a4c3e868e4
commit a4a3427e4e
627 changed files with 29860 additions and 10018 deletions
@@ -33,6 +33,10 @@ namespace Barotrauma
}
public bool HasCharacterInfo { get; private set; }
public Identifier Group { get; private set; }
public bool MatchesSpeciesNameOrGroup(Identifier speciesNameOrGroup) => Identifier == speciesNameOrGroup || Group == speciesNameOrGroup;
public void InheritFrom(CharacterPrefab parent)
{
@@ -52,9 +56,10 @@ namespace Barotrauma
{
CharacterInfoPrefab = new CharacterInfoPrefab(this, headsElement, varsElement, menuCategoryElement, pronounsElement);
}
Group = ConfigElement.GetAttributeIdentifier(nameof(Group), Identifier.Empty);
}
private readonly XElement originalElement;
private readonly ContentXElement originalElement;
public ContentXElement ConfigElement { get; private set; }
public CharacterInfoPrefab CharacterInfoPrefab { get; private set; }