Beds, Medical Beds, Stasis Beds (#6695)
This commit is contained in:
@@ -104,17 +104,15 @@
|
||||
- type: technology
|
||||
name: "medical machinery"
|
||||
id: MedicalMachinery
|
||||
description: More machine power for more healing efficiency.
|
||||
description: Machines any self-respecting medbay would need.
|
||||
icon:
|
||||
sprite: Structures/Machines/cloning.rsi
|
||||
state: pod_0
|
||||
requiredPoints: 15000
|
||||
sprite: Structures/dispensers.rsi
|
||||
state: industrial-working
|
||||
requiredPoints: 10000
|
||||
requiredTechnologies:
|
||||
- BiologicalTechnology
|
||||
- ChemistryTechnology
|
||||
unlockedRecipes:
|
||||
- CloningPodMachineCircuitboard
|
||||
- MedicalScannerMachineCircuitboard
|
||||
- ChemMasterMachineCircuitboard
|
||||
- ChemDispenserMachineCircuitboard
|
||||
- CrewMonitoringComputerCircuitboard
|
||||
@@ -122,6 +120,22 @@
|
||||
- DiagnoserMachineCircuitboard
|
||||
- HandheldCrewMonitor
|
||||
|
||||
- type: technology
|
||||
name: "advanced life support systems"
|
||||
id: AdvancedLifeSupport
|
||||
description: The cutting edge of life and death.
|
||||
icon:
|
||||
sprite: Structures/Machines/cloning.rsi
|
||||
state: pod_0
|
||||
requiredPoints: 20000
|
||||
requiredTechnologies:
|
||||
- MedicalMachinery
|
||||
- AdvancedSugery
|
||||
unlockedRecipes:
|
||||
- CloningPodMachineCircuitboard
|
||||
- MedicalScannerMachineCircuitboard
|
||||
- StasisBedMachineCircuitboard
|
||||
|
||||
# Security Technology Tree
|
||||
|
||||
- type: technology
|
||||
@@ -328,7 +342,7 @@
|
||||
- SolarControlComputerCircuitboard
|
||||
- GeneratorPlasmaMachineCircuitboard
|
||||
- GeneratorUraniumMachineCircuitboard
|
||||
|
||||
|
||||
- type: technology
|
||||
name: "compact power technology"
|
||||
id: CompactPowerTechnology
|
||||
|
||||
@@ -312,3 +312,26 @@
|
||||
Amount: 1
|
||||
DefaultPrototype: Beaker
|
||||
ExamineName: Glass Beaker
|
||||
|
||||
- type: entity
|
||||
id: StasisBedMachineCircuitboard
|
||||
parent: BaseMachineCircuitboard
|
||||
name: Stasis Bed (Machine Board)
|
||||
components:
|
||||
- type: MachineBoard
|
||||
prototype: StasisBed
|
||||
requirements:
|
||||
Capacitor: 1
|
||||
Manipulator: 1
|
||||
materialRequirements:
|
||||
Cable: 3
|
||||
tagRequirements:
|
||||
Pipe:
|
||||
Amount: 4
|
||||
DefaultPrototype: GasPipeStraight
|
||||
ExamineName: Pipe
|
||||
Cryobeaker:
|
||||
Amount: 2
|
||||
DefaultPrototype: CryostasisBeaker
|
||||
ExamineName: Cryostasis Beaker
|
||||
|
||||
|
||||
@@ -144,7 +144,11 @@
|
||||
solution: beaker
|
||||
- !type:DoActsBehavior
|
||||
acts: [ "Destruction" ]
|
||||
|
||||
- type: Tag
|
||||
tags:
|
||||
- GlassBeaker
|
||||
- Cryobeaker
|
||||
|
||||
- type: entity
|
||||
name: bluespace beaker
|
||||
parent: BaseBeaker
|
||||
|
||||
@@ -2,8 +2,15 @@
|
||||
name: bed
|
||||
id: Bed
|
||||
parent: BaseStructure
|
||||
description: This is used to lie in, sleep in or strap on.
|
||||
description: This is used to lie in, sleep in or strap on. Resting here provides extremely slow healing.
|
||||
components:
|
||||
- type: HealOnBuckle
|
||||
damage:
|
||||
groups:
|
||||
Brute: -0.2 ## 0.1 per
|
||||
Burn: -0.2
|
||||
types:
|
||||
Poison: -0.1
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
@@ -52,6 +59,25 @@
|
||||
- type: Pullable
|
||||
|
||||
|
||||
- type: entity
|
||||
parent: Bed
|
||||
id: MedicalBed
|
||||
name: medical bed
|
||||
description: A hospital bed for patients to recover in. Resting here provides fairly slow healing.
|
||||
components:
|
||||
- type: Sprite
|
||||
state: bed-MED
|
||||
- type: HealOnBuckle
|
||||
damage:
|
||||
groups:
|
||||
Brute: -0.4 ## 0.2 per
|
||||
Burn: -0.4
|
||||
types:
|
||||
Poison: -0.2
|
||||
- type: Construction
|
||||
graph: bed
|
||||
node: medicalbed
|
||||
|
||||
- type: entity
|
||||
parent: Bed
|
||||
id: DogBed
|
||||
|
||||
@@ -245,6 +245,7 @@
|
||||
- ShuttleConsoleCircuitboard
|
||||
- CircuitImprinterMachineCircuitboard
|
||||
- DawInstrumentMachineCircuitboard
|
||||
- StasisBedMachineCircuitboard
|
||||
- type: Machine
|
||||
board: CircuitImprinterMachineCircuitboard
|
||||
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
- type: entity
|
||||
id: StasisBed
|
||||
name: stasis bed
|
||||
parent: BaseStructure
|
||||
description: A bed that massively slows down the patient's metabolism, allowing more time to administer a proper treatment for stabilization.
|
||||
components:
|
||||
- type: StasisBed
|
||||
multiplier: 10
|
||||
- type: Sprite
|
||||
sprite: Structures/Machines/stasis_bed.rsi
|
||||
netsync: false
|
||||
layers:
|
||||
- state: icon
|
||||
- state: unlit
|
||||
shader: unshaded
|
||||
map: ["enum.StasisBedVisualLayers.IsOn"]
|
||||
- type: StasisBedVisuals
|
||||
- type: Appearance
|
||||
- type: ApcPowerReceiver
|
||||
powerLoad: 1000
|
||||
- type: ExtensionCableReceiver
|
||||
- type: Damageable
|
||||
damageContainer: Inorganic
|
||||
damageModifierSet: Metallic
|
||||
- type: Destructible
|
||||
thresholds:
|
||||
- trigger:
|
||||
!type:DamageTrigger
|
||||
damage: 75
|
||||
behaviors:
|
||||
- !type:DoActsBehavior
|
||||
acts: ["Destruction"]
|
||||
- !type:SpawnEntitiesBehavior
|
||||
spawn:
|
||||
SheetSteel1:
|
||||
min: 1
|
||||
max: 2
|
||||
- type: Strap
|
||||
position: Down
|
||||
rotation: -90
|
||||
- type: Physics
|
||||
bodyType: Static
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
- shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.45,-0.45,0.45,0.05"
|
||||
mass: 25
|
||||
mask:
|
||||
- SmallImpassable
|
||||
|
||||
@@ -20,6 +20,13 @@
|
||||
- material: WoodPlank
|
||||
amount: 10
|
||||
doAfter: 1
|
||||
- to: medicalbed
|
||||
completed:
|
||||
- !type:SnapToGrid { }
|
||||
steps:
|
||||
- material: Plasteel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- node: bed
|
||||
entity: Bed
|
||||
edges:
|
||||
@@ -42,3 +49,14 @@
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- node: medicalbed
|
||||
entity: MedicalBed
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetPlasteel1
|
||||
amount: 2
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
|
||||
- type: construction
|
||||
name: pilots chair
|
||||
id: chairPilotSeat
|
||||
@@ -294,7 +294,7 @@
|
||||
- type: construction
|
||||
id: Bed
|
||||
name: bed
|
||||
description: This is used to lie in, sleep in or strap on.
|
||||
description: This is used to lie in, sleep in or strap on. Resting here provides extremely slow healing.
|
||||
graph: bed
|
||||
startNode: start
|
||||
targetNode: bed
|
||||
@@ -308,6 +308,23 @@
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
id: MedicalBed
|
||||
name: Medical Bed
|
||||
description: A hospital bed for patients to recover in. Resting here provides fairly slow healing.
|
||||
graph: bed
|
||||
startNode: start
|
||||
targetNode: medicalbed
|
||||
category: Furniture
|
||||
icon:
|
||||
sprite: Structures/Furniture/furniture.rsi
|
||||
state: bed-MED
|
||||
objectType: Structure
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
conditions:
|
||||
- !type:TileNotBlocked
|
||||
|
||||
- type: construction
|
||||
id: DogBed
|
||||
name: dog bed
|
||||
|
||||
@@ -185,6 +185,15 @@
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
|
||||
- type: latheRecipe
|
||||
id: StasisBedMachineCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
result: StasisBedMachineCircuitboard
|
||||
completetime: 1000
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
Gold: 100
|
||||
# Power
|
||||
- type: latheRecipe
|
||||
id: APCElectronics
|
||||
@@ -203,7 +212,7 @@
|
||||
materials:
|
||||
Steel: 50
|
||||
Glass: 450
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: WallmountSubstationElectronics
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
@@ -221,7 +230,7 @@
|
||||
materials:
|
||||
Steel: 100
|
||||
Glass: 900
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: GeneratorPlasmaMachineCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
@@ -230,7 +239,7 @@
|
||||
materials:
|
||||
Steel: 50
|
||||
Glass: 350
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: GeneratorUraniumMachineCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
@@ -239,7 +248,7 @@
|
||||
materials:
|
||||
Steel: 50
|
||||
Glass: 350
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: WallmountGeneratorElectronics
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
@@ -248,7 +257,7 @@
|
||||
materials:
|
||||
Steel: 50
|
||||
Glass: 350
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: WallmountGeneratorAPUElectronics
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
@@ -257,7 +266,7 @@
|
||||
materials:
|
||||
Steel: 50
|
||||
Glass: 350
|
||||
|
||||
|
||||
- type: latheRecipe
|
||||
id: SolarControlComputerCircuitboard
|
||||
icon: Objects/Misc/module.rsi/id_mod.png
|
||||
|
||||
@@ -90,6 +90,9 @@
|
||||
- type: Tag
|
||||
id: CrowbarRed
|
||||
|
||||
- type: Tag
|
||||
id: Cryobeaker
|
||||
|
||||
- type: Tag
|
||||
id: ConveyorAssembly
|
||||
|
||||
@@ -221,7 +224,7 @@
|
||||
|
||||
- type: Tag
|
||||
id: Payload # for grenade/bomb crafting
|
||||
|
||||
|
||||
- type: Tag
|
||||
id: PercussionInstrument
|
||||
|
||||
|
||||
Reference in New Issue
Block a user