--- /dev/null
+namespace Content.Server.Antag.Components;
+
+[RegisterComponent]
+public partial class AntagImmuneComponent : Component
+{
+
+}
+++ /dev/null
-namespace Content.Server.Zombies;
-
-[RegisterComponent]
-public sealed partial class InitialInfectedExemptComponent : Component
-{
-
-}
roles-antag-syndicate-agent-name = Syndicate agent
roles-antag-syndicate-agent-objective = Complete your objectives without being caught.
+roles-antag-syndicate-agent-sleeper-name = Syndicate sleeper agent
+roles-antag-syndicate-agent-sleeper-objective = A form of syndicate agent that can activate at any point in the middle of the shift.
+
roles-antag-initial-infected-name = Initial Infected
roles-antag-initial-infected-objective = Once you turn, infect as many other crew members as possible.
parent: EventHumanoid
components:
- type: MindShield
- - type: InitialInfectedExempt
+ - type: AntagImmune
## Death Squad
- NamesLastMilitary
- type: RandomHumanoidSpawner
settings: DeathSquad
- - type: InitialInfectedExempt
- type: randomHumanoidSettings
id: DeathSquad
- NamesLastMilitary
- type: RandomHumanoidSpawner
settings: ERTLeader
- - type: InitialInfectedExempt
- type: randomHumanoidSettings
id: ERTLeader
state: ertleadereva
- type: RandomHumanoidSpawner
settings: ERTLeaderEVA
- - type: InitialInfectedExempt
- type: randomHumanoidSettings
id: ERTLeaderEVA
components:
- type: RandomHumanoidSpawner
settings: ERTLeaderEVALecter
- - type: InitialInfectedExempt
- type: randomHumanoidSettings
id: ERTLeaderEVALecter
state: cburn
- type: RandomHumanoidSpawner
settings: CBURNAgent
- - type: InitialInfectedExempt
- type: randomHumanoidSettings
id: CBURNAgent
nameSegments:
- NamesFirstMilitary
- NamesLastMilitary
+
## Central Command
- type: entity
state: centcom
- type: RandomHumanoidSpawner
settings: CentcomOfficial
- - type: InitialInfectedExempt
- type: randomHumanoidSettings
id: CentcomOfficial
blacklist:
components:
- ZombieImmune
- - InitialInfectedExempt
+ - AntagImmune
briefing:
text: zombie-patientzero-role-greeting
color: Plum
- type: entity
parent: BaseTraitorRule
- id: SleeperAgentsRule
+ id: SleeperAgents
components:
- type: StationEvent
earliestStart: 30
- type: AlertLevelInterceptionRule
- type: AntagSelection
definitions:
- - prefRoles: [ Traitor ]
+ - prefRoles: [ TraitorSleeper ]
+ fallbackRoles: [ Traitor ]
min: 1
max: 2
playerRatio: 10
+ blacklist:
+ components:
+ - AntagImmune
mindComponents:
- type: TraitorRole
- prototype: Traitor
+ prototype: TraitorSleeper
- type: entity
id: MassHallucinations
- prefRoles: [ Traitor ]
max: 8
playerRatio: 10
+ blacklist:
+ components:
+ - AntagImmune
lateJoinAdditional: true
mindComponents:
- type: TraitorRole
blacklist:
components:
- ZombieImmune
- - InitialInfectedExempt
+ - AntagImmune
briefing:
text: zombie-patientzero-role-greeting
color: Plum
objective: roles-antag-syndicate-agent-objective
guides: [ Traitors ]
+- type: antag
+ id: TraitorSleeper
+ name: roles-antag-syndicate-agent-sleeper-name
+ antagonist: true
+ setPreference: true
+ objective: roles-antag-syndicate-agent-sleeper-objective
+
# Syndicate Operative Outfit - Monkey
- type: startingGear
id: SyndicateOperativeGearMonkey