]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
add crew monitor as traitor steal objective (#25563)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Mon, 26 Feb 2024 03:40:48 +0000 (03:40 +0000)
committerGitHub <noreply@github.com>
Mon, 26 Feb 2024 03:40:48 +0000 (22:40 -0500)
Resources/Prototypes/Entities/Objects/Specific/Medical/handheld_crew_monitor.yml
Resources/Prototypes/Objectives/objectiveGroups.yml
Resources/Prototypes/Objectives/stealTargetGroups.yml
Resources/Prototypes/Objectives/traitor.yml

index e2f7ceeb70c4329d499fab08fd01ceab81b98889..6dfe039cc0ce9748259dc723b686090e7223683e 100644 (file)
   - type: StationLimitedNetwork
   - type: StaticPrice
     price: 500
+  - type: Tag
+    tags:
+    - HighRiskItem
+  - type: StealTarget
+    stealGroup: HandheldCrewMonitor
 
 - type: entity
   id: HandheldCrewMonitorEmpty
index 7100fc34f3ad98560d00f140cbd7281cde00da65..abdc54fc5aaa65d68a1a8e86429a73d1892cec04 100644 (file)
@@ -12,6 +12,7 @@
   weights:
     CaptainIDStealObjective: 1
     CMOHyposprayStealObjective: 1
+    CMOCrewMonitorStealObjective: 1
     RDHardsuitStealObjective: 1
     NukeDiskStealObjective: 1
     MagbootsStealObjective: 1
index 028c7c1939704eb921d2f3e5e5c11b1e44e66fcf..d11478d1f9d25bae56f62e8eaa57da683700b469 100644 (file)
@@ -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
index 5a2d6880b898a99044a06d2d9a781dcb9b0195ac..6dc2ed46e798152a17458160cc6aceae3c3ce0cf 100644 (file)
 ## 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