From 76cd74024b50b54ac64ad00d5bfd9cbd7da65acc Mon Sep 17 00:00:00 2001 From: Dvir Date: Tue, 23 Jan 2024 16:14:04 +0200 Subject: [PATCH] Job Requirements. --- .../Roles/Jobs/Security/senior_officer.yml | 2 +- .../Prototypes/_NF/Maps/Outpost/frontier.yml | 4 +-- .../Prototypes/_NF/Markers/Spawners/jobs.yml | 26 +++++++++++++++++++ .../Prototypes/_NF/Roles/Jobs/Command/stc.yml | 5 +++- 4 files changed, 33 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/Roles/Jobs/Security/senior_officer.yml b/Resources/Prototypes/Roles/Jobs/Security/senior_officer.yml index d624f95bddc..07fb74c34b6 100644 --- a/Resources/Prototypes/Roles/Jobs/Security/senior_officer.yml +++ b/Resources/Prototypes/Roles/Jobs/Security/senior_officer.yml @@ -15,7 +15,7 @@ time: 21600 #6 hrs - !type:DepartmentTimeRequirement department: Security - time: 216000 # 60 hrs + time: 72000 # 20 hrs startingGear: SeniorOfficerGear icon: "JobIconSeniorOfficer" supervisors: job-supervisors-hos diff --git a/Resources/Prototypes/_NF/Maps/Outpost/frontier.yml b/Resources/Prototypes/_NF/Maps/Outpost/frontier.yml index 17dc5ea8e6c..8704aac3a2d 100644 --- a/Resources/Prototypes/_NF/Maps/Outpost/frontier.yml +++ b/Resources/Prototypes/_NF/Maps/Outpost/frontier.yml @@ -25,10 +25,10 @@ Brigmedic: [ 0, 0 ] SecurityOfficer: [ 0, 0 ] SecurityCadet: [ 0, 0 ] - StationTrafficController: [ 0, 0 ] + StationTrafficController: [ 1, 1 ] Valet: [ 1, 1 ] Janitor: [ 1, 1 ] - MailCarrier: [ 0, 0 ] + MailCarrier: [ 1, 1 ] # Others: Borg: [ 0, 0 ] Musician: [ 0, 0 ] diff --git a/Resources/Prototypes/_NF/Markers/Spawners/jobs.yml b/Resources/Prototypes/_NF/Markers/Spawners/jobs.yml index 08291492756..3082bfd3885 100644 --- a/Resources/Prototypes/_NF/Markers/Spawners/jobs.yml +++ b/Resources/Prototypes/_NF/Markers/Spawners/jobs.yml @@ -23,3 +23,29 @@ layers: - state: green - state: pilot + +- type: entity + id: SpawnPointStc + parent: SpawnPointJobBase + name: stc + components: + - type: SpawnPoint + job_id: Stc + - type: Sprite + sprite: _NF/Markers/jobs.rsi + layers: + - state: green + - state: stc + +- type: entity + id: SpawnPointSecurityGuard + parent: SpawnPointJobBase + name: stastion + components: + - type: SpawnPoint + job_id: SecurityGuard + - type: Sprite + sprite: _NF/Markers/jobs.rsi + layers: + - state: green + - state: securityguard diff --git a/Resources/Prototypes/_NF/Roles/Jobs/Command/stc.yml b/Resources/Prototypes/_NF/Roles/Jobs/Command/stc.yml index fe90e391947..9ff92a0d55e 100644 --- a/Resources/Prototypes/_NF/Roles/Jobs/Command/stc.yml +++ b/Resources/Prototypes/_NF/Roles/Jobs/Command/stc.yml @@ -6,7 +6,10 @@ startingGear: StcGear requirements: - !type:OverallPlaytimeRequirement - time: 10800 + time: 72000 # 20 hours + - !type:DepartmentTimeRequirement + department: Security + time: 10800 # 3 hrs as sec also. canBeAntag: false icon: "JobIconStc" supervisors: job-supervisors-hop