Improved MiniMap: shows hull integrity and oxygen levels, and can be configured to only show oxy/water data if the rooms have detectors in place

+ itemprefab "aliases" (allows changing item names while keeping backwards compatibility with older sub files)
This commit is contained in:
Regalis
2016-09-08 20:21:55 +03:00
parent 7be5474617
commit 4bf01aeba7
5 changed files with 205 additions and 31 deletions
+1 -1
View File
@@ -1549,7 +1549,7 @@ namespace Barotrauma
ItemPrefab ip = ep as ItemPrefab;
if (ip == null) continue;
if (ip.Name != name) continue;
if (ip.Name != name && (ip.Aliases == null || !ip.Aliases.Contains(name))) continue;
if (rect.Width==0 && rect.Height==0)
{