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

Magistrat #178

Open
wants to merge 10 commits 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
Binary file added Resources/Audio/_CorvaxNext/Weapons/knock.ogg
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ent-ClothingOuterRobesMantleMagistrat = мантия
.desc = мантия магистрата.
ent-ClothingOuterRobesMantleMagistrat2 = мантия
.desc = мантия магистрата
ent-ClothingOuterRobesMantleMagistrat3 = мантия
.desc = мантия магистрата
ent-ClothingOuterRobesMantleMagistrat4 = мантия
.desc = мантия магистрата
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_corvaxnext/headset-component.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
chat-radio-legal = Юридический
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_corvaxnext/job/department-desc.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Legal-description = Контролируйте соблюдение закона
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_corvaxnext/job/department.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
department-Legal = Юридический отдел
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/_corvaxnext/job/job-description.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
job-description-surgeon = Мастерски пихайте скальпель куда поглубже приходящим бедолагам... Спасая жизни, конечно!
job-description-magistrat = Вершите правосудие на станции!
2 changes: 2 additions & 0 deletions Resources/Locale/ru-RU/_corvaxnext/job/job-names.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
job-name-surgeon = хирург
JobSurgeon = хирург
JobMagistrat = магистрат
job-name-magistrat = магистрат
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,8 @@ loadout-group-brigmedic-outerclothing = Бригмедик, рюкзак
loadout-group-surgeon-head = Хирург, голова
loadout-group-surgeon-jumpsuit = Хирург, комбинезон
loadout-group-surgeon-scalpel = Хирург, скальпель

# Magistrat

loadout-group-magistrat-jumpsuit = Мантия
loadout-group-magistrat-hat = Парик
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

ent-ClothingHeadsetMagistrat = гарнитура магистрата
.desc = Гарнитура, которая помогает вершить закон.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-BriefcaseMagistratFilled = коричневый чемодан
.suffix = магистрат
.desc = { ent-BriefcaseBrown.desc }
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-ComputerCriminalRecordsMagistrat = портативная консоль криминальных записей
.desc = Специальная разработка для магистрата
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-ScreenTimerMagistr = настольный таймер
.desc = Настраиваемый таймер
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ent-SurgeonPDA = КПК хирурга
.desc = { ent-MedicalPDA.desc }
ent-MagistratPDA = КПК магистрата
.desc = { ent-LawyerPDA }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-GavelBlock = подставка для молортока
.desc = Стучать сюда

Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ent-SurgeonIDCard = ID карта хирурга
.desc = { ent-IDCardStandard.desc }
ent-MagistratIDCard = ID карта магистрата
.desc = { ent-IDCardStandard.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-RubberStampMagistrat = печать магистрата
.suffix = НЕ МАППИТЬ
.desc = { ent-RubberStampBase.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-MagistrHammer = молоток судьи
.desc = Вынеси им приговор!
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ ent-ClothingHeadHatCapcapWhite = белая фуражка капитана
.desc = Стильная белая фуражка капитана.
ent-ClothingHeadHatCapcapSheriff = фуражка шерифа
.desc = Стильная фуражка шерифа.
ent-ClothingHeadHatPwig2 = парик
.desc = Пышный парик
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ent-ClothingNeckSecBadgeStealCollectionObjective = { ent-BaseThiefStealCollectionObjective }
.desc = { ent-BaseThiefStealCollectionObjective.desc }
ent-MagistrHammerStealObjective = { ent-BaseThiefStealCollectionObjective }
.desc = { ent-BaseThiefStealCollectionObjective.desc }
14 changes: 14 additions & 0 deletions Resources/Prototypes/Corvax/Entities/Markers/Spawners/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,17 @@
layers:
- state: green
- state: surgeon # Corvax-Next-surgeon

- type: entity
id: SpawnPointMagistrat
parent: SpawnPointJobBase
name: magistrat
components:
# Corvax-Next-magistrat-start
- type: SpawnPoint
job_id: Magistrat
# Corvax-Next-magistrat-end
- type: Sprite
layers:
- state: green
- state: magistrat # Corvax-Next-magistrat
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- Common
- Command
- Security
- Legal #CorvaxNext-Magitrat
defaultChannel: Command
- type: Sprite
layers:
Expand Down
2 changes: 2 additions & 0 deletions Resources/Prototypes/Objectives/objectiveGroups.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
CaptainJetpackStealObjective: 0.5
HandTeleporterStealObjective: 0.5
EnergyShotgunStealObjective: 0.5
MagistrHammerStealObjective: 1 #CorvaxNext-Magstrat

- type: weightedRandom
id: TraitorObjectiveGroupKill
Expand Down Expand Up @@ -87,6 +88,7 @@
BibleStealObjective: 1
ClothingNeckGoldmedalStealObjective: 1 #other
ClothingNeckClownmedalStealObjective: 0.5
MagistrHammerStealObjective: 1 #CorvaxNext-Magistrat

- type: weightedRandom
id: ThiefObjectiveGroupStructure
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
- type: entity
id: BriefcaseMagistratFilled
name: briefcase brown
parent: BriefcaseBrown
suffix: Magistrat
components:
- type: StorageFill
contents:
- id: RubberStampMagistrat
- id: MagistrHammer
- id: ComputerCriminalRecordsMagistrat
- id: BoxSurvival
- id: GavelBlock
- id: ScreenTimerMagistr
- id: RubberStampApproved
- id: RubberStampDenied
- id: BoxFolderCentCom
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- type: entity
parent: ClothingHeadset
id: ClothingHeadsetMagistrat
name: headset magistrat
description: A headset for internal affairs agent to hear the captain's last words.
components:
- type: ContainerFill
containers:
key_slots:
- EncryptionKeyIAA
- type: Sprite
sprite: Clothing/Ears/Headsets/servicesecurity.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@
- type: Tag
tags:
- HamsterWearable

- type: entity
parent: ClothingHeadBase
id: ClothingHeadHatPwig2
name: pwig magistrat
description: To be honest, those look ridiculous.
components:
- type: Sprite
sprite: _CorvaxNext/Clothing/Head/Hats/true_wig.rsi
- type: Clothing
sprite: _CorvaxNext/Clothing/Head/Hats/true_wig.rsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,48 @@
sprite: _CorvaxNext/Clothing/Uniforms/Jumpskirt/white_captain.rsi
- type: Clothing
sprite: _CorvaxNext/Clothing/Uniforms/Jumpskirt/white_captain.rsi

- type: entity
parent: ClothingUniformBase
id: ClothingOuterRobesMantleMagistrat
name: judge magistrat
description: This robe commands authority.
components:
- type: Sprite
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/judge.rsi
- type: Clothing
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/judge.rsi

- type: entity
parent: ClothingUniformBase
id: ClothingOuterRobesMantleMagistrat2
name: judge magistrat
description: This robe commands authority.
components:
- type: Sprite
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/mantle.rsi
- type: Clothing
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/mantle.rsi

- type: entity
parent: ClothingUniformBase
id: ClothingOuterRobesMantleMagistrat3
name: judge magistrat
description: This robe commands authority.
components:
- type: Sprite
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/magistrat_mantle.rsi
- type: Clothing
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/magistrat_mantle.rsi


- type: entity
parent: ClothingUniformBase
id: ClothingOuterRobesMantleMagistrat4
name: judge magistrat
description: This robe commands authority.
components:
- type: Sprite
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/magistrat.rsi
- type: Clothing
sprite: _CorvaxNext/Clothing/Uniforms/Jumpsuit/magistrat.rsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
- type: entity
parent: [ BaseHandheldComputer, PowerCellSlotSmallItem ]
id: ComputerCriminalRecordsMagistrat
name: partable computer criminal records magistrat
description: This can be used to check criminal records. Only security can modify them.
components:
- type: CriminalRecordsConsole
- type: UserInterface
interfaces:
enum.CriminalRecordsConsoleKey.Key:
type: CriminalRecordsConsoleBoundUserInterface
- type: ActivatableUI
key: enum.CriminalRecordsConsoleKey.Key
- type: Sprite
sprite: Objects/Misc/qm_clipboard.rsi
layers:
- map: ["computerLayerBody"]
state: qm_clipboard
- map: ["computerLayerKeyboard"]
state: qm_clipboard
- map: ["computerLayerScreen"]
state: qm_clipboard
- map: ["computerLayerKeys"]
state: qm_clipboard
- type: PointLight
radius: 1.5
energy: 1.6
color: "#1f8c28"
- type: Computer
board: CriminalRecordsComputerCircuitboard
- type: AccessReader
access: [["Lawyer"]]
- type: GuideHelp
guides:
- CriminalRecords
- type: ActivatableUIRequiresPowerCell
- type: Appearance

- type: entity
id: ComputerCriminalRecordsMagistratEmpty
parent: ComputerCriminalRecordsMagistrat
suffix: Empty
components:
- type: ItemSlots
slots:
cell_slot:
name: power-cell-slot-component-slot-name-default



- type: entity
id: ScreenTimerMagistr
parent: [BaseHandheldComputer, PowerCellSlotSmallItem ]
name: timer magistrat
description: It's a timer for sending timed signals to things, with a built-in screen.
components:
- type: SignalTimer
canEditLabel: true
- type: TextScreenVisuals
color: Gold
textOffset: 0,0
timerOffset: 0,0
rowOffset: 5
textLength: 5
rows: 1
- type: Sprite
drawdepth: WallMountedItems
sprite: _CorvaxNext/Objects/Devices/magistr_timer.rsi
state: signalscreen
- type: ActivatableUI
key: enum.SignalTimerUiKey.Key
- type: UserInterface
interfaces:
enum.SignalTimerUiKey.Key:
type: SignalTimerBoundUserInterface
- type: Clickable
- type: InteractionOutline
- type: Appearance
- type: DeviceLinkSource
ports:
- Start
- Timer
- type: DeviceLinkSink
ports:
- Trigger
- type: Item
size: Normal
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
- type: entity
parent: BaseSecurityPDA
id: MagistratPDA
name: magistrat PDA
description: Corporation and profit are best friends.
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Devices/pda.rsi
state: pda-judge
- type: Pda
id: MagistratIDCard
state: pda-judge
penSlot:
startingItem: PenCentcom
whitelist:
tags:
- Write
- type: PdaBorderColor
borderColor: "#6f6192"
- type: Icon
state: pda-judge

- type: entity
parent: BaseMedicalPDA
id: SurgeonPDA
Expand All @@ -15,3 +37,4 @@
- type: GuideHelp
guides:
- Medical Doctor

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
- type: entity
parent: BaseItem
id: GavelBlock
name: gavel block
description: Hammer here
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Misc/gavelblock.rsi/
state: icon
- type: Physics
bodyType: Dynamic
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Item
size: Tiny
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
- type: entity
parent: IDCardStandard
id: MagistratIDCard
name: ID card magistrat
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Misc/id_cards.rsi
layers:
- state: silver
- state: idjudge
- type: PresetIdCard

- type: entity
id: SurgeonIDCard
name: surgeon ID card
components:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
- type: entity
name: rubber stamp magistrat
parent: RubberStampBase
id: RubberStampMagistrat
suffix: DO NOT MAP
components:
- type: Stamp
stampedName: Магистрат
stampedColor: "#817066"
stampState: "paper_stamp-centcom"
- type: Sprite
sprite: Objects/Misc/stamps.rsi
state: stamp-centcom
Loading
Loading