Skip to content

Commit

Permalink
[Port] Advanced Body Bags (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
PuroSlavKing authored Nov 18, 2024
1 parent 7c15f5d commit 83f1c80
Show file tree
Hide file tree
Showing 34 changed files with 454 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ent-BoxBodyBagBluespace = коробка блюспейс мешков для тел
.desc = { ent-BoxBodyBag.desc }
ent-BoxBodyBagNanoTrasen = коробка синих мешков для тел
.desc = { ent-BoxBodyBag.desc }
ent-BoxBodyBagPrisoner = коробка тюремных мешков для тел
.desc = { ent-BoxBodyBag.desc }
ent-BoxBodyBagRadiation = коробка противорадиационных мешков для тел
.desc = { ent-BoxBodyBag.desc }
ent-BoxBodyBagSyndicate = коробка красных мешков для тел
.desc = { ent-BoxBodyBag.desc }
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ent-BodyBagBluespace = блюспейс мешок для тела
.desc = Прочный блюспейс мешок, предназначенный для хранения и транспортировки трупов, и предотвращения их гниения.
ent-BodyBagBluespaceFolded = { ent-BodyBagBluespace }
.desc = { ent-BodyBagBluespace.desc }
.suffix = Сложенный
ent-BodyBagNanoTrasen = синий мешок для тела
.desc = Пластиковый мешок с эмблемой НТ, предназначенный для хранения и транспортировки трупов, и предотвращения их гниения.
.suffix = НТ
ent-BodyBagNanoTrasenFolded = { ent-BodyBagNanoTrasen }
.desc = { ent-BodyBagNanoTrasen.desc }
.suffix = Сложенный, НТ
ent-BodyBagPrisoner = тюремный мешок для тела
.desc = Пластиковый мешок, предназначенный для хранения и транспортировки трупов, и предотвращения их гниения в тюремных структурах.
ent-BodyBagPrisonerFolded = { ent-BodyBagPrisoner }
.desc = { ent-BodyBagPrisoner.desc }
.suffix = Сложенный
ent-BodyBagRadiation = противорадиационный мешок для тела
.desc = Пластиковый мешок, предназначенный для хранения и транспортировки радиоактивных трупов, и предотвращения их гниения.
ent-BodyBagRadiationFolded = { ent-BodyBagRadiation }
.desc = { ent-BodyBagRadiation.desc }
.suffix = Сложенный
ent-BodyBagSyndicate = красный мешок для тела
.desc = Пластиковый мешок с символикой Синдиката, предназначенный для хранения и транспортировки трупов, и предотвращения их гниения.
.suffix = Синдикат
ent-BodyBagSyndicateFolded = { ent-BodyBagSyndicate }
.desc = { ent-BodyBagSyndicate.desc }
.suffix = Сложенный, Синдикат
1 change: 1 addition & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/heads.yml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@
- id: ProtolatheMachineCircuitboard
- id: ResearchComputerCircuitboard
- id: RubberStampRd
- id: BoxBodyBagRadiation # Corvax-Next-AdvancedBodyBags

# Hardsuit table, used for suit storage as well
- type: entityTable
Expand Down
3 changes: 3 additions & 0 deletions Resources/Prototypes/Catalog/Fills/Lockers/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- id: ClothingHeadHatCapWardenAlt # Corvax-SecFashion
- id: ClothingOuterCoatWardenAlt # Corvax-SecFashion
- id: ClothingBackpackWarden # Corvax-SecFashion
- id: BoxBodyBagPrisoner # Corvax-Next-AdvancedBodyBags
- id: ClothingBackpackElectropack
amount: 2
- id: RemoteSignaller
Expand Down Expand Up @@ -52,6 +53,7 @@
- id: HoloprojectorSecurity
- id: BookSpaceLaw
- id: ClothingBackpackWarden # Corvax-SecFashion
- id: BoxBodyBagPrisoner # Corvax-Next-AdvancedBodyBags
- id: ClothingBackpackElectropack
amount: 2
- id: RemoteSignaller
Expand Down Expand Up @@ -131,6 +133,7 @@
prob: 0.5
- id: ClothingOuterCoatLabSecurityMedic # Corvax-Resprite
prob: 0.5
- id: BoxBodyBagPrisoner # Corvax-Next-AdvancedBodyBags

- type: entity
id: LockerDetectiveFilled
Expand Down
7 changes: 7 additions & 0 deletions Resources/Prototypes/Entities/Structures/Machines/lathe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -947,6 +947,13 @@
- BluespaceBeaker
- SyringeBluespace
- SyringeCryostasis
- BluespaceBodyBag # Corvax-Next-AdvancedBodyBags
- NTBodyBag # Corvax-Next-AdvancedBodyBags
- PrisonerBodyBag # Corvax-Next-AdvancedBodyBags
- RadiationBodyBag # Corvax-Next-AdvancedBodyBags
- type: EmagLatheRecipes
emagDynamicRecipes:
- SyndicateBodyBag # Corvax-Next-AdvancedBodyBags
- type: Machine
board: MedicalTechFabCircuitboard
- type: StealTarget
Expand Down
4 changes: 4 additions & 0 deletions Resources/Prototypes/Research/civilianservices.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@
- CryoPodMachineCircuitboard
- CryostasisBeaker
- SyringeCryostasis
- NTBodyBag # Corvax-Next-AdvancedBodyBags
- PrisonerBodyBag # Corvax-Next-AdvancedBodyBags
- RadiationBodyBag # Corvax-Next-AdvancedBodyBags

- type: technology
id: MechanizedTreatment
Expand Down Expand Up @@ -229,3 +232,4 @@
recipeUnlocks:
- BluespaceBeaker
- SyringeBluespace
- BluespaceBodyBag # Corvax-Next-AdvancedBodyBags
89 changes: 89 additions & 0 deletions Resources/Prototypes/_CorvaxNext/Catalog/Fills/Boxes/medical.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
- type: entity
parent: BoxCardboard
id: BoxBodyBagBluespace
name: bluespace body bag box
description: Contains body bags.
components:
- type: StorageFill
contents:
- id: BodyBagBluespaceFolded
amount: 4
- type: Sprite
layers:
- state: box
- state: bodybags
whitelist:
tags:
- BodyBag

- type: entity
parent: BoxCardboard
id: BoxBodyBagNanoTrasen
name: NanoTrasen body bag box
description: Contains body bags.
components:
- type: StorageFill
contents:
- id: BodyBagNanoTrasenFolded
amount: 4
- type: Sprite
layers:
- state: box
- state: bodybags
whitelist:
tags:
- BodyBag

- type: entity
parent: BoxCardboard
id: BoxBodyBagPrisoner
name: prisoner body bag box
description: Contains body bags.
components:
- type: StorageFill
contents:
- id: BodyBagPrisonerFolded
amount: 4
- type: Sprite
layers:
- state: box
- state: bodybags
whitelist:
tags:
- BodyBag

- type: entity
parent: BoxCardboard
id: BoxBodyBagRadiation
name: radiation body bag box
description: Contains body bags.
components:
- type: StorageFill
contents:
- id: BodyBagRadiationFolded
amount: 4
- type: Sprite
layers:
- state: box
- state: bodybags
whitelist:
tags:
- BodyBag

- type: entity
parent: BoxCardboard
id: BoxBodyBagSyndicate
name: syndicate body bag box
description: Contains body bags.
components:
- type: StorageFill
contents:
- id: BodyBagSyndicateFolded
amount: 4
- type: Sprite
layers:
- state: box_of_doom
- state: bodybags
whitelist:
tags:
- BodyBag
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
- type: entity
parent: BodyBag
id: BodyBagBluespace
name: body bag bluespace
description: Durable bluespace bag designed for storing and transporting corpses, preventing decomposition.
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/bluespace.rsi
layers:
- state: bluespacebag
map: ["unfoldedLayer", "enum.StorageVisualLayers.Base"]
- state: bluespacebag_folded
map: ["foldedLayer"]
visible: false
- state: open_overlay
map: ["enum.StorageVisualLayers.Door"]
- state: label_overlay
map: ["enum.BodyBagVisualLayers.Label"]
- type: Icon
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/bluespace.rsi
state: bluespacebag
- type: EntityStorage
capacity: 50

- type: entity
parent: BodyBagBluespace
id: BodyBagBluespaceFolded
suffix: Folded
components:
- type: Foldable
folded: true

- type: entity
parent: BodyBag
id: BodyBagNanoTrasen
name: blue body bag
description: Plastic NT bag designed for storing and transporting corpses, preventing decomposition.
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/nanotrasen.rsi
layers:
- state: ntbag
map: ["unfoldedLayer", "enum.StorageVisualLayers.Base"]
- state: ntbag_folded
map: ["foldedLayer"]
visible: false
- state: open_overlay
map: ["enum.StorageVisualLayers.Door"]
- state: label_overlay
map: ["enum.BodyBagVisualLayers.Label"]
- type: Icon
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/nanotrasen.rsi
state: ntbag
- type: EntityStorage
capacity: 1

- type: entity
parent: BodyBagNanoTrasen
id: BodyBagNanoTrasenFolded
suffix: Folded
components:
- type: Foldable
folded: true

- type: entity
parent: BodyBag
id: BodyBagPrisoner
name: prisoner body bag
description: Plastic bag designed for storing and transporting corpses, preventing decomposition in prison structures.
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/prison.rsi
layers:
- state: prisonerbag
map: ["unfoldedLayer", "enum.StorageVisualLayers.Base"]
- state: prisonerbag_folded
map: ["foldedLayer"]
visible: false
- state: open_overlay
map: ["enum.StorageVisualLayers.Door"]
- state: label_overlay
map: ["enum.BodyBagVisualLayers.Label"]
- type: Icon
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/prison.rsi
state: prisonerbag
- type: EntityStorage
capacity: 1

- type: entity
parent: BodyBagPrisoner
id: BodyBagPrisonerFolded
suffix: Folded
components:
- type: Foldable
folded: true

- type: entity
parent: BodyBag
id: BodyBagRadiation
name: radiation body bag
description: Plastic bag designed for storing and transporting radioactive corpses, preventing decomposition.
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/radiation.rsi
layers:
- state: radiationbag
map: ["unfoldedLayer", "enum.StorageVisualLayers.Base"]
- state: radiationbag_folded
map: ["foldedLayer"]
visible: false
- state: open_overlay
map: ["enum.StorageVisualLayers.Door"]
- state: label_overlay
map: ["enum.BodyBagVisualLayers.Label"]
- type: Icon
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/radiation.rsi
state: radiationbag
- type: EntityStorage
capacity: 1
- type: RadiationBlockingContainer
resistance: 5

- type: entity
parent: BodyBagRadiation
id: BodyBagRadiationFolded
suffix: Folded
components:
- type: Foldable
folded: true

- type: entity
parent: BodyBag
id: BodyBagSyndicate
name: red body bag
description: Plastic bag with Syndicate symbols, designed for storing and transporting corpses, preventing decomposition.
components:
- type: Sprite
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/syndicate.rsi
layers:
- state: syndicatebag
map: ["unfoldedLayer", "enum.StorageVisualLayers.Base"]
- state: syndicatebag_folded
map: ["foldedLayer"]
visible: false
- state: open_overlay
map: ["enum.StorageVisualLayers.Door"]
- state: label_overlay
map: ["enum.BodyBagVisualLayers.Label"]
- type: Icon
sprite: _CorvaxNext/Objects/Specific/Medical/BodyBags/syndicate.rsi
state: syndicatebag
- type: EntityStorage
capacity: 3

- type: entity
parent: BodyBagSyndicate
id: BodyBagSyndicateFolded
suffix: Folded
components:
- type: Foldable
folded: true
37 changes: 37 additions & 0 deletions Resources/Prototypes/_CorvaxNext/Recipes/Lathes/body_bags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
- type: latheRecipe
id: BluespaceBodyBag
result: BodyBagBluespaceFolded
completetime: 6
materials:
Plastic: 1200
Silver: 120
Uranium: 30

- type: latheRecipe
id: NTBodyBag
result: BodyBagNanoTrasenFolded
completetime: 3
materials:
Plastic: 300

- type: latheRecipe
id: PrisonerBodyBag
result: BodyBagPrisonerFolded
completetime: 3
materials:
Plastic: 300

- type: latheRecipe
id: RadiationBodyBag
result: BodyBagRadiationFolded
completetime: 3
materials:
Plastic: 300
Uranium: 30

- type: latheRecipe
id: SyndicateBodyBag
result: BodyBagSyndicateFolded
completetime: 6
materials:
Plastic: 150
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

0 comments on commit 83f1c80

Please sign in to comment.