Show / Hide Table of Contents

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 Source

CommandCheck

When the round will if all the command are dead (Incase they are in space)

Declaration
public TimeSpan CommandCheck
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

HeadRevs

Stores players minds

Declaration
public Dictionary<string, EntityUid> HeadRevs
Field Value
Type Description
Dictionary<System.String, EntityUid>
| Improve this Doc View Source

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
| Improve this Doc View Source

MaxHeadRevs

Max Head Revs allowed during selection.

Declaration
public int MaxHeadRevs
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MinPlayers

Min players needed for Revolutionary gamemode to start.

Declaration
public int MinPlayers
Field Value
Type Description
System.Int32
| Improve this Doc View Source

PlayersPerHeadRev

The amount of Head Revs that will spawn per this amount of players.

Declaration
public int PlayersPerHeadRev
Field Value
Type Description
System.Int32
| Improve this Doc View Source

RevPrototypeId

Declaration
public ProtoId<AntagPrototype> RevPrototypeId
Field Value
Type Description
Robust.Shared.Prototypes.ProtoId<AntagPrototype>
| Improve this Doc View Source

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
| Improve this Doc View Source

StartingGear

The gear head revolutionaries are given on spawn.

Declaration
public List<EntProtoId> StartingGear
Field Value
Type Description
List<Robust.Shared.Prototypes.EntProtoId>
| Improve this Doc View Source

TimerWait

The amount of time between each check for command check.

Declaration
public TimeSpan TimerWait
Field Value
Type Description
TimeSpan
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾