(9d7465a38) New alien item sounds

This commit is contained in:
Joonas Rikkonen
2019-04-16 17:12:27 +03:00
parent 6262b3ea54
commit 707d9ed398
6 changed files with 72 additions and 383 deletions
@@ -109,6 +109,25 @@ namespace Barotrauma
}
}
public string DisplayName
{
get;
private set;
}
private string roomName;
[Editable, Serialize("", true, translationTextTag: "RoomName.")]
public string RoomName
{
get { return roomName; }
set
{
if (roomName == value) { return; }
roomName = value;
DisplayName = TextManager.Get(roomName, returnNull: true) ?? roomName;
}
}
public override Rectangle Rect
{
get