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

Магистрат и юридический департамент #44

Merged
merged 16 commits into from
Jun 8, 2024
Merged
Show file tree
Hide file tree
Changes from 9 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
7 changes: 7 additions & 0 deletions Resources/Changelog/ChangelogSunrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,3 +311,10 @@ Entries:
type: Add
id: 27
time: '2024-06-07T17:08:00.724523+00:00'
- author: Rinary
changes:
- message: "\u0431\u044B\u043B\u0430\u0020\ \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0430\u0020\ \u0440\u043E\u043B\u044C\u000D\u000A\ \u043C\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0430."
type: Add
id: 27
time: '2024-06-08T00:34:38.724523+00:00'

1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_sunrise/job/job-desc.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
job-description-magistrat = Вы само правосудие станции, ваша задача судить всех крупных нарушителей порядка.
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_sunrise/job/job-names.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
job-name-magistrat = Магистрат
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-SpawnPointMagistrat = Магистрат
.desc = { ent-SpawnPointJobBase.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-MagistratPDA = КПК Магистрата
.desc = { ent-CaptainPDA.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-MagistratIDCard = ID карта Магистрата
.desc = { ent-IDCardStandard.desc }
4 changes: 4 additions & 0 deletions Resources/Prototypes/Access/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
- type: accessLevel
id: HeadOfPersonnel
name: id-card-access-level-head-of-personnel

- type: accessLevel
id: Magistrat
name: id-card-access-level-magistrat

- type: accessGroup
id: Command
Expand Down
3 changes: 2 additions & 1 deletion Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
color: "#9FED58"
weight: -10
roles:
- IAA # Sunrise-Edit
- Bartender
- Borg
- Botanist
Expand All @@ -37,8 +38,8 @@
description: department-Command-description
color: "#052EED" # Sunrise-Edit
roles:
- Magistrat # Sunrise-Edit
- Captain
- IAA # Sunrise-Edit
- CentralCommandOfficial
- ChiefEngineer
- ChiefMedicalOfficer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,14 @@
sprite: _Sunrise/Clothing/Uniforms/Jumpsuit/centcom_admiral.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/Jumpsuit/centcom_admiral.rsi

- type: entity
parent: ClothingUniformBase
id: MagistratUniformSuit
name: Костюм магистрата
description: Увольте пару срочников!
components:
- type: Sprite
sprite: _Sunrise/Clothing/Uniforms/jumpsuit/magistratebel.rsi
- type: Clothing
sprite: _Sunrise/Clothing/Uniforms/jumpsuit/magistratebel.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
id: SpawnPointMagistrat
parent: SpawnPointJobBase
name: Magistrat
components:
- type: SpawnPoint
job_id: Magistrat
- type: Sprite
sprite: _Sunrise/Markers/jobs.rsi
layers:
- state: green
- state: magistrat
- state: jobicon
19 changes: 19 additions & 0 deletions Resources/Prototypes/_Sunrise/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,22 @@
borderColor: "#6f6192"
- type: Icon
state: pda-lawyer

- type: entity
parent: CaptainPDA
id: MagistratPDA
name: magistrat PDA
components:
- type: Pda
id: MagistratIDCard
state: pda-captain
penSlot:
startingItem: Pen
priority: -1
whitelist:
tags:
- Write
- type: PdaBorderColor
borderColor: "#7C5D00"
- type: Icon
state: pda-captain
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@
- state: idiaa
- type: PresetIdCard
job: IAA

- type: entity
parent: IDCardStandard
id: MagistratIDCard
name: Magistrate ID Card
components:
- type: Sprite
layers:
- state: silver
- state: idmagistrat
- type: PresetIdCard
job: Magistrat
57 changes: 57 additions & 0 deletions Resources/Prototypes/_Sunrise/Roles/Jobs/Civilian/Magistrat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
- type: job
id: Magistrat
name: job-name-magistrat
description: job-description-magistrat
playTimeTracker: JobMagistrat
requirements:
- !type:DepartmentTimeRequirement
department: Command
time: 180000 #50 hrs
startingGear: MagistratGear
icon: "JobIconMagistrat"
supervisors: job-supervisors-service
canBeAntag: false
setPreference: true
access:
- Magistrat
- Bar
- Kitchen
- Hydroponics
- Janitor
- Theatre
- Chapel
- Lawyer
- Brig
- Security
- Medical
- Research
- Engineering
- Cargo
- Salvage
- Command
extendedAccess:
- Hydroponics
special:
- !type:AddImplantSpecial
implants: [ MindShieldImplant ]
- !type:AddComponentSpecial
components:
- type: CommandStaff

- type: startingGear
id: MagistratGear
equipment:
jumpsuit: MagistratUniformSuit
back: ClothingBackpackIAAFilled
shoes: ClothingShoesBootsLaceup
eyes: ClothingEyesGlassesSecurity
gloves: ClothingHandsGlovesColorWhite
outerClothing: ClothingOuterRobesJudge
id: MagistratPDA
ears: ClothingHeadsetAltCommand
head: ClothingHeadHatPwig
pocket1: Flash
pocket2: ClothingNeckLawyerbadge
innerClothingSkirt: MagistratUniformSuit
satchel: ClothingBackpackSatchelIAAFilled
duffelbag: ClothingBackpackDuffelIAAFilled
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- type: playTimeTracker
id: JobMagistrat
7 changes: 7 additions & 0 deletions Resources/Prototypes/_Sunrise/StatusEffects/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: IAA

- type: statusIcon
parent: JobIcon
id: JobIconMagistrat
icon:
sprite: /Textures/Interface/Misc/job_icons.rsi
state: Magistrat
Binary file modified Resources/Textures/Interface/Misc/job_icons.rsi/IAA.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.
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 @@ -175,6 +175,9 @@
{
"name": "HeadRevolutionary"
},
{
"name": "Magistrat"
},
{
"name": "MindShield",
"delays":
Expand Down
Binary file modified Resources/Textures/Objects/Misc/id_cards.rsi/idiaa.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.
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 @@ -106,6 +106,9 @@
{
"name": "idiaa"
},
{
"name": "idmagistrat"
},
{
"name": "idmedicaldoctor"
},
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.
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,30 @@
{
"version": 1,
"license": "CC-BY-NC-SA 3.0",
"copyright": "Taken from tgstation at commit https://github.com/tgstation/tgstation/commit/c838ba21dae97db345e0113f99596decd1d66039. In hand sprite scaled down by potato1234_x",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "icon"
},
{
"name": "equipped-INNERCLOTHING-digi",
"directions": 4
},
{
"name": "equipped-INNERCLOTHING",
"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.
20 changes: 20 additions & 0 deletions Resources/Textures/_Sunrise/Markers/jobs.rsi/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"version": 1,
"license": "CC-BY-SA-3.0",
"copyright": "taken from the game",
"size": {
"x": 32,
"y": 32
},
"states": [
{
"name": "jobicon"
},
{
"name": "green"
},
{
"name": "magistrat"
}
]
}
Loading