Adds construction/decon graphs for plastic flaps (#26341)

* Adds construction/decon graphs for plastic flaps

* Dang arbitrage

* undo conflict

---------

Co-authored-by: Velcroboy <velcroboy333@hotmail.com>
This commit is contained in:
Velcroboy
2024-03-30 21:24:38 -05:00
committed by GitHub
parent 9d1d5de4a7
commit 48e5c3cc8d
3 changed files with 138 additions and 3 deletions

View File

@@ -66,12 +66,15 @@
- Opaque
- MidImpassable
- type: Occluder
- type: Construction
graph: PlasticFlapsGraph
node: opaqueFlaps
- type: entity
id: PlasticFlapsAirtightClear
parent: PlasticFlapsClear
name: airtight plastic flaps
suffix: Airtight Clear
suffix: Airtight, Clear
description: Heavy duty, slightly stronger, airtight plastic flaps. Definitely can't get past those. No way.
components:
- type: Destructible
@@ -83,12 +86,17 @@
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Airtight
- type: Construction
graph: PlasticFlapsGraph
node: airtightFlaps
- type: StaticPrice
price: 100
- type: entity
id: PlasticFlapsAirtightOpaque
parent: PlasticFlapsOpaque
name: airtight plastic flaps
suffix: Airtight Opaque
suffix: Airtight, Opaque
description: Heavy duty, slightly stronger, airtight plastic flaps. Definitely can't get past those. No way.
components:
- type: Destructible
@@ -100,3 +108,8 @@
- !type:DoActsBehavior
acts: ["Destruction"]
- type: Airtight
- type: Construction
graph: PlasticFlapsGraph
node: airtightopaqueFlaps
- type: StaticPrice
price: 100

View File

@@ -13,6 +13,7 @@
- material: Plastic
amount: 5
doAfter: 10
- node: plasticFlaps
entity: PlasticFlapsClear
edges:
@@ -24,3 +25,73 @@
steps:
- tool: Anchoring
doAfter: 10
- to: opaqueFlaps
completed:
- !type:SnapToGrid { }
steps:
- tool: Welding
doAfter: 5
- to: airtightFlaps
completed:
- !type:SnapToGrid { }
steps:
- material: Plastic
amount: 5
doAfter: 5
- tool: Screwing
doAfter: 5
- node: opaqueFlaps
entity: PlasticFlapsOpaque
edges:
- to: start
completed:
- !type:SpawnPrototype
prototype: SheetPlastic
amount: 5
steps:
- tool: Anchoring
doAfter: 10
- to: airtightopaqueFlaps
completed:
- !type:SnapToGrid { }
steps:
- material: Plastic
amount: 5
doAfter: 5
- tool: Screwing
doAfter: 5
- node: airtightFlaps
entity: PlasticFlapsAirtightClear
edges:
- to: plasticFlaps
completed:
- !type:SpawnPrototype
prototype: SheetPlastic
amount: 5
steps:
- tool: Screwing
doAfter: 10
- to: airtightopaqueFlaps #test
completed:
- !type:SnapToGrid { }
steps:
- tool: Welding
doAfter: 5
- node: airtightopaqueFlaps
entity: PlasticFlapsAirtightOpaque
edges:
- to: opaqueFlaps
completed:
- !type:SpawnPrototype
prototype: SheetPlastic
amount: 5
steps:
- tool: Screwing
doAfter: 10

View File

@@ -86,7 +86,7 @@
canRotate: false
canBuildInImpassable: false
conditions:
- !type:TileNotBlocked
- !type:TileNotBlocked
- type: construction
name: clock wall
@@ -1590,6 +1590,57 @@
conditions:
- !type:TileNotBlocked
- type: construction
name: airtight plastic flaps
id: PlasticFlapsAirtight
graph: PlasticFlapsGraph
startNode: start
targetNode: airtightFlaps
category: construction-category-structures
placementMode: SnapgridCenter
description: An airtight plastic flap to let items through and keep people out.
objectType: Structure
canBuildInImpassable: false
icon:
sprite: Structures/plastic_flaps.rsi
state: plasticflaps
conditions:
- !type:TileNotBlocked
- type: construction
name: opaque plastic flaps
id: PlasticFlapsOpaque
graph: PlasticFlapsGraph
startNode: start
targetNode: opaqueFlaps
category: construction-category-structures
placementMode: SnapgridCenter
description: An opaque plastic flap to let items through and keep people out.
objectType: Structure
canBuildInImpassable: false
icon:
sprite: Structures/plastic_flaps.rsi
state: plasticflaps
conditions:
- !type:TileNotBlocked
- type: construction
name: airtight opaque plastic flaps
id: PlasticFlapsAirtightOpaque
graph: PlasticFlapsGraph
startNode: start
targetNode: airtightopaqueFlaps
category: construction-category-structures
placementMode: SnapgridCenter
description: An opaque, airtight plastic flap to let items through and keep people out.
objectType: Structure
canBuildInImpassable: false
icon:
sprite: Structures/plastic_flaps.rsi
state: plasticflaps
conditions:
- !type:TileNotBlocked
- type: construction
name: bananium clown statue
id: BananiumClownStatue