Sentry turrets - Part 3: Turret AI (#35058)
* Initial commit * Updated Access/command.yml * Fix for Access/AccessLevelPrototype.cs * Added silicon access levels to admin items * Included self-recharging battery changes * Revert "Included self-recharging battery changes" * Addressed reviewers comments * Additional reviewer comments
This commit is contained in:
@@ -15,9 +15,15 @@ namespace Content.Shared.Access
|
||||
/// <summary>
|
||||
/// The player-visible name of the access level, in the ID card console and such.
|
||||
/// </summary>
|
||||
[DataField("name")]
|
||||
[DataField]
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Denotes whether this access level is intended to be assignable to a crew ID card.
|
||||
/// </summary>
|
||||
[DataField]
|
||||
public bool CanAddToIdCard = true;
|
||||
|
||||
public string GetAccessLevelName()
|
||||
{
|
||||
if (Name is { } name)
|
||||
|
||||
Reference in New Issue
Block a user