Implement ID card slot and ID card description that states the owner and his job in preparation for identity system

This commit is contained in:
Alex Noir
2017-12-14 22:57:42 +03:00
parent 58e98977df
commit 760452170e
10 changed files with 42 additions and 27 deletions
@@ -591,7 +591,7 @@ namespace Barotrauma
{
AnimController = new HumanoidAnimController(this, doc.Root.Element("ragdoll"));
AnimController.TargetDir = Direction.Right;
inventory = new CharacterInventory(16, this);
inventory = new CharacterInventory(17, this);
}
else
{
@@ -130,6 +130,7 @@ namespace Barotrauma
{
item.AddTag(s);
}
item.Description = "This belongs to " + character.Name + ", the " + Name + ".";
}
if (parentItem != null) parentItem.Combine(item);