VV attributes for Job and Role.
This commit is contained in:
@@ -2,18 +2,23 @@ using Content.Server.Chat.Managers;
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Shared.IoC;
|
||||
using Robust.Shared.Localization;
|
||||
using Robust.Shared.ViewVariables;
|
||||
|
||||
namespace Content.Server.Roles
|
||||
{
|
||||
public class Job : Role
|
||||
{
|
||||
[ViewVariables]
|
||||
public JobPrototype Prototype { get; }
|
||||
|
||||
public override string Name { get; }
|
||||
|
||||
public override bool Antagonist => false;
|
||||
|
||||
[ViewVariables]
|
||||
public string? StartingGear => Prototype.StartingGear;
|
||||
|
||||
[ViewVariables]
|
||||
public bool CanBeAntag;
|
||||
|
||||
public Job(Mind.Mind mind, JobPrototype jobPrototype) : base(mind)
|
||||
|
||||
Reference in New Issue
Block a user