Skip to content

Commit

Permalink
add new role Brig Engener
Browse files Browse the repository at this point in the history
  • Loading branch information
CrimeMoot authored Dec 17, 2024
1 parent ec2ac1f commit 1a5b668
Show file tree
Hide file tree
Showing 46 changed files with 381 additions and 6 deletions.
3 changes: 3 additions & 0 deletions Resources/Locale/ru-RU/_Cats/Jobs/jobs.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
JobSecurityEnginer = Полевой Инженер
job-name-security-enginer = Полевой Инженер
job-description-security-enginer = Не дайте бригу пропасть во тьме. Ремонтируйте постройки, а также устройте перестройки. Приносите разруху и разрушения во время штурма!
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
- Detective
- Warden
- Brigmedic #backmen
- SecurityEngineer # Cats
accountNumber: 1320 #backmen: currency

- type: department
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,13 @@
description: Рюкзак для переноски голов врагов корпорации.
components:
- type: Sprite
sprite: _SpaceCats/BridgeOfficer/BOBackpack.rsi
sprite: _SpaceCats/BridgeOfficer/BOBackpack.rsi

- type: entity
parent: ClothingBackpack
id: ClothingBackpackSecurityEngineer
name: рюкзак полевого инженера
description: В два раза больше наручников!
components:
- type: Sprite
sprite: _SpaceCats/Clothing/Back/Backpacks/securityEngineer.rsi
17 changes: 17 additions & 0 deletions Resources/Prototypes/_SpaceCats/Entities/Clothing/Belt/belts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,20 @@
sprite: _SpaceCats/BridgeOfficer/BOWebbing.rsi
- type: Clothing
sprite: _SpaceCats/BridgeOfficer/BOWebbing.rsi

- type: entity
id: ClothingMilitaryWebbingSecEng
parent: ClothingBeltMilitaryWebbing
name: инженерный рпс полевого инженера
description: Лямка с большим количеством ремней для инженера по безопасности.
suffix: Security
components:
- type: StorageFill
contents:
- id: JawsOfLife
- id: Wrench
- id: Screwdriver
- id: WelderIndustrial
- id: Multitool
- type: ExplosionResistance
damageCoefficient: 0.5
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,21 @@
- type: Sprite
sprite: _SpaceCats/BridgeOfficer/BOHeadset.rsi
- type: Clothing
sprite: _SpaceCats/BridgeOfficer/BOHeadset.rsi
sprite: _SpaceCats/BridgeOfficer/BOHeadset.rsi

- type: entity
parent: ClothingHeadset
id: ClothingHeadsetSecurityEngineer
name: гарнитура полевого инженера
description: Это используется вашими элитными силами безопасности.
components:
- type: ContainerFill
containers:
key_slots:
- EncryptionKeySecurity
- EncryptionKeyEngineering
- EncryptionKeyCommon
- type: Sprite
sprite: _SpaceCats/Clothing/Ears/security.rsi
- type: Clothing
sprite: _SpaceCats/Clothing/Ears/security.rsi
16 changes: 16 additions & 0 deletions Resources/Prototypes/_SpaceCats/Entities/Clothing/Eyes/goggles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,19 @@
suffix: "Chameleon, NukeOps"
components:
- type: ShowSyndicateIcons

- type: entity
parent: [ClothingEyesBase, ShowSecurityIcons]
id: ClothingEyesHudSecEng
name: охранные очки полевого инженера
description: Модель HUD представляет собой комбинацию оптического мезонного сканера и датчика безопасности. Защищает глаза.
components:
- type: Sprite
sprite: _SpaceCats/Clothing/Eyes/HUD/SecEngHUD.rsi
- type: Clothing
sprite: _SpaceCatsClothing/Eyes/HUD/SecEngHUD.rsi
- type: EyeProtection
- type: FlashImmunity
- type: Tag
tags:
- HudSecurity
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
- type: entity
parent: ClothingShoesBootsJack
id: ClothingShoesBootsJackSecEnginer
components:
- type: Sprite
sprite: _SpaceCats/Clothing/Shoes/Boots/jackboots_sec_enginer.rsi
- type: Clothing
sprite: _SpaceCats/Clothing/Shoes/Boots/jackboots_sec_enginer.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,15 @@
sprite: _SpaceCats/BridgeOfficer/BOJumpsuit.rsi
- type: Tag
tags:
- WhitelistChameleon
- WhitelistChameleon

- type: entity
parent: ClothingUniformBase
id: ClothingUniformJumpsuitSecEngineer
name: комбинезон полевого офицера
description: Комбинезон изготовлен из прочного материала, обеспечивающего надежную защиту.
components:
- type: Sprite
sprite: _SpaceCats/Clothing/Uniforms/Sec/Engineer/securityEngineerJumpSuit.rsi
- type: Clothing
sprite: _SpaceCats/Clothing/Uniforms/Sec/Engineer/securityEngineerJumpSuit.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,16 @@
- type: Sprite
layers:
- state: green
- state: maid
- state: maid

- type: entity
id: SpawnPointSecurityEngineer
parent: SpawnPointJobBase
name: SecurityEngineer
components:
- type: SpawnPoint
job_id: SecurityEngineer
- type: Sprite
layers:
- state: green
- state: security_officer
23 changes: 22 additions & 1 deletion Resources/Prototypes/_SpaceCats/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,25 @@
components:
- type: Pda
id: MaidIDCard
state: pda-maid
state: pda-maid

- type: entity
parent: BaseEngineerPDA
id: SecurityEngineerPDA
name: кпк полевого офицера
description: Красный, чтобы скрыть пятна крови пассажира.
components:
- type: Pda
id: SecurityEngineerIDCard
state: pda-security-enginer
- type: PdaBorderColor
borderColor: "#9b2b2a"
- type: Icon
state: pda-security
- type: CartridgeLoader
preinstalled:
- CrewManifestCartridge
- NotekeeperCartridge
- NewsReaderCartridge
- CrimeAssistCartridge
- SecWatchCartridge
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,19 @@
- state: idmaid
- type: PresetIdCard
job: Maid

- type: entity
parent: IDCardStandard
id: SecurityEngineerIDCard
name: карта полевого офицера
components:
- type: Sprite
layers:
- state: default
- state: departmenthead
color: "#1B67A5"
- state: subdepartment
color: "#F39F27"
- state: idsecurityenginer
- type: PresetIdCard
job: SecurityEngineer
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
- type: entity

Check failure on line 1 in Resources/Prototypes/_SpaceCats/Entities/Objects/Weapons/Bombs/C4Low.yml

View workflow job for this annotation

GitHub Actions / CRLF Check

File contains CRLF line endings

The file 'Resources/Prototypes/_SpaceCats/Entities/Objects/Weapons/Bombs/C4Low.yml' was committed with CRLF new lines. Please make sure your git client is configured correctly and you are not uploading files directly to GitHub via the web interface.
name: C4Low
description: Взрывчатка предназначена для быстрого разрушения воздушных шлюзов или стен, но ее взрыв довольно слабый с точки зрения радиуса действия. Вы можете увидеть этикетку (прикрепите ее непосредственно к объекту).
parent: BasePlasticExplosive
id: LPPC4Low
components:
- type: Sprite
sprite: _SpaceCats/Objects/Weapons/Bombs/C4Low.rsi
state: icon
- type: OnUseTimerTrigger
delay: 5
delayOptions: [5, 10, 15, 20]
initialBeepDelay: 0
beepSound:
path: /Audio/Effects/Cargo/buzz_two.ogg
params:
volume: -6
startOnStick: false
canToggleStartOnStick: true
- type: TriggerOnSignal
- type: DeviceLinkSink
ports:
- Trigger
- type: Explosive
explosionType: DemolitionCharge
totalIntensity: 10
intensitySlope: 10
maxIntensity: 10
canCreateVacuum: false
- type: ExplodeOnTrigger
47 changes: 47 additions & 0 deletions Resources/Prototypes/_SpaceCats/Roles/Jobs/Security/SecEng.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
- type: job
id: SecurityEngineer
name: job-name-security-enginer
description: job-description-security-enginer
playTimeTracker: JobSecurityEnginer
requirements:
- !type:CharacterHeightRequirement
min: 160
- !type:CharacterDepartmentTimeRequirement
department: Security
min: 12000
- !type:CharacterDepartmentTimeRequirement
department: Engineering
min: 12000
startingGear: SecurityEngineerGear
icon: "JobIconSecurityEnginer"
supervisors: job-supervisors-hos
canBeAntag: false
access:
- Security
- Brig
- Maintenance
- External
- Engineering
special:
- !type:AddImplantSpecial
implants: [ MindShieldImplant ]

- type: startingGear
id: SecurityEngineerGear
equipment:
jumpsuit: ClothingUniformJumpsuitSecEngineer
back: ClothingBackpackSecurityEngineer
shoes: ClothingShoesBootsJackSecEnginer
eyes: ClothingEyesHudSecEng
gloves: ClothingHandsGlovesColorYellow
head: ClothingHeadHatHardhatYellow
id: SecurityEngineerPDA
outerClothing: ClothingOuterVestHazard
ears: ClothingHeadsetSecurityEngineer
belt: ClothingMilitaryWebbingSecEng
storage:
back:
- SheetSteel10
- SheetGlass10
- LPPC4Low
- LPPC4Low
10 changes: 9 additions & 1 deletion Resources/Prototypes/_SpaceCats/StatusEffects/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,12 @@
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: Maid
jobName: job-name-maid
jobName: job-name-maid

- type: jobIcon
parent: JobIcon
id: JobIconSecurityEnginer
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: SecurityEngineer
jobName: job-name-security-enginer
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 @@ -11,6 +11,9 @@
{
"name": "Detective"
},
{
"name": "SecurityEngineer"
},
{
"name": "QuarterMaster"
},
Expand Down
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 @@ -16,6 +16,9 @@
{
"name": "admin"
},
{
"name": "idsecurityenginer"
},
{
"name": "ert_chaplain"
},
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,27 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "bobeeprum+Spac__",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon",
"directions": 1
},
{
"name": "equipped-BACKPACK",
"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.
25 changes: 25 additions & 0 deletions Resources/Textures/_SpaceCats/Clothing/Ears/security.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Spac__",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"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.
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,18 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Made by BL02DL",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-EYES",
"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

0 comments on commit 1a5b668

Please sign in to comment.