VV attributes for Job and Role.

This commit is contained in:
Vera Aguilera Puerto
2021-12-14 00:22:43 +01:00
parent 2eca9a94d3
commit e3e1291e54
2 changed files with 10 additions and 0 deletions

View File

@@ -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)