v1.6.17.0 (Unto the Breach update)

This commit is contained in:
Regalis11
2024-10-22 17:29:04 +03:00
parent e74b3cdb17
commit 6e6c17e100
417 changed files with 17166 additions and 5870 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; }