From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Mon, 26 Feb 2024 03:40:48 +0000 (+0000) Subject: add crew monitor as traitor steal objective (#25563) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=002b8d88711aa6395c5e054c3aa9bd163f74799e;p=space-station-14.git add crew monitor as traitor steal objective (#25563) --- diff --git a/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml b/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml index e2f7ceeb70..6dfe039cc0 100644 --- a/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml +++ b/Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml @@ -31,6 +31,11 @@ - type: StationLimitedNetwork - type: StaticPrice price: 500 + - type: Tag + tags: + - HighRiskItem + - type: StealTarget + stealGroup: HandheldCrewMonitor - type: entity id: HandheldCrewMonitorEmpty diff --git a/Resources/Prototypes/Objectives/objectiveGroups.yml b/Resources/Prototypes/Objectives/objectiveGroups.yml index 7100fc34f3..abdc54fc5a 100644 --- a/Resources/Prototypes/Objectives/objectiveGroups.yml +++ b/Resources/Prototypes/Objectives/objectiveGroups.yml @@ -12,6 +12,7 @@ weights: CaptainIDStealObjective: 1 CMOHyposprayStealObjective: 1 + CMOCrewMonitorStealObjective: 1 RDHardsuitStealObjective: 1 NukeDiskStealObjective: 1 MagbootsStealObjective: 1 diff --git a/Resources/Prototypes/Objectives/stealTargetGroups.yml b/Resources/Prototypes/Objectives/stealTargetGroups.yml index 028c7c1939..d11478d1f9 100644 --- a/Resources/Prototypes/Objectives/stealTargetGroups.yml +++ b/Resources/Prototypes/Objectives/stealTargetGroups.yml @@ -7,6 +7,13 @@ sprite: Objects/Specific/Medical/hypospray.rsi state: hypo +- type: stealTargetGroup + id: HandheldCrewMonitor + name: handheld crew monitor + sprite: + sprite: Objects/Specific/Medical/handheldcrewmonitor.rsi + state: scanner + - type: stealTargetGroup id: ClothingOuterHardsuitRd name: experimental research hardsuit diff --git a/Resources/Prototypes/Objectives/traitor.yml b/Resources/Prototypes/Objectives/traitor.yml index 5a2d6880b8..6dc2ed46e7 100644 --- a/Resources/Prototypes/Objectives/traitor.yml +++ b/Resources/Prototypes/Objectives/traitor.yml @@ -147,35 +147,58 @@ ## cmo - type: entity - noSpawn: true + abstract: true parent: BaseTraitorStealObjective - id: CMOHyposprayStealObjective + id: BaseCMOStealObjective components: - type: NotJobRequirement job: ChiefMedicalOfficer - type: StealCondition - stealGroup: Hypospray owner: job-name-cmo -## rd +- type: entity + noSpawn: true + parent: BaseCMOStealObjective + id: CMOHyposprayStealObjective + components: + - type: StealCondition + stealGroup: Hypospray - type: entity noSpawn: true + parent: BaseCMOStealObjective + id: CMOCrewMonitorStealObjective + components: + - type: StealCondition + stealGroup: HandheldCrewMonitor + +## rd + +- type: entity + abstract: true parent: BaseTraitorStealObjective + id: BaseRDStealObjective + components: + - type: NotJobRequirement + job: ResearchDirector + - type: StealCondition + owner: job-name-rd + +- type: entity + noSpawn: true + parent: BaseRDStealObjective id: RDHardsuitStealObjective components: - type: StealCondition stealGroup: ClothingOuterHardsuitRd - owner: job-name-rd - type: entity noSpawn: true - parent: BaseTraitorStealObjective + parent: BaseRDStealObjective id: HandTeleporterStealObjective components: - type: StealCondition stealGroup: HandTeleporter - owner: job-name-rd ## hos