Four-way pipe junction, swapping junction construction fix (#37092)
* pipe x-junction assets, yml, construction * remove duplicate asset * attribution * x junction instead of junctioncross for utilities.yml
This commit is contained in:
@@ -356,6 +356,7 @@
|
||||
mask:
|
||||
- SubfloorMask
|
||||
- type: Construction
|
||||
graph: DisposalPipe
|
||||
node: junctionflipped
|
||||
containers:
|
||||
- DisposalJunction
|
||||
@@ -400,6 +401,48 @@
|
||||
containers:
|
||||
- DisposalJunction
|
||||
|
||||
- type: entity
|
||||
id: DisposalXJunction
|
||||
parent: DisposalPipeBase
|
||||
name: disposal x-junction
|
||||
description: A four-way junction. The arrow indicates where items exit.
|
||||
components:
|
||||
- type: Sprite
|
||||
layers:
|
||||
- map: [ "pipe" ]
|
||||
state: conpipe-x
|
||||
visible: true
|
||||
- type: DisposalTube
|
||||
containerId: DisposalJunction
|
||||
- type: DisposalJunction
|
||||
degrees:
|
||||
- 0
|
||||
- -90
|
||||
- 180
|
||||
- 90
|
||||
- type: ContainerContainer
|
||||
containers:
|
||||
DisposalJunction: !type:Container
|
||||
- type: GenericVisualizer
|
||||
visuals:
|
||||
enum.DisposalTubeVisuals.VisualState:
|
||||
pipe:
|
||||
Free: { state: conpipe-x }
|
||||
Anchored: { state: pipe-x }
|
||||
- type: Fixtures
|
||||
fixtures:
|
||||
fix1:
|
||||
shape:
|
||||
!type:PhysShapeAabb
|
||||
bounds: "-0.5,-0.5,0.5,0.5"
|
||||
mask:
|
||||
- SubfloorMask
|
||||
- type: Construction
|
||||
graph: DisposalPipe
|
||||
node: xJunction
|
||||
containers:
|
||||
- DisposalJunction
|
||||
|
||||
- type: entity
|
||||
id: DisposalBend
|
||||
parent: DisposalPipeBase
|
||||
|
||||
@@ -46,6 +46,11 @@
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- to: xJunction
|
||||
steps:
|
||||
- material: Steel
|
||||
amount: 2
|
||||
doAfter: 1
|
||||
- to: bend
|
||||
steps:
|
||||
- material: Steel
|
||||
@@ -157,6 +162,22 @@
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- node: yJunction
|
||||
entity: DisposalYJunction
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
- !type:SpawnPrototype
|
||||
prototype: SheetSteel1
|
||||
amount: 2
|
||||
- !type:DeleteEntity
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 1
|
||||
- to: junctionflipped
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- node: junctionflipped
|
||||
entity: DisposalJunctionFlipped
|
||||
edges:
|
||||
@@ -169,12 +190,12 @@
|
||||
steps:
|
||||
- tool: Welding
|
||||
doAfter: 1
|
||||
- to: yJunction
|
||||
- to: xJunction
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- node: yJunction
|
||||
entity: DisposalYJunction
|
||||
- node: xJunction
|
||||
entity: DisposalXJunction
|
||||
edges:
|
||||
- to: start
|
||||
completed:
|
||||
@@ -189,10 +210,7 @@
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
- to: junctionflipped
|
||||
steps:
|
||||
- tool: Screwing
|
||||
doAfter: 1
|
||||
# DisposalBend
|
||||
- node: bend
|
||||
entity: DisposalBend
|
||||
edges:
|
||||
|
||||
@@ -200,6 +200,15 @@
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
|
||||
- type: construction
|
||||
id: DisposalXJunction
|
||||
graph: DisposalPipe
|
||||
startNode: start
|
||||
targetNode: xJunction
|
||||
category: construction-category-utilities
|
||||
placementMode: SnapgridCenter
|
||||
canBuildInImpassable: false
|
||||
|
||||
- type: construction
|
||||
id: DisposalBend
|
||||
graph: DisposalPipe
|
||||
|
||||
BIN
Resources/Textures/Structures/Piping/disposal.rsi/conpipe-x.png
Normal file
BIN
Resources/Textures/Structures/Piping/disposal.rsi/conpipe-x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
@@ -5,7 +5,7 @@
|
||||
"y": 32
|
||||
},
|
||||
"license": "CC-BY-SA-3.0",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/blob/bbe32606902c90f5290b57d905a3f31b84dc6d7d/icons/obj/pipes/disposal.dmi and modified by DrSmugleaf. Signal router sprites based on normal router modified by deltanedas (github). disposal bins by EmoGarbage404 (github)",
|
||||
"copyright": "https://github.com/discordia-space/CEV-Eris/blob/bbe32606902c90f5290b57d905a3f31b84dc6d7d/icons/obj/pipes/disposal.dmi and modified by DrSmugleaf. Signal router sprites based on normal router modified by deltanedas (github). disposal bins by EmoGarbage404 (github). pipe-x pipe-xf, conpipe-x by K-Dynamic (github).",
|
||||
"states": [
|
||||
{
|
||||
"name": "condisposal",
|
||||
@@ -35,6 +35,10 @@
|
||||
"name": "conpipe-j2s",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "conpipe-x",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "conpipe-s",
|
||||
"directions": 4
|
||||
@@ -291,6 +295,14 @@
|
||||
"name": "pipe-j2sf",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "pipe-x",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "pipe-xf",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "pipe-s",
|
||||
"directions": 4
|
||||
@@ -315,10 +327,6 @@
|
||||
"name": "pipe-tf",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "pipe-u",
|
||||
"directions": 4
|
||||
},
|
||||
{
|
||||
"name": "pipe-y",
|
||||
"directions": 4
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 4.0 KiB |
BIN
Resources/Textures/Structures/Piping/disposal.rsi/pipe-x.png
Normal file
BIN
Resources/Textures/Structures/Piping/disposal.rsi/pipe-x.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.4 KiB |
BIN
Resources/Textures/Structures/Piping/disposal.rsi/pipe-xf.png
Normal file
BIN
Resources/Textures/Structures/Piping/disposal.rsi/pipe-xf.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.7 KiB |
Reference in New Issue
Block a user