Add ERT time stats (#31629)
* add jobs for ghost roles * add job to ToggleableGhostRole * typo --------- Co-authored-by: Mota <belochuc@gmail.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using Content.Server.Ghost.Roles.Raffles;
|
||||
using Content.Server.Ghost.Roles.Raffles;
|
||||
using Content.Server.Mind.Commands;
|
||||
using Content.Shared.Roles;
|
||||
using Robust.Shared.Prototypes;
|
||||
|
||||
namespace Content.Server.Ghost.Roles.Components;
|
||||
|
||||
@@ -14,7 +15,6 @@ public sealed partial class GhostRoleComponent : Component
|
||||
|
||||
[DataField("rules")] private string _roleRules = "ghost-role-component-default-rules";
|
||||
|
||||
// TODO ROLE TIMERS
|
||||
// Actually make use of / enforce this requirement?
|
||||
// Why is this even here.
|
||||
// Move to ghost role prototype & respect CCvars.GameRoleTimerOverride
|
||||
@@ -99,4 +99,11 @@ public sealed partial class GhostRoleComponent : Component
|
||||
[DataField("raffle")]
|
||||
[Access(typeof(GhostRoleSystem), Other = AccessPermissions.ReadWriteExecute)] // FIXME Friends
|
||||
public GhostRoleRaffleConfig? RaffleConfig { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Job the entity will receive after adding the mind.
|
||||
/// </summary>
|
||||
[DataField("job")]
|
||||
[Access(typeof(GhostRoleSystem), Other = AccessPermissions.ReadWriteExecute)] // also FIXME Friends
|
||||
public ProtoId<JobPrototype>? JobProto = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user