Allow sub makers to alter the ID Card's description property on spawn points

This commit is contained in:
Alex Noir
2017-12-16 21:30:18 +03:00
parent 9a91480256
commit 8ab97af456
5 changed files with 38 additions and 3 deletions
@@ -132,6 +132,8 @@ namespace Barotrauma
}
item.AddTag("name:" + character.Name);
item.AddTag("job:" + Name);
if (!string.IsNullOrWhiteSpace(spawnPoint.IdCardDesc))
item.Description = spawnPoint.IdCardDesc;
}
if (parentItem != null) parentItem.Combine(item);