]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Cleanup and fix disposal pipes (#34986)
authorlzk <124214523+lzk228@users.noreply.github.com>
Mon, 10 Feb 2025 09:05:19 +0000 (10:05 +0100)
committerGitHub <noreply@github.com>
Mon, 10 Feb 2025 09:05:19 +0000 (20:05 +1100)
Resources/Prototypes/Entities/Structures/Piping/Disposal/pipes.yml

index afeba380ae049435845f190842743962fbb951b1..fca28e99a6ffa2776bd9f9b2ca6d4b3543520d77 100644 (file)
@@ -9,6 +9,8 @@
     - Disposal
   components:
   - type: Sprite
+    drawdepth: ThickPipe
+    sprite: Structures/Piping/disposal.rsi
     visible: false
   - type: Appearance
   - type: SubFloorHide
@@ -78,8 +80,6 @@
   description: A BBP (big broken pipe).
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: pipe-b
@@ -94,8 +94,6 @@
   description: A huge pipe segment used for constructing disposal systems.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-s
   - type: Construction
     graph: DisposalPipe
     node: pipe
+    containers:
+    - DisposalTransit
 
 - type: entity
   id: DisposalTagger
   description: A pipe that tags entities for routing.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-tagger
   - type: Construction
     graph: DisposalPipe
     node: tagger
+    containers:
+    - DisposalTagger
 
 - type: entity
   id: DisposalTrunk
   description: A pipe trunk used as an entry point for disposal systems.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-t
   - type: Construction
     graph: DisposalPipe
     node: trunk
+    containers:
+    - DisposalEntry
 
 - type: entity
   id: DisposalRouter
   description: A three-way router. Entities with matching tags get routed to the side via configurable filters.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-j1s
   - type: Construction
     graph: DisposalPipe
     node: router
+    containers:
+    - DisposalRouter
 
 - type: entity
   id: DisposalRouterFlipped
   suffix: flipped
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-j2s
         - SubfloorMask
   - type: Construction
     node: routerflipped
+    containers:
+    - DisposalRouter
 
 - type: entity
   id: DisposalJunction
   description: A three-way junction. The arrow indicates where items exit.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-j1
   - type: Construction
     graph: DisposalPipe
     node: junction
+    containers:
+    - DisposalJunction
 
 - type: entity
   id: DisposalJunctionFlipped
   suffix: flipped
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-j2
         - SubfloorMask
   - type: Construction
     node: junctionflipped
+    containers:
+    - DisposalJunction
 
 - type: entity
   id: DisposalYJunction
   description: A three-way junction with another exit point.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-y
   - type: Construction
     graph: DisposalPipe
     node: yJunction
+    containers:
+    - DisposalJunction
 
 - type: entity
   id: DisposalBend
   description: A tube bent at a 90 degree angle.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
-    sprite: Structures/Piping/disposal.rsi
     layers:
     - map: [ "pipe" ]
       state: conpipe-c
   - type: Construction
     graph: DisposalPipe
     node: bend
+    containers:
+    - DisposalBend
 
 - type: entity
   parent: DisposalJunction
   description: A signal-controlled three-way router.
   components:
   - type: Sprite
-    drawdepth: ThickPipe
     layers:
     - map: [ "pipe" ]
       state: signal-router-free
   - type: Construction
     graph: DisposalPipe
     node: signal_router
+    containers:
+    - DisposalSignalRouter
 
 - type: entity
   parent: DisposalSignalRouter