(8fd36f702) Add a separate value for run threshold. Increase the order priority from 50 to 70.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:09:15 +03:00
parent 3a3d55d780
commit 7c901d8d77
14 changed files with 106 additions and 29 deletions
@@ -24,6 +24,8 @@ namespace Barotrauma
private bool removed;
private bool removed;
#if CLIENT
private List<Decal> burnDecals = new List<Decal>();
#endif
@@ -356,6 +356,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