Class RevolutionaryRuleComponent
Component for the RevolutionaryRuleSystem that stores info about winning/losing, player counts required for starting, as well as prototypes for Revolutionaries and their gear.
Inheritance
System.Object
RevolutionaryRuleComponent
Namespace: Content.Server.GameTicking.Rules.Components
Assembly: Content.Server.dll
Syntax
public sealed class RevolutionaryRuleComponent : Component
Fields
| Improve this Doc View SourceCommandCheck
When the round will if all the command are dead (Incase they are in space)
Declaration
public TimeSpan CommandCheck
Field Value
Type | Description |
---|---|
TimeSpan |
HeadRevs
Stores players minds
Declaration
public Dictionary<string, EntityUid> HeadRevs
Field Value
Type | Description |
---|---|
Dictionary<System.String, EntityUid> |
HeadRevStartSound
Sound that plays when you are chosen as Rev. (Placeholder until I find something cool I guess)
Declaration
public SoundSpecifier HeadRevStartSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
MaxHeadRevs
Max Head Revs allowed during selection.
Declaration
public int MaxHeadRevs
Field Value
Type | Description |
---|---|
System.Int32 |
MinPlayers
Min players needed for Revolutionary gamemode to start.
Declaration
public int MinPlayers
Field Value
Type | Description |
---|---|
System.Int32 |
PlayersPerHeadRev
The amount of Head Revs that will spawn per this amount of players.
Declaration
public int PlayersPerHeadRev
Field Value
Type | Description |
---|---|
System.Int32 |
RevPrototypeId
Declaration
public ProtoId<AntagPrototype> RevPrototypeId
Field Value
Type | Description |
---|---|
Robust.Shared.Prototypes.ProtoId<AntagPrototype> |
ShuttleCallTime
The time it takes after the last head is killed for the shuttle to arrive.
Declaration
public TimeSpan ShuttleCallTime
Field Value
Type | Description |
---|---|
TimeSpan |
StartingGear
The gear head revolutionaries are given on spawn.
Declaration
public List<EntProtoId> StartingGear
Field Value
Type | Description |
---|---|
List<Robust.Shared.Prototypes.EntProtoId> |
TimerWait
The amount of time between each check for command check.
Declaration
public TimeSpan TimerWait
Field Value
Type | Description |
---|---|
TimeSpan |