Skip to content

Commit

Permalink
Merge pull request #162 from ITamiokiI/Centcom-airlocks
Browse files Browse the repository at this point in the history
Добавление Центком доступа, Шкафчика Центком, и новых шлюзов.
  • Loading branch information
PyotrIgn authored Nov 29, 2023
2 parents 2b1a286 + 4f2aff4 commit 7d61e9c
Show file tree
Hide file tree
Showing 164 changed files with 1,540 additions and 7 deletions.
1 change: 1 addition & 0 deletions Content.Shared/Access/Components/IdCardConsoleComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public WriteToTargetIdMessage(string fullName, string jobTitle, List<string> acc
"Security",
"Service",
"Theatre",
"Centcom",
};

[Serializable, NetSerializable]
Expand Down
3 changes: 2 additions & 1 deletion Resources/Locale/ru-RU/prototypes/access/accesses.ftl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
id-card-access-level-command = Командование
id-card-access-level-centcom = ЦентКом
id-card-access-level-captain = Капитан
id-card-access-level-head-of-personnel = Глава персонала
id-card-access-level-head-of-security = Глава службы безопасности
Expand All @@ -12,7 +13,7 @@ id-card-access-level-atmospherics = Атмосферный
id-card-access-level-research-director = Научный руководитель
id-card-access-level-research = Научный
id-card-access-level-chief-medical-officer = Главный врач
id-card-access-level-medical = Медотсек
id-card-access-level-medical = Медицинский
id-card-access-level-chemistry = Химия
id-card-access-level-paramedic = Парамедик
id-card-access-level-quartermaster = Квартирмейстер
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ ent-AirlockServiceCaptainLocked = { ent-Airlock }
ent-AirlockExternalLocked = { ent-AirlockExternal }
.suffix = Внешний, Закрыт
.desc = { ent-AirlockExternal.desc }
ent-AirlockExternalCentcomLocked = { ent-AirlockExternal }
.suffix = Внешний, Центком, Закрыт
.desc = { ent-AirlockExternal.desc }
ent-AirlockExternalCargoLocked = { ent-AirlockExternal }
.suffix = Внешний, Карго, Снабжение, Закрыт
.desc = { ent-AirlockExternal.desc }
Expand Down Expand Up @@ -79,6 +82,27 @@ ent-AirlockMedicalScienceLocked = { ent-AirlockScience }
ent-AirlockCommandLocked = { ent-AirlockCommand }
.suffix = Командный, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCentcomLocked = { ent-AirlockCommand }
.suffix = Центком, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCentcomClassicLocked = { ent-AirlockCommand }
.suffix = Центком, Классический, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCentcomCommandClassicLocked = { ent-AirlockCommand }
.suffix = Командный, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCentcomHatchLocked = { ent-AirlockCommand }
.suffix = Центком, Раздвижной, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCentcomCommandHatchLocked = { ent-AirlockCommand }
.suffix = Командный, Раздвижной, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCorporateLocked = { ent-AirlockCommand }
.suffix = Центком, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCorporateCommandLocked = { ent-AirlockCommand }
.suffix = Командный, Закрыт
.desc = { ent-AirlockCommand.desc }
ent-AirlockCaptainLocked = { ent-AirlockCommand }
.suffix = Капитан, Закрыт
.desc = { ent-AirlockCommand.desc }
Expand Down Expand Up @@ -124,6 +148,9 @@ ent-AirlockBarGlassLocked = { ent-AirlockGlass }
ent-AirlockExternalGlassLocked = { ent-AirlockExternalGlass }
.suffix = Внешний, Стеклянный, Закрыт
.desc = { ent-AirlockExternalGlass.desc }
ent-AirlockExternalGlassCentcomLocked = { ent-AirlockExternalGlass }
.suffix = Внешний, Стеклянный, Центком, Закрыт
.desc = { ent-AirlockExternalGlass.desc }
ent-AirlockExternalGlassCargoLocked = { ent-AirlockExternalGlass }
.suffix = Внешний, Стеклянный, Карго, Снабжение, Закрыт
.desc = { ent-AirlockExternalGlass.desc }
Expand Down Expand Up @@ -178,6 +205,15 @@ ent-AirlockMedicalScienceGlassLocked = { ent-AirlockScienceGlass }
ent-AirlockCommandGlassLocked = { ent-AirlockCommandGlass }
.suffix = Командный, Закрыт
.desc = { ent-AirlockCommandGlass.desc }
ent-AirlockCentcomGlassLocked = { ent-AirlockCommandGlass }
.suffix = Центком, Закрыт
.desc = { ent-AirlockCommandGlass.desc }
ent-AirlockCorporateGlassLocked = { ent-AirlockCommandGlass }
.suffix = Центком, Закрыт
.desc = { ent-AirlockCommandGlass.desc }
ent-AirlockCorporateCommandGlassLocked = { ent-AirlockCommandGlass }
.suffix = Командный, Закрыт
.desc = { ent-AirlockCommandGlass.desc }
ent-AirlockCaptainGlassLocked = { ent-AirlockCommandGlass }
.suffix = Капитан, Закрыт
.desc = { ent-AirlockCommandGlass.desc }
Expand Down Expand Up @@ -223,6 +259,9 @@ ent-AirlockMaintLocked = { ent-AirlockMaint }
ent-AirlockMaintGlassLocked = { ent-AirlockMaintGlass }
.suffix = Закрыт
.desc = { ent-AirlockMaintGlass.desc }
ent-AirlockMaintCentcomLocked = { ent-AirlockMaint }
.suffix = Центком, Закрыт
.desc = { ent-AirlockMaint.desc }
ent-AirlockMaintSalvageLocked = { ent-AirlockMaint }
.suffix = Утилизаторы, Закрыт
.desc = { ent-AirlockMaint.desc }
Expand Down Expand Up @@ -295,6 +334,9 @@ ent-AirlockSyndicateNukeopLocked = { ent-AirlockSyndicate }
ent-AirlockExternalShuttleLocked = { ent-AirlockShuttle }
.suffix = Внешний, Закрыт
.desc = { ent-AirlockShuttle.desc }
ent-AirlockExternalShuttleCentcomLocked = { ent-AirlockShuttle }
.suffix = Внешний, Стыковочный, Центком, Закрыт
.desc = { ent-AirlockShuttle.desc }
ent-AirlockExternalShuttleSyndicateLocked = { ent-AirlockShuttle }
.suffix = Внешний, Стыковочный, Синдикат, Закрыт
.desc = { ent-AirlockShuttle.desc }
Expand All @@ -304,6 +346,9 @@ ent-AirlockExternalShuttleNukeopLocked = { ent-AirlockShuttle }
ent-AirlockExternalGlassShuttleLocked = { ent-AirlockGlassShuttle }
.suffix = Внешний, Стеклянный, Стыковочный, Закрыт
.desc = { ent-AirlockGlassShuttle.desc }
ent-AirlockExternalGlassShuttleCentcomLocked = { ent-AirlockGlassShuttle }
.suffix = Внешний, Центком, Стеклянный, Стыковочный, Закрыт
.desc = { ent-AirlockGlassShuttle.desc }
ent-AirlockExternalGlassShuttleEmergencyLocked = { ent-AirlockGlassShuttle }
.suffix = Внешний, ШаттлЭвак, Стеклянный, Стыковочный, Закрыт
.desc = { ent-AirlockGlassShuttle.desc }
Expand All @@ -322,3 +367,6 @@ ent-HighSecCaptainLocked = { ent-HighSecDoor }
ent-HighSecArmoryLocked = { ent-HighSecDoor }
.suffix = Оружейная, Закрыт
.desc = { ent-HighSecDoor.desc }
ent-HighSecCentcomLocked = { ent-HighSecDoor }
.suffix = Центком, Закрыт
.desc = { ent-HighSecDoor.desc }
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,18 @@ ent-AirlockScience = { ent-Airlock }
ent-AirlockCommand = { ent-Airlock }
.suffix = Командный
.desc = { ent-Airlock.desc }
ent-AirlockCentcom = { ent-Airlock }
.suffix = Центком
.desc = { ent-Airlock.desc }
ent-AirlockCentcomClassic = { ent-Airlock }
.suffix = Центком, Классический
.desc = { ent-Airlock.desc }
ent-AirlockCentcomHatch = { ent-Airlock }
.suffix = Центком, Раздвижной
.desc = { ent-Airlock.desc }
ent-AirlockCorporate = { ent-Airlock }
.suffix = Корпоративный
.desc = { ent-Airlock.desc }
ent-AirlockSecurity = { ent-Airlock }
.suffix = СлужбаБезопасности
.desc = { ent-Airlock.desc }
Expand Down Expand Up @@ -59,6 +71,12 @@ ent-AirlockScienceGlass = { ent-AirlockGlass }
ent-AirlockCommandGlass = { ent-AirlockGlass }
.desc = { ent-AirlockGlass.desc }
.suffix = Командный
ent-AirlockCorporateGlass = { ent-AirlockGlass }
.desc = { ent-AirlockGlass.desc }
.suffix = Корпоративный
ent-AirlockCentcomGlass = { ent-AirlockGlass }
.desc = { ent-AirlockGlass.desc }
.suffix = Центком
ent-AirlockSecurityGlass = { ent-AirlockGlass }
.desc = { ent-AirlockGlass.desc }
.suffix = СлужбаБезопасности
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ ent-WindoorSecureChemistryLocked = { ent-WindoorSecure }
ent-WindoorSecureCommandLocked = { ent-WindoorSecure }
.suffix = Командный, Закрыт
.desc = { ent-WindoorSecure.desc }
ent-WindoorSecureCentcomLocked = { ent-WindoorSecure }
.suffix = Центком, Закрыт
.desc = { ent-WindoorSecure.desc }
ent-WindoorSecureEngineeringLocked = { ent-WindoorSecure }
.suffix = Инженерный, Закрыт
.desc = { ent-WindoorSecure.desc }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,11 @@ ent-LockerSyndicatePersonal = оружейный шкаф
ent-LockerBluespaceStation = блюспейс шкаф
.desc = Передовая технология шкафчикостроения.
.suffix = once to station
ent-LockerCentcom = шкаф ЦентКом
.desc = Более дорогая версия обычного шкафчика для хранения. На задней стороне дверцы красуется маленькая надпись "Сделано NanoTrasen".
ent-LockerRepresentative = шкаф NanoTrasen
.desc = Более дорогая версия обычного шкафчика для хранения. На задней стороне дверцы красуется маленькая надпись "Сделано NanoTrasen".
ent-LockerMime = шкаф мима
.desc = { ent-LockerBaseSecure.desc }
ent-LockerClown = шкаф клоуна
.desc = { ent-LockerBaseSecure.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
- type: entity
parent: Airlock
id: AirlockCorporate
suffix: Corporate
components:
- type: Sprite
sprite: ADT/Structures/Doors/Airlocks/Standard/corporate.rsi
- type: WiresPanelSecurity
securityLevel: medSecurity

- type: entity
parent: Airlock
id: AirlockCentcomHatch
suffix: Centcom, Hatch
components:
- type: Sprite
sprite: ADT/Structures/Doors/Airlocks/Standard/centcom_hatch.rsi
- type: WiresPanel
- type: WiresPanelSecurity
securityLevel: maxSecurity
- type: Wires
boardName: wires-board-name-highsec
layoutId: HighSec

- type: entity
parent: Airlock
id: AirlockCentcomClassic
suffix: Centcom, Classic
components:
- type: Sprite
sprite: ADT/Structures/Doors/Airlocks/Standard/centcom_classic.rsi
- type: WiresPanel
- type: WiresPanelSecurity
securityLevel: maxSecurity
- type: Wires
boardName: wires-board-name-highsec
layoutId: HighSec

- type: entity
parent: Airlock
id: AirlockCentcom
suffix: Centcom
components:
- type: Sprite
sprite: ADT/Structures/Doors/Airlocks/Standard/centcom.rsi
- type: WiresPanelSecurity
securityLevel: medSecurity

#Glass
- type: entity
parent: AirlockGlass
id: AirlockCorporateGlass
suffix: Corporate
components:
- type: Sprite
sprite: ADT/Structures/Doors/Airlocks/Glass/corporate.rsi
- type: PaintableAirlock
group: Glass
- type: WiresPanelSecurity
securityLevel: medSecurity

- type: entity
parent: AirlockGlass
id: AirlockCentcomGlass
suffix: Centcom
components:
- type: Sprite
sprite: ADT/Structures/Doors/Airlocks/Glass/centcom.rsi
- type: PaintableAirlock
group: Glass
- type: WiresPanelSecurity
securityLevel: medSecurity
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Centcom
- type: entity
id: LockerCentcom
name: CentCom locker
parent: LockerBaseSecure
components:
- type: Appearance
- type: AccessReader
access: [["Centcom"]]
- type: EntityStorageVisuals
stateBaseClosed: cc
stateDoorOpen: cc_open
stateDoorClosed: cc_door
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Medical
- Engineering
- Cargo
- Centcom
- BlueShield
special:
- !type:AddImplantSpecial
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Access/centcom.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- type: accessLevel
id: Centcom
name: id-card-access-level-centcom
36 changes: 35 additions & 1 deletion Resources/Prototypes/Access/misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,42 @@
- Chapel
- Hydroponics
- Atmospherics

- type: accessGroup
id: AllAccessCentcom
tags:
- EmergencyShuttleRepealAll
- Captain
- HeadOfPersonnel
- ChiefEngineer
- ChiefMedicalOfficer
- HeadOfSecurity
- ResearchDirector
- Command
- Security
- Detective
- Armory
- Brig
- Lawyer
- Engineering
- Medical
- Quartermaster
- Salvage
- Cargo
- Research
- Service
- Maintenance
- External
- Janitor
- Theatre
- Bar
- Chemistry
- Kitchen
- Chapel
- Hydroponics
- Atmospherics
- Centcom
- IAA
- Magistrate
- BlueShield
- Investigator

Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@
jobIcon: JobIconNanotrasen
- type: Access
groups:
- AllAccess
- AllAccessCentcom

- type: entity
parent: CentcomIDCard
Expand Down
Loading

0 comments on commit 7d61e9c

Please sign in to comment.