Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security Guard Job & STC/MailCarrier Spawn and Requirement change #903

Merged
merged 12 commits into from
Jan 24, 2024
Merged
3 changes: 2 additions & 1 deletion Resources/Locale/en-US/_NF/job/job-description.ftl
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
job-description-mercenary = Execute the bidding of anyone- for the right price. Enjoy being unbound from the confines of the law.
job-description-stc = Expertly de-conflict the space around the station and help the NFSD issue fines for overdocked ships.
job-description-pilot = Pilot spaceships from point A to B, outmaneuver pirates and dodge asteroids. You are a leaf on the solar wind, let others marvel at how you soar.
job-description-security-guard = Patrol the empty halls, whistle simple tunes you heard on radio, jingle your keychain and scurry away at the sight of danger.
job-description-stc = Expertly de-conflict the space around the station and help the NFSD issue fines for overdocked ships.
6 changes: 4 additions & 2 deletions Resources/Locale/en-US/_NF/job/job-names.ftl
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
job-name-mercenary = Mercenary
job-name-stc = Station Traffic Controller
job-name-pilot = Pilot
job-name-security-guard = Security Guard
job-name-stc = Station Traffic Controller

# Role timers - Make these alphabetical or I cut you
JobMercenary = Mercenary
JobSTC = Station Traffic Controller
JobPilot = Pilot
JobSecurityGuard = Security Guard
JobSTC = Station Traffic Controller
6 changes: 2 additions & 4 deletions Resources/Locale/en-US/_NF/prototypes/access/accesses.ftl
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
id-card-access-level-frontier = Station Traffic Controller

id-card-access-level-mercenary = Mercenary

id-card-access-level-frontier = Frontier
id-card-access-level-pilot = Pilot
id-card-access-level-mercenary = Mercenary
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# ParamedicPDA: 3 # Frontier
# ChemistryPDA: 3 # Frontier
# CMOPDA: 3 # Frontier
SecurityGuardPDA: 3 # Frontier
SecurityPDA: 3 # Frontier
BrigmedicPDA: 3 # Frontier
WardenPDA: 3 # Frontier
Expand Down
4 changes: 2 additions & 2 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -795,8 +795,8 @@
- ClothingUniformJumpskirtBrigmedic
- ClothingUniformJumpsuitWarden
- ClothingUniformJumpskirtWarden
- ClothingUniformJumpsuitSecStationGuard #Frontier
- ClothingUniformJumpskirtSecStationGuard #Frontier
- ClothingUniformJumpsuitSecGuard #Frontier
- ClothingUniformJumpskirtSecGuard #Frontier
- ClothingOuterWinterCap
- ClothingOuterWinterCE
- ClothingOuterWinterCMO
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@
- MartialArtist
- MailCarrier
- Gladiator
- Mercenary ## NF Job below
- StationTrafficController

- Mercenary # Frontier
- Pilot # Frontier
- StationTrafficController # Frontier

- type: department
id: Command
Expand Down Expand Up @@ -89,6 +89,7 @@
- PrisonGuard ##nyano
- Prisoner ##nyano
- Brigmedic
- SecurityGuard # Frontier
dvir001 marked this conversation as resolved.
Show resolved Hide resolved

- type: department
id: Science
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@

- type: entity
parent: ClothingUniformSkirtBase
id: ClothingUniformJumpskirtSecStationGuard
name: station guard jumpskirt
description: A specialized uniform for a Frontier Outpost guard. Crisp and official to let dock loiterers know you mean business.
id: ClothingUniformJumpskirtSecGuard
name: security guard jumpskirt
description: A specialized uniform for a security guard. Crisp and official to let dock loiterers know you mean business.
components:
- type: Sprite
sprite: _NF/Clothing/Uniforms/Jumpskirt/security_stationguard.rsi
sprite: _NF/Clothing/Uniforms/Jumpskirt/security_guard.rsi
- type: Clothing
sprite: _NF/Clothing/Uniforms/Jumpskirt/security_stationguard.rsi
sprite: _NF/Clothing/Uniforms/Jumpskirt/security_guard.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@

- type: entity
parent: ClothingUniformBase
id: ClothingUniformJumpsuitSecStationGuard
name: station guard jumpsuit
description: A specialized uniform for a Frontier Outpost guard. Crisp and official to let dock loiterers know you mean business.
id: ClothingUniformJumpsuitSecGuard
name: security guard jumpsuit
description: A specialized uniform for a security guard. Crisp and official to let dock loiterers know you mean business.
components:
- type: Sprite
sprite: _NF/Clothing/Uniforms/Jumpsuit/security_stationguard.rsi
sprite: _NF/Clothing/Uniforms/Jumpsuit/security_guard.rsi
- type: Clothing
sprite: _NF/Clothing/Uniforms/Jumpsuit/security_stationguard.rsi
sprite: _NF/Clothing/Uniforms/Jumpsuit/security_guard.rsi

- type: entity
parent: ClothingUniformBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,11 @@
sprite: _NF/Objects/Misc/id_cards.rsi
- type: Item
heldPrefix: silver

- type: entity
parent: SecurityIDCard
id: SecurityGuardIDCard
name: security guard ID card
components:
- type: PresetIdCard
job: SecurityGuard
14 changes: 14 additions & 0 deletions Resources/Prototypes/_NF/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,17 @@
accentVColor: "#A32D26"
- type: Icon
state: pda

- type: entity
parent: SecurityPDA
id: SecurityGuardPDA
name: security guard PDA
description: Red to hide the stains of passenger blood.
components:
- type: Pda
id: SecurityGuardIDCard
state: pda-security
- type: PdaBorderColor
borderColor: "#A32D26"
- type: Icon
state: pda-security
5 changes: 3 additions & 2 deletions Resources/Prototypes/_NF/Maps/Outpost/frontier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
Passenger: [ -1, -1 ]
HeadOfPersonnel: [ 1, 1 ]
HeadOfSecurity: [ 1, 1 ]
SecurityGuard: [ 1, 1 ]
SeniorOfficer: [ 0, 0 ]
Brigmedic: [ 0, 0 ]
SecurityOfficer: [ 0, 0 ]
SecurityCadet: [ 0, 0 ]
StationTrafficController: [ 0, 0 ]
StationTrafficController: [ 1, 1 ]
Valet: [ 1, 1 ]
MailCarrier: [ 0, 0 ]
Janitor: [ 1, 1 ]
MailCarrier: [ 1, 1 ]
# Others:
Borg: [ 0, 0 ]
Musician: [ 0, 0 ]
Expand Down
26 changes: 26 additions & 0 deletions Resources/Prototypes/_NF/Markers/Spawners/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: security guard
components:
- type: SpawnPoint
job_id: SecurityGuard
- type: Sprite
sprite: _NF/Markers/jobs.rsi
layers:
- state: green
- state: securityguard
10 changes: 5 additions & 5 deletions Resources/Prototypes/_NF/Recipes/Construction/clothing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
objectType: Item

- type: latheRecipe
id: ClothingUniformJumpskirtSecStationGuard
result: ClothingUniformJumpskirtSecStationGuard
id: ClothingUniformJumpskirtSecGuard
result: ClothingUniformJumpskirtSecGuard
completetime: 4
materials:
Cloth: 300

- type: latheRecipe
id: ClothingUniformJumpsuitSecStationGuard
result: ClothingUniformJumpsuitSecStationGuard
id: ClothingUniformJumpsuitSecGuard
result: ClothingUniformJumpsuitSecGuard
completetime: 4
materials:
Cloth: 300
5 changes: 4 additions & 1 deletion Resources/Prototypes/_NF/Roles/Jobs/Command/stc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
startingGear: StcGear
requirements:
- !type:OverallPlaytimeRequirement
time: 10800
time: 72000 # 20 hrs
- !type:DepartmentTimeRequirement
department: Security
time: 10800 # 3 hrs as sec
canBeAntag: false
icon: "JobIconStc"
supervisors: job-supervisors-hop
Expand Down
42 changes: 42 additions & 0 deletions Resources/Prototypes/_NF/Roles/Jobs/Security/security_guard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
- type: job
id: SecurityGuard
name: job-name-security-guard
description: job-description-security-guard
playTimeTracker: JobSecurityGuard
requirements:
- !type:OverallPlaytimeRequirement
time: 36000 # Frontier - 10 hrs
startingGear: SecurityGuardGear
icon: "JobIconSecurityGuard"
supervisors: job-supervisors-hop # not hos
canBeAntag: false
access:
- Security
- Brig
- Maintenance
- Service
- External
- Mercenary # Frontier
- Captain # Frontier
- Frontier # Frontier
special:
- !type:AddImplantSpecial
implants: [ MindShieldImplant, TrackingImplant ]

- type: startingGear
id: SecurityGuardGear
equipment:
jumpsuit: ClothingUniformJumpsuitSecGuard
back: ClothingBackpackSecurityFilled
shoes: ClothingShoesLeather #ClothingShoesBootsCombatFilled
eyes: ClothingEyesGlassesSunglasses #ClothingEyesGlassesSecurity
head: ClothingHeadHatBeretSecurity #ClothingHeadHelmetBasic
outerClothing: ClothingOuterArmorBasic
id: SecurityGuardPDA
ears: ClothingHeadsetSecurity
belt: ClothingBeltSecurityFilled
pocket1: WeaponPistolMk58Nonlethal
gloves: ClothingHandsGlovesCombat # Frontier
innerClothingSkirt: ClothingUniformJumpskirtSecGuard
satchel: ClothingBackpackSatchelSecurityFilled
duffelbag: ClothingBackpackDuffelSecurityFilled
7 changes: 5 additions & 2 deletions Resources/Prototypes/_NF/Roles/play_time_trackers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
id: JobMercenary

- type: playTimeTracker
id: JobStc
id: JobPilot

- type: playTimeTracker
id: JobPilot
id: JobSecurityGuard

- type: playTimeTracker
id: JobStc
7 changes: 7 additions & 0 deletions Resources/Prototypes/_NF/StatusEffects/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
sprite: _NF/Interface/Misc/job_icons.rsi
state: Pilot

- type: statusIcon
parent: JobIcon
id: JobIconSecurityGuard
icon:
sprite: Interface/Misc/job_icons.rsi
state: SecurityOfficer

- type: statusIcon
parent: JobIcon
id: JobIconStc
Expand Down
6 changes: 6 additions & 0 deletions Resources/Textures/_NF/Markers/jobs.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
},
{
"name": "pilot"
},
{
"name": "securityguard"
},
{
"name": "stc"
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Resources/Textures/_NF/Markers/jobs.rsi/stc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading