Giving crew members an ID card with clearances based on spawnpoint, level collision bugfixes, level exit/enter "shafts", moar entity ID bugfixes

This commit is contained in:
Regalis
2015-07-09 20:33:53 +03:00
parent 2254585dac
commit 257835e609
25 changed files with 279 additions and 204 deletions
+10
View File
@@ -144,6 +144,11 @@ namespace Subsurface
get { return prefab.IsLinkable; }
}
public override string ToString()
{
return Name +"("+ID+")";
}
public List<IPropertyObject> AllPropertyObjects
{
get
@@ -322,6 +327,11 @@ namespace Subsurface
return CurrentHull;
}
public void AddTag(string tag)
{
if (tags.Contains(tag)) return;
tags.Add(tag);
}
public bool HasTag(string tag)
{