(fd30b1df7) Added some workshop item tags
This commit is contained in:
@@ -748,7 +748,7 @@ namespace Barotrauma
|
|||||||
for (int i = 0; i < item.Tags.Length && i < 5; i++)
|
for (int i = 0; i < item.Tags.Length && i < 5; i++)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(item.Tags[i])) { continue; }
|
if (string.IsNullOrEmpty(item.Tags[i])) { continue; }
|
||||||
string tag = TextManager.Get("Workshop.ContentTag." + item.Tags[i], true);
|
string tag = TextManager.Get("Workshop.ContentTag." + item.Tags[i].Replace(" ", ""), true);
|
||||||
if (string.IsNullOrEmpty(tag)) { tag = item.Tags[i].CapitaliseFirstInvariant(); }
|
if (string.IsNullOrEmpty(tag)) { tag = item.Tags[i].CapitaliseFirstInvariant(); }
|
||||||
tags.Add(tag);
|
tags.Add(tag);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,11 @@ namespace Barotrauma.Steam
|
|||||||
{ "monster", 8 },
|
{ "monster", 8 },
|
||||||
{ "art", 8 },
|
{ "art", 8 },
|
||||||
{ "mission", 8 },
|
{ "mission", 8 },
|
||||||
{ "environment", 5 }
|
{ "event set", 8 },
|
||||||
|
{ "total conversion", 5 },
|
||||||
|
{ "environment", 5 },
|
||||||
|
{ "item assembly", 5 },
|
||||||
|
{ "language", 5 }
|
||||||
};
|
};
|
||||||
|
|
||||||
private List<string> popularTags = new List<string>();
|
private List<string> popularTags = new List<string>();
|
||||||
|
|||||||
Reference in New Issue
Block a user