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

CSS #6

Merged
merged 9 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
job-description-css = Lead the service department and make sure all things the crew needs are provided and made available when necessary.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Role name
job-name-css = chief service supervisor

# Role timers
JobChiefServiceSupervisor = chief service supervisor
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- ChiefMedicalOfficer
- HeadOfSecurity
- ResearchDirector
- ChiefServiceSupervisor
- Command
- Security
- Detective
Expand Down
5 changes: 5 additions & 0 deletions Resources/Prototypes/Access/service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,14 @@
id: Chapel
name: id-card-access-level-chapel

- type: accessLevel
id: ChiefServiceSupervisor
name: id-card-access-level-chief-service-supervisor

- type: accessGroup
id: Service
tags:
- ChiefServiceSupervisor
- HeadOfPersonnel
- Bar
- Kitchen
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
- Chef
- Clown
- HeadOfPersonnel
- ChiefServiceSupervisor
- Janitor
- Lawyer
- Librarian
Expand All @@ -41,6 +42,7 @@
roles:
- Captain
- CentralCommandOfficial
- ChiefServiceSupervisor
- ChiefEngineer
- ChiefMedicalOfficer
- HeadOfPersonnel
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- type: entity
id: LockerChiefServiceSupervisorFilled
suffix: Filled
parent: LockerChiefServiceSupervisor
components:
- type: StorageFill
contents:
- id: DoorRemoteService
- id: ClothingHandsGlovesColorWhite
- id: RubberStampCSS
- id: CigarGoldCase
prob: 0.35
- id: PenCSS
prob: 0.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: entity
parent: ClothingOuterStorageBase
id: ClothingOuterCoatCSS
name: css's suit jacket
description: A snazzy pinstripe jacket, fit for only the classiest of Heads.
components:
- type: Sprite
sprite: SimpleStation14/Clothing/OuterClothing/Coats/css_jacket.rsi
- type: Clothing
sprite: SimpleStation14/Clothing/OuterClothing/Coats/css_jacket.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: entity
parent: ClothingUniformSkirtBase
id: ClothingUniformJumpskirtCSS
name: chief service supervisor's jumpskirt
description: A sharp, green waistcoat. Smart, but flashy.
components:
- type: Sprite
sprite: SimpleStation14/Clothing/Uniforms/Jumpskirt/css.rsi
- type: Clothing
sprite: SimpleStation14/Clothing/Uniforms/Jumpskirt/css.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- type: entity
parent: ClothingUniformBase
id: ClothingUniformJumpsuitCSS
name: Chief Service Supervisor's jumpsuit
description: A sharp, green waistcoat. Smart, but flashy.
components:
- type: Sprite
sprite: SimpleStation14/Clothing/Uniforms/Jumpsuit/css.rsi
- type: Clothing
sprite: SimpleStation14/Clothing/Uniforms/Jumpsuit/css.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
- type: entity
id: SpawnPointChiefServiceSupervisor
parent: SpawnPointJobBase
name: chief service supervisor
components:
- type: SpawnPoint
job_id: ChiefServiceSupervisor
- type: Sprite
layers:
- state: green
- state: css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
parent: EncryptionKey
id: EncryptionKeyCSS
name: chief service supervisor encryption key
description: An encryption key used by the CSS.
components:
- type: EncryptionKey
channels:
- Command
- Common
- Service
defaultChannel: Service
- type: Sprite
layers:
- state: crypt_silver
- state: service_label
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
- type: entity
parent: BasePDA
id: CSSPDA
name: chief service supervisor PDA
description: Smells like pine and Febreze.
components:
- type: Pda
state: pda-css
id: CSSIDCard
penSlot:
startingItem: PenCSS
priority: -1
whitelist:
tags:
- Write
- type: Sprite
sprite: SimpleStation14/Objects/Devices/pda.rsi
netsync: false
- type: Icon
sprite: SimpleStation14/Objects/Devices/pda.rsi
state: pda-css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
parent: IDCardStandard
id: CSSIDCard
name: chief service supervisor ID card
components:
- type: Sprite
layers:
- state: silver
- state: idchiefservicesupervisor
- type: Item
heldPrefix: silver
- type: PresetIdCard
job: ChiefServiceSupervisor
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
- type: entity
name: css's fountain pen
parent: Pen
id: PenCSS
description: 'A luxurious fountain pen for the CSS of the station.'
components:
- type: Sprite
sprite: SimpleStation14/Objects/Misc/bureaucracy.rsi
state: pen_css

- type: entity
name: chief service supervisor's rubber stamp
parent: RubberStampMime
id: RubberStampCSS
components:
- type: Stamp
stampedName: "Chief Service Supervisor"
stampState: "paper_stamp-css"
- type: Sprite
sprite: Objects/Misc/bureaucracy.rsi
state: stamp-css

- type: entity
name: note
description: 'A piece of white paper.'
id: PaperWrittenPunpunNote
parent: PaperCaptainsThoughts
suffix: "Punpun Note"
components:
- type: Paper
content: |
I, Punpun, invoke my right to have all of my clones on the NT family vacation to the meat packaging plant one out of every 15 shifts.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
- type: entity
parent: AirlockCommand
id: AirlockChiefServiceSupervisorLocked
suffix: ChiefServiceSupervisor, Locked
components:
- type: AccessReader
access: [["ChiefServiceSupervisor"]]

- type: entity
parent: AirlockCommandGlass
id: AirlockChiefServiceSupervisorGlassLocked
suffix: ChiefServiceSupervisor, Locked
components:
- type: AccessReader
access: [["ChiefServiceSupervisor"]]

- type: entity
parent: AirlockMaint
id: AirlockMaintCSSLocked
suffix: ChiefServiceSupervisor, Locked
components:
- type: AccessReader
access: [["ChiefServiceSupervisor"]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
id: LockerChiefServiceSupervisor
parent: LockerBooze
name: chief service supervisor's locker
components:
- type: Sprite
sprite: SimpleStation14/Structures/Storage/closet.rsi
- type: EntityStorageVisuals
stateBaseClosed: css_cabinet
stateDoorOpen: css_cabinet_open
stateDoorClosed: css_cabinet_door
- type: AccessReader
access: [["ChiefServiceSupervisor"]]
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: job
id: ChiefServiceSupervisor
name: job-name-css
description: job-description-css
playTimeTracker: JobChiefServiceSupervisor
requirements:
- !type:DepartmentTimeRequirement
department: Civilian
time: 21600
- !type:OverallPlaytimeRequirement
time: 86400
- !type:WhitelistRequirement
weight: 10
startingGear: CSSGear
icon: "JobIconCSS"
requireAdminNotify: true
supervisors: job-supervisors-cc
canBeAntag: false
antagAdvantage: 6
access:
- Command
- ChiefServiceSupervisor
- Bar
- Service
- Mail
- Cargo
- Maintenance
- Janitor
- Theatre
- Kitchen
- Hydroponics
special:
- !type:AddComponentSpecial
components:
- type: PsionicBonusChance
flatBonus: 0.025

- type: startingGear
id: CSSGear
equipment:
jumpsuit: ClothingUniformJumpsuitCSS
back: ClothingBackpackFilled
outerClothing: ClothingOuterCoatCSS
shoes: ClothingShoesBootsLaceup
id: CSSPDA
ears: ClothingHeadsetAltService
innerClothingSkirt: ClothingUniformJumpskirtCSS
satchel: ClothingBackpackSatchelFilled
duffelbag: ClothingBackpackDuffelFilled
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- type: playTimeTracker
id: JobChiefServiceSupervisor
6 changes: 6 additions & 0 deletions Resources/Prototypes/SimpleStation14/StatusEffects/job.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- type: statusIcon
parent: JobIcon
id: JobIconCSS
icon:
sprite: Interface/Misc/job_icons.rsi
state: ChiefServiceSupervisor
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Resources/Textures/Clothing/Ears/Headsets/service.rsi/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@
{
"name": "icon"
},
{
"name": "icon_alt"
},
{
"name": "equipped-EARS",
"directions": 4
},
{
"name": "alt-equipped-EARS",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Resources/Textures/Interface/Misc/job_icons.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
{
"name": "ChiefMedicalOfficer"
},
{
"name": "ChiefServiceSupervisor"
},
{
"name": "Roboticist"
},
Expand Down
Binary file added Resources/Textures/Markers/jobs.rsi/css.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Resources/Textures/Markers/jobs.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
{
"name": "cmo"
},
{
"name": "css"
},
{
"name": "clown"
},
Expand Down
3 changes: 3 additions & 0 deletions Resources/Textures/Objects/Misc/bureaucracy.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@
{
"name": "stamp-cmo"
},
{
"name": "stamp-css"
},
{
"name": "stamp-deny"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Resources/Textures/Objects/Misc/id_cards.rsi/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@
{
"name": "idchiefmedicalofficer"
},
{
"name": "idchiefservicesupervisor"
},
{
"name": "idclown"
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/4f6190e2895e09116663ef282d3ce1d8b35c032e",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-OUTERCLOTHING",
"directions": 4
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
}
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading