Skip to content

Commit

Permalink
Merge pull request Rxup#407 from Rinary1/master
Browse files Browse the repository at this point in the history
Новые Шлюзы + Робототехник
  • Loading branch information
Kirillcas authored Jan 8, 2024
2 parents 92ccd19 + 0eee89c commit b960551
Show file tree
Hide file tree
Showing 123 changed files with 1,035 additions and 1 deletion.
1 change: 1 addition & 0 deletions Resources/Locale/en-US/backmen/job/job-names.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
job-name-fugitive = fugitive
job-name-prisoner = prisoner
job-name-roboticist = roboticist
1 change: 1 addition & 0 deletions Resources/Locale/en-US/backmen/job/nyano-desc.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
job-description-prisoner = Sit in prison. Gamble with your cellmates. Talk to the warden. Write your memoirs.
job-description-roboticist = Creation of robots. Create helpful workers or killing machines.
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/backmen/job/job-names.ftl
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
job-name-fugitive = Беглец
job-name-prisoner = Заключенный
job-name-roboticist = Робототехник
1 change: 1 addition & 0 deletions Resources/Locale/ru-RU/backmen/job/nyano-desc.ftl
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
job-description-prisoner = Сидеть в тюрьме. Играйте с сокамерниками. Поговорите с надзирателем. Напишите свои мемуары.
job-description-roboticist = Создавайте услужливых работников или машин для убийств.
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
ent-ClothingEyesGlassesMonocle = Монокль аристократа.
.desc = Монокль является признаком высокого происхождения и интелекта.
ent-ClothingEyesGlassesWelding = Сварочные Очки
.desc = Это сварочные очки. Это небольшой предмет. Защищает глаза от сварщиков.
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@ ent-ClothingHeadHatCargoPostalsoft = почтовый колпачок
.desc = Это бейсболка, раскрашенная в цвета "Постал оф Карго".
ent-ClothingHeadHatCargoPostalsoftFlipped = перевернутый почтовый колпачок
.desc = Это бейсболка, раскрашенная в цвета "Постал оф Карго". Перевернутый.
ent-ClothingHeadHatBlacksoft = Чёрная Кепка
.desc = Простая чёрная кепка, ничего нового.
ent-ClothingHeadHatBlacksoftflipped = Повёрнутая Чёрная Кепка
.desc = Простая чёрная кепка, ничего нового. Повёрнута.
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ ent-SpawnPointDelivery = Доставщик
.desc = { ent-SpawnPointJobBase.desc }
ent-SpawnPointPrisoner = Заключенный
.desc = { ent-SpawnPointJobBase.desc }
ent-SpawnPointRoboticist = Робототехник
.desc = { ent-SpawnPointJobBase.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-DoubleGlassAirlock = Двойной Шлюз
.desc = Он открывается, Он закрывается , и он может вас раздавить, но он больше, чем обычно.
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,18 @@ ent-AirlockCCEngineeringLocked = Шлюз ЦК
ent-AirlockCCMedicalLocked = Шлюз ЦК
.suffix = CentCom, Medical, Locked
.desc = { ent-AirlockMedical.desc }
ent-AirlockHatchCentcommLocked = Шлюз ЦК
.suffix = CentCom, Locked
.desc = { ent-AirlockHatchCentcomm.desc }
ent-AirlockHatchMaintLocked = Технический Шлюз
.suffix = Maint, Locked
.desc = { ent-AirlockHatchMaint.desc }
ent-AirlockHatchSyndicateLocked = Шлюз Синдиката
.suffix = Syndicate, Locked
.desc = { ent-AirlockHatchCentcomm.desc }
ent-DoubleGlassAirlockCentcomLocked = Двойной Шлюз ЦК
.suffix = CentCom, Locked
.desc = { ent-DoubleGlassAirlock.desc }
ent-DoubleGlassAirlockSyndicateLocked = Двойной Шлюз Синдиката
.suffix = Syndicate, Locked
.desc = { ent-DoubleGlassAirlock.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-AirlockHatchCentcomm = Шлюз ЦК
.desc = Удерживает плохих снаружи, а хороших внутри.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ent-AirlockHatchMaint = Технический Шлюз ЦК
.desc = Защищает Тех.Тонели в безопасности.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ent-AirlockHatchCentcomm = Шлюз ЦК
.desc = Удерживает плохих снаружи, а хороших внутри.
ent-AirlockHatchMaint = Технический Шлюз ЦК
.desc = Защищает Тех.Тонели в безопасности.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ent-RoboticistPDA = КПК Робототехника
.desc = Старый кпк чёрного цвета с пятнами машинного масла, царапинами и другими показателями старости.
ent-RoboticistIDCard = ID Карта Робототехника
18 changes: 18 additions & 0 deletions Resources/Prototypes/Backmen/Entities/Clothing/Eyes/glasses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,21 @@
sprite: Backmen/Clothing/Eyes/Glasses/monocle.rsi
- type: Clothing
sprite: Backmen/Clothing/Eyes/Glasses/monocle.rsi

- type: entity
parent: ClothingEyesBase
id: ClothingEyesGlassesWelding
name: Welding glasses
description: That's a welding goggles. It is a small item. Protects the eyes from welders.
components:
- type: Sprite
sprite: Clothing/Eyes/Glasses/weldglasses.rsi
- type: Clothing
sprite: Clothing/Eyes/Glasses/weldglasses.rsi
- type: FlashImmunity
- type: EyeProtection
protectionTime: 5
- type: Tag
tags:
- HamsterWearable
- WhitelistChameleon
24 changes: 23 additions & 1 deletion Resources/Prototypes/Backmen/Entities/Clothing/Head/soft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,26 @@
- type: Sprite
sprite: Backmen/Clothing/Head/Soft/cargopostalsoft_flipped.rsi
- type: Clothing
sprite: Backmen/Clothing/Head/Soft/cargopostalsoft_flipped.rsi
sprite: Backmen/Clothing/Head/Soft/cargopostalsoft_flipped.rsi

- type: entity
parent: ClothingHeadBaseButcherable
id: ClothingHeadHatBlacksoft
name: Black cap
description: "It's a Black baseball hat."
components:
- type: Sprite
sprite: Clothing/Head/Soft/blacksoft.rsi
- type: Clothing
sprite: Clothing/Head/Soft/blacksoft.rsi

- type: entity
parent: ClothingHeadBaseButcherable
id: ClothingHeadHatBlacksoftFlipped
name: Black cap flipped
description: "It's a Black baseball hat. Flipped."
components:
- type: Sprite
sprite: Clothing/Head/Soft/blacksoft_flipped.rsi
- type: Clothing
sprite: Clothing/Head/Soft/blacksoft_flipped.rsi
14 changes: 14 additions & 0 deletions Resources/Prototypes/Backmen/Entities/Markers/Spawners/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,20 @@
- state: brigmedic
- state: jobicon

- type: entity
id: SpawnPointRoboticist
parent: SpawnPointJobBase
name: Roboticist
components:
- type: SpawnPoint
job_id: Roboticist
- type: Sprite
sprite: Backmen/Markers/jobs.rsi
layers:
- state: green
- state: roboticist
- state: jobicon

#- type: entity
# id: SpawnPointGladiator
# parent: SpawnPointJobBase
Expand Down
31 changes: 31 additions & 0 deletions Resources/Prototypes/Backmen/Entities/Objects/Devices/pda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,34 @@
state: pda-clear
- type: Icon
state: pda-clear

- type: entity
parent: BasePDA
id: RoboticistPDA
name: Roboticist PDA
description: An old black PDA with machine oil stains, scratches and other signs of age
components:
- type: Sprite
sprite: Backmen/Objects/Devices/pda.rsi
layers:
- map: [ "enum.PdaVisualLayers.Base" ]
- state: "light_overlay"
map: [ "enum.PdaVisualLayers.Flashlight" ]
shader: "unshaded"
visible: false
- state: "id_overlay"
map: [ "enum.PdaVisualLayers.IdLight" ]
shader: "unshaded"
visible: false
- type: Pda
id: RoboticistIDCard
state: pda-Roboticist
penSlot:
startingItem: Pen
priority: -1
whitelist:
tags:
- Write
- type: Icon
sprite: Backmen/Objects/Devices/pda.rsi
state: pda-Roboticist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@
- type: PresetIdCard
job: Prisoner

- type: entity
parent: IDCardStandard
id: RoboticistIDCard
name: Roboticist ID Card
components:
- type: Sprite
layers:
- state: default
- state: idroboticist
- type: PresetIdCard
job: Roboticist

- type: entity
parent: IDCardStandard
id: UnaffiliatedIDCard
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
- type: entity
id: DoubleGlassAirlock
parent: Airlock
name: Double Glass Airlock
description: It opens, it closes, and maybe crushes you, but it bigger than normal door.
components:
- type: MeleeSound
soundGroups:
Brute:
path:
"/Audio/Effects/glass_hit.ogg"
- type: Door
occludes: false
- type: Occluder
enabled: false
- type: Sprite
sprite: Backmen/Structures/Doors/Airlocks/Glass/double_glass_airlock.rsi
snapCardinals: false
offset: 0.5,0
- type: AnimationPlayer
- type: Fixtures
fixtures:
fix1:
shape:
!type:PhysShapeAabb
bounds: "-0.49,-0.49,1.49,0.49" # don't want this colliding with walls or they won't close
density: 100
mask:
- FullTileMask
layer: #removed opaque from the layer, allowing lasers to pass through glass airlocks
- GlassAirlockLayer
- type: LayerChangeOnWeld
unWeldedLayer: GlassAirlockLayer
weldedLayer: GlassLayer
- type: Rotatable
rotateWhileAnchored: true
- type: Transform
noRot: false
- type: Construction
graph: Airlock
node: glassAirlock
- type: PaintableAirlock
group: Glass
- type: RadiationBlocker
resistance: 2
- type: Tag
tags:
- GlassAirlock
# This tag is used to nagivate the Airlock construction graph. It's needed because the construction graph is shared between Airlock, AirlockGlass, and HighSecDoor
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
- type: entity
id: AirlockHatchMaint
parent: Airlock
name: Maintenance Hatch
description: Protects maintenance tunnels.
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: Backmen/Structures/Doors/Airlocks/Hatches/maintenance_hatch.rsi
- type: Weldable
time: 10

- type: entity
id: AirlockHatchCentcomm
parent: HighSecDoor
name: CentCom Hatch
description: Keeps the bad out and keeps the good in.
placement:
mode: SnapgridCenter
components:
- type: Sprite
sprite: Backmen/Structures/Doors/Airlocks/Hatches/centcom_hatch.rsi
- type: Weldable
time: 10
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,51 @@
components:
- type: AccessReader
access: [["CentralCommand"]]

#Hatches
- type: entity
parent: AirlockHatchCentcomm
id: AirlockHatchCentcommLocked
name: CentCom Hatch
suffix: CentCom, Locked
components:
- type: AccessReader
access: [["CentralCommand"]]

- type: entity
parent: AirlockHatchMaint
id: AirlockHatchMaintLocked
name: Maintenance Hatch
suffix: Maint, Locked
components:
- type: AccessReader
access: [["Maintenance"]]

- type: entity
parent: AirlockHatchCentcomm
id: AirlockHatchSyndicateLocked
name: Syndicate Hatch
suffix: Syndicate, Locked
components:
- type: AccessReader
access: [["SyndicateAgent"]]

#DoubleAirlocks

- type: entity
parent: DoubleGlassAirlock
id: DoubleGlassAirlockCentcomLocked
name: Double Glass Airlock
suffix: CentCom, Locked
components:
- type: AccessReader
access: [["CentralCommand"]]

- type: entity
parent: DoubleGlassAirlock
id: DoubleGlassAirlockSyndicateLocked
name: Double Glass Airlock
suffix: Syndicate, Locked
components:
- type: AccessReader
access: [["SyndicateAgent"]]
35 changes: 35 additions & 0 deletions Resources/Prototypes/Backmen/Roles/Jobs/Science/roboticist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
- type: job
id: Roboticist
name: job-name-roboticist
description: job-description-roboticist
playTimeTracker: JobRoboticist
requirements:
- !type:DepartmentTimeRequirement
department: Science
time: 36000 #10 hrs
startingGear: RoboticistGear
icon: "JobIconRoboticist"
supervisors: job-supervisors-rd
access:
- Research
- Maintenance
#start-backmen: currency
minBankBalance: 150
maxBankBalance: 250
wageDepartment: Science
wage: 50
#end-backmen: currency

- type: startingGear
id: RoboticistGear
equipment:
jumpsuit: ClothingUniformJumpsuitRoboticist
back: ClothingBackpackScienceFilled
shoes: ClothingShoesColorBlack
eyes: ClothingEyesGlassesWelding
outerClothing: ClothingOuterCoatRnd
id: RoboticistPDA
ears: ClothingHeadsetScience
innerClothingSkirt: ClothingUniformJumpskirtRoboticist
satchel: ClothingBackpackSatchelScienceFilled
duffelbag: ClothingBackpackDuffelScienceFilled
3 changes: 3 additions & 0 deletions Resources/Prototypes/Backmen/Roles/play_time_trackers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@

- type: playTimeTracker
id: JobSAI

- type: playTimeTracker
id: JobRoboticist
1 change: 1 addition & 0 deletions Resources/Prototypes/Roles/Jobs/departments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
color: "#D381C9"
roles:
- ResearchDirector
- Roboticist #backmen: currency
- Scientist
- ResearchAssistant
accountNumber: 1321 #backmen: currency
Expand Down
Loading

0 comments on commit b960551

Please sign in to comment.