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

ошибка #1544

Closed
wants to merge 18 commits into from
Closed
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
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/job/job-description.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,4 @@ job-description-senior-engineer = Обучайте новых инженеров
job-description-senior-researcher = Обучайте новых учёных основам печати предметов, исследования артефактов и аномальных объектов.
job-description-senior-physician = Обучайте новых врачей основам оказания помощи раненым, химии, диагностике больных и утилизации трупов.
job-description-senior-officer = Обучать новых офицеров основам обыска и задержания, срокам заключения и правильному обращению с огнестрельным оружием.
job-description-prisoner = Отсидите свой срок или сбегите!!!
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/job/job-names.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,4 @@ JobTechnicalAssistant = технический ассистент
JobWarden = смотритель
JobBoxer = боксёр
JobZookeeper = зоотехник
JobPrisoner = заключенный
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,5 @@ ent-SeniorPhysicianPDA = КПК ведущего врача
.desc = Слабо пахнет железом и химикатами. Имеет встроенный анализатор здоровья.
ent-SeniorOfficerPDA = КПК инструктора СБ
.desc = Побит, помят, поломан, практически не пригоден для использования.
ent-PrisonerPDA = КПК заключенного
.desc = Вроде-бы еще работает....
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,5 @@ ent-SeniorPhysicianIDCard = ID карта ведущего врача
.desc = { ent-IDCardStandard.desc }
ent-SeniorOfficerIDCard = ID карта инструктора СБ
.desc = { ent-IDCardStandard.desc }
ent-PrisonerIDCard = ID карта заключенного
.desc = { ent-IDCardStandard.desc }
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 @@ -643,3 +643,15 @@
layers:
- state: green
- state: zookeeper

- type: entity
id: SpawnPointPrisoner
parent: SpawnPointJobBase
name: prisoner
components:
- type: SpawnPoint
job_id: Prisoner
- type: Sprite
layers:
- state: green
- state: prisoner
12 changes: 12 additions & 0 deletions Resources/Prototypes/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -949,3 +949,15 @@
accentVColor: "#DFDFDF"
- type: Icon
state: pda-seniorofficer

- type: entity
parent: BasePDA
id: PrisonerPDA
name: prisoner PDA
description: Clear, so you can make sure there's nothing being smuggled inside.
components:
- type: Pda
id: PrisonerIDCard
state: pda-clear
- type: Icon
state: pda-clear
Original file line number Diff line number Diff line change
Expand Up @@ -755,3 +755,15 @@
- state: idseniorofficer
- type: PresetIdCard
job: SeniorOfficer

- type: entity
parent: IDCardStandard
id: PrisonerIDCard
name: prisoner ID card
components:
- type: Sprite
layers:
- state: orange
- type: PresetIdCard
job: Prisoner

Original file line number Diff line number Diff line change
Expand Up @@ -191,3 +191,26 @@
whitelist:
tags:
- CartridgePistol

- type: entity
name: makarov
parent: BaseWeaponPistol
id: WeaponPistolMakarov
description: Standart Russian pistol. Uses .35 auto ammo.
components:
- type: Sprite
sprite: Objects/Weapons/Guns/Pistols/makarov.rsi
layers:
- state: base
map: ["enum.GunVisualLayers.Base"]
- state: mag-0
map: ["enum.GunVisualLayers.Mag"]
- type: Clothing
sprite: Objects/Weapons/Guns/Pistols/makarov.rsi
- type: Gun
fireRate: 4
availableModes:
- SemiAuto
soundGunshot:
path: /Audio/Weapons/Guns/Gunshots/mk58.ogg

17 changes: 17 additions & 0 deletions Resources/Prototypes/Roles/Jobs/Wildcards/prisoner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- type: job
id: Prisoner
name: job-name-prisoner
description: job-description-prisoner
playTimeTracker: JobPrisoner
startingGear: PrisonerGear
icon: "JobIconPrisoner"
supervisors: job-supervisors-security

- type: startingGear
id: PrisonerGear
equipment:
jumpsuit: ClothingUniformJumpsuitPrisoner
shoes: ClothingShoesColorBlack
id: PrisonerPDA
ears: ClothingHeadsetGrey
innerclothingskirt: ClothingUniformJumpsuitPrisoner
2 changes: 2 additions & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@
- Reporter
- Zookeeper
- Psychologist
- Prisoner

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 @@ -150,3 +150,6 @@

- type: playTimeTracker
id: JobZookeeper

- type: playTimeTracker
id: JobPrisoner
156 changes: 67 additions & 89 deletions Resources/ServerInfo/Rules.txt

Large diffs are not rendered by default.

Binary file modified Resources/Textures/Markers/jobs.rsi/prisoner.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.
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
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,35 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "Taken from desertrose at https://github.com/DesertRose2/desertrose/commit/120961e254d7f83a6e00a02c76e734f9e5019345, https://github.com/DesertRose2/desertrose/blob/master/icons/obj/guns/projectile.dmi",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "base"
},
{
"name": "bolt-open"
},
{
"name": "mag-0"
},
{
"name": "inhand-left",
"directions": 4
},
{
"name": "inhand-right",
"directions": 4
},
{
"name": "equipped-BELT",
"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