Add high pressure machine frame rsi (#4950)

Implement Disposal machine construction graph and recepie
Restore eris disposal unit

Co-authored-by: Julian Giebel <j.giebel@netrocks.info>
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
This commit is contained in:
Julian Giebel
2021-10-27 12:54:12 +02:00
committed by GitHub
parent a12eb29464
commit 5b74811f28
22 changed files with 272 additions and 8 deletions

View File

@@ -0,0 +1,48 @@
- type: entity
id: DisposalMachineFrame
name: High Pressure Machine Frame
description: A machine frame made to withstand the amount of pressure used in the station's disposal system.
placement:
mode: SnapgridCenter
components:
- type: Transform
anchored: true
- type: Physics
bodyType: Static
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.4,0.25,0.4"
mass: 25
layer:
- Impassable
- MobImpassable
- VaultImpassable
- Opaque
mask:
- Impassable
- MobImpassable
- VaultImpassable
- type: Clickable
- type: InteractionOutline
- type: Anchorable
- type: Pullable
- type: Construction
graph: disposalMachine
node: frame
- type: Damageable
damageContainer: Inorganic
damageModifierSet: Metallic
- type: Destructible
thresholds:
- trigger:
!type:DamageTrigger
damage: 100
behaviors:
- !type:ChangeConstructionNodeBehavior
node: start
- !type:DoActsBehavior
acts: [ "Destruction" ]
- type: Sprite
sprite: Structures/Piping/high_pressure_machine_frame.rsi
state: frame

View File

@@ -72,6 +72,9 @@
parent: DisposalUnitBase
name: disposal unit
components:
- type: Construction
graph: disposalMachine
node: disposal_unit
- type: DisposalUnit
flushTime: 2
- type: UserInterface