Allow sub makers to alter the ID Card's description property on spawn points
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user