(22ec3a281) Add a boolean that controls whether or not the enemy attacks outposts and the characters inside it.

This commit is contained in:
Joonas Rikkonen
2019-04-16 17:12:43 +03:00
parent 707d9ed398
commit 0c42ad1572
3 changed files with 96 additions and 29 deletions
@@ -128,6 +128,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