Disposal Pipe Crafting (#6188)

This commit is contained in:
Jack Fox
2022-01-22 06:54:26 -06:00
committed by GitHub
parent 7eee6c6047
commit 90a5c6ea54
6 changed files with 291 additions and 33 deletions

View File

@@ -34,6 +34,8 @@
behaviors:
- !type:DoActsBehavior
acts: ["Breakage"]
- !type:ChangeConstructionNodeBehavior
node: broken
- type: Rotatable
- type: Pullable
@@ -46,6 +48,31 @@
# Pipes
- type: entity
id: DisposalPipeBroken
parent: DisposalPipeBase
name: broken disposal pipe
description: A BBP (big broken pipe)
components:
- type: Sprite
drawdepth: ThickPipe
sprite: Structures/Piping/disposal.rsi
state: pipe-b
- type: Appearance
visuals:
- type: TrayScannerSubFloorVisualizer
- type: SubFloorShowLayerVisualizer
- type: Physics
- type: Fixtures
fixtures:
- shape:
!type:PhysShapeAabb
bounds: "-0.25,-0.5,0.25,0.5"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: broken
- type: entity
id: DisposalPipe
parent: DisposalPipeBase
@@ -64,7 +91,6 @@
- type: DisposalVisualizer
state_free: conpipe-s
state_anchored: pipe-s
state_broken: pipe-b
- type: Physics
- type: Fixtures
fixtures:
@@ -72,6 +98,9 @@
!type:PhysShapeAabb
bounds: "-0.25,-0.5,0.25,0.5"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: pipe
- type: entity
id: DisposalTagger
@@ -91,7 +120,6 @@
- type: DisposalVisualizer
state_free: conpipe-tagger
state_anchored: pipe-tagger
state_broken: pipe-b
- type: UserInterface
interfaces:
- key: enum.DisposalTaggerUiKey.Key
@@ -103,6 +131,9 @@
!type:PhysShapeAabb
bounds: "-0.25,-0.5,0.25,0.5"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: tagger
- type: entity
id: DisposalTrunk
@@ -122,7 +153,6 @@
- type: DisposalVisualizer
state_free: conpipe-t
state_anchored: pipe-t
state_broken: pipe-b
- type: Physics
- type: Fixtures
fixtures:
@@ -130,6 +160,9 @@
!type:PhysShapeAabb
bounds: "-0.25,-0.5,0.25,0.4"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: trunk
- type: entity
id: DisposalRouter
@@ -153,7 +186,6 @@
- type: DisposalVisualizer
state_free: conpipe-j1s
state_anchored: pipe-j1s
state_broken: pipe-b
- type: Flippable
mirrorEntity: DisposalRouterFlipped
- type: UserInterface
@@ -167,6 +199,9 @@
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.25,0.5"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: router
- type: entity
id: DisposalRouterFlipped
@@ -189,7 +224,6 @@
- type: DisposalVisualizer
state_free: conpipe-j2s
state_anchored: pipe-j2s
state_broken: pipe-b
- type: Flippable
mirrorEntity: DisposalRouter
- type: Physics
@@ -222,7 +256,6 @@
- type: DisposalVisualizer
state_free: conpipe-j1
state_anchored: pipe-j1
state_broken: pipe-b
- type: Flippable
mirrorEntity: DisposalJunctionFlipped
- type: Physics
@@ -232,6 +265,9 @@
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.25,0.5"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: junction
- type: entity
id: DisposalJunctionFlipped
@@ -254,7 +290,6 @@
- type: DisposalVisualizer
state_free: conpipe-j2
state_anchored: pipe-j2
state_broken: pipe-b
- type: Flippable
mirrorEntity: DisposalJunction
- type: Physics
@@ -287,7 +322,6 @@
- type: DisposalVisualizer
state_free: conpipe-y
state_anchored: pipe-y
state_broken: pipe-b
- type: Physics
- type: Fixtures
fixtures:
@@ -295,6 +329,9 @@
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.5,0.25"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: yJunction
- type: entity
id: DisposalBend
@@ -314,7 +351,6 @@
- type: DisposalVisualizer
state_free: conpipe-c
state_anchored: pipe-c
state_broken: pipe-b
- type: Physics
- type: Fixtures
fixtures:
@@ -322,3 +358,6 @@
!type:PhysShapeAabb
bounds: "-0.5,-0.5,0.25,0.25"
layer: [ Underplating ]
- type: Construction
graph: DisposalPipe
node: bend