Adds job icons to the job list.

This commit is contained in:
Pieter-Jan Briers
2020-01-24 16:31:18 +01:00
parent 1dd4a5b48b
commit f95c5b7921
52 changed files with 370 additions and 9 deletions

View File

@@ -39,6 +39,8 @@ namespace Content.Shared.Jobs
public string StartingGear { get; private set; }
public string Icon { get; private set; }
public IReadOnlyCollection<string> Department { get; private set; }
public IReadOnlyCollection<string> Access { get; private set; }
@@ -72,6 +74,11 @@ namespace Content.Shared.Jobs
{
Access = Array.Empty<string>();
}
if (mapping.TryGetNode("icon", out var iconNode))
{
Icon = iconNode.AsString();
}
}
}
}