Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Мит зе инструктор! #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
11 changes: 11 additions & 0 deletions Resources/Locale/ru-RU/Ganimed/instructor.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
job-name-instructor = инструктор СБ
job-description-instructor = Обучайте кадетов и помогайте только что ставшим на должность офицерам. Ставьте двойки в дневник кадетам!
ent-InstructorPDA = КПК инструктора
.desc = Этот КПК специально создан что-бы ставить кадетам двойки!
ent-InstructorIDCard = ID карта инструктора
.desc = ID карта, специально для Джона Уика, а вернее для его учителя!
ent-LockerInstructor = шкаф инструктора
.desc = Шкафчик самого умного офицера
ent-LockerInstructorFilled = шкаф инструктора
.desc = Шкафчик самого умного офицера
ent-SpawnPointSecurityInstructor = инструктор
1 change: 1 addition & 0 deletions Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,4 @@
- Chapel
- Hydroponics
- Atmospherics
- Instructor
5 changes: 5 additions & 0 deletions Resources/Prototypes/Access/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
id: Detective
name: id-card-access-level-detective

- type: accessLevel
id: Instructor
name: id-card-access-level-instructor

- type: accessGroup
id: Security
tags:
Expand All @@ -26,6 +30,7 @@
- Armory
- Brig
- Detective
- Instructor

- type: accessGroup
id: Armory
Expand Down
21 changes: 21 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,27 @@
- id: ClothingOuterCoatSecurityOvercoat # Corvax-SecFashion
prob: 0.2

- type: entity
id: LockerInstructorFilled
suffix: Filled
parent: LockerInstructor
components:
- type: StorageFill
contents:
- id: FlashlightSeclite
- id: ClothingUniformJumpsuitSecBlue
- id: ClothingHeadHelmetHelmet
- id: ClothingOuterVestWeb
- id: ClothingBeltSecurityFilled
- id: Flash
- id: ClothingEyesGlassesSecurity
- id: ClothingHeadsetAltSecurity
- id: ClothingHandsGlovesColorBlack
- id: ClothingShoesBootsJackSec
- id: ClothingOuterCoatSecurityOvercoat
- id: ClothingNeckTieDet
- id: ClothingHeadHatBeret

- type: entity
id: LockerBrigmedicFilled
suffix: Brigmedic, Filled
Expand Down
12 changes: 12 additions & 0 deletions Resources/Prototypes/Entities/Markers/Spawners/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,18 @@
- state: green
- state: detective

- type: entity
id: SpawnPointSecurityInstructor
parent: SpawnPointJobBase
name: instructor
components:
- type: SpawnPoint
job_id: Instructor
- type: Sprite
layers:
- state: green
- state: security_officer

- type: entity
id: SpawnPointBrigmedic
parent: SpawnPointJobBase
Expand Down
20 changes: 19 additions & 1 deletion Resources/Prototypes/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,25 @@
- Write
- type: Icon
state: pda-security


- type: entity
parent: BasePDA
id: InstructorPDA
name: instructor PDA
description: This PDA is specially created to give cadets deuces!.
components:
- type: PDA
id: InstructorIDCard
state: pda-security
penSlot:
startingItem: SecPen
priority: -1
whitelist:
tags:
- Write
- type: Icon
state: pda-security

- type: entity
parent: BasePDA
id: BlueShieldPDA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,19 @@
- type: PresetIdCard
job: Detective

- type: entity
parent: IDCardStandard
id: InstructorIDCard
name: instructor ID card
description: ID Card, definitely for Jonah Wicki, and most importantly for your teacher!
components:
- type: Sprite
layers:
- state: default
- state: idinstructor
- type: PresetIdCard
job: Instructor

- type: entity
parent: CentcomIDCard
id: CBURNIDcard
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,21 @@
- type: AccessReader
access: [["Armory"]]

# Instructor
- type: entity
id: LockerInstructor
parent: LockerBaseSecure
name: Instructor's locker
description: The locker of the smartest officer
components:
- type: Appearance
- type: EntityStorageVisuals
stateBaseClosed: warden
stateDoorOpen: warden_open
stateDoorClosed: warden_door
- type: AccessReader
access: [["Instructor"]]

# Brigmedic
- type: entity
id: LockerBrigmedic
Expand Down
40 changes: 40 additions & 0 deletions Resources/Prototypes/Ganimed/Roles/security_trainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
- type: job
id: Instructor
name: job-name-instructor
description: job-description-instructor
playTimeTracker: JobInstructor
requirements:
- !type:DepartmentTimeRequirement
department: Security
time: 25200 # Ganimed-RoleTime (420m)
startingGear: InstructorGear
icon: "SecurityInstructor"
requireAdminNotify: true
supervisors: job-supervisors-hos
canBeAntag: false
access:
- Security
- Armory
- Maintenance
- Service
- Brig
- External
- Instructor

- type: startingGear
id: InstructorGear
equipment:
head: ClothingHeadHatBeret
neck: ClothingNeckTieDet
jumpsuit: ClothingUniformJumpsuitSecBlue
back: ClothingBackpackSecurityFilled
shoes: ClothingShoesBootsJackSec
eyes: ClothingEyesGlassesSecurity
outerClothing: ClothingOuterVestWeb
id: InstructorPDA
ears: ClothingHeadsetAltSecurity
belt: ClothingBeltSecurityFilled
gloves: ClothingHandsGlovesBlack
innerclothingskirt: ClothingUniformJumpsuitSecBlue
satchel: ClothingBackpackSatchelSecurityFilled
duffelbag: ClothingBackpackDuffelSecurityFilled
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Service
- External
- Detective
- Instructor

- type: startingGear
id: HoSGear
Expand Down
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
- SecurityOfficer
- Detective
- Warden
- Instructor

- type: department
id: Science
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Roles/play_time_trackers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,6 @@

- type: playTimeTracker
id: JobBlueShield

- type: playTimeTracker
id: JobInstructor
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 @@ -150,6 +150,9 @@
},
{
"name": "Zookeeper"
},
{
"name": "SecurityInstructor"
}
]
}
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 @@ -175,6 +175,9 @@
{
"name": "idblueshield"
},
{
"name": "idinstructor"
},
{
"name": "orange"
},
Expand Down