Remove airtight flaps from the construction menu (#27619)

They are meant to be mapping only items.
This commit is contained in:
Vasilis
2024-05-02 17:49:53 +03:00
committed by GitHub
parent 235091b377
commit a4b0a34bc7
3 changed files with 16 additions and 101 deletions

View File

@@ -1,9 +1,7 @@
- type: entity - type: entity
id: PlasticFlapsClear id: PlasticFlapsBase
parent: BaseStructureDynamic parent: BaseStructureDynamic
name: plastic flaps abstract: true
suffix: Clear
description: Heavy duty, plastic flaps. Definitely can't get past those. No way.
placement: placement:
mode: SnapgridCenter mode: SnapgridCenter
components: components:
@@ -40,15 +38,23 @@
- type: IconSmooth - type: IconSmooth
key: walls key: walls
mode: NoSprite mode: NoSprite
- type: Construction
graph: PlasticFlapsGraph
node: plasticFlaps
- type: StaticPrice - type: StaticPrice
price: 83 price: 83
- type: entity
id: PlasticFlapsClear
parent: PlasticFlapsBase
name: plastic flaps
suffix: Clear
description: Heavy duty, plastic flaps. Definitely can't get past those. No way.
components:
- type: Construction
graph: PlasticFlapsGraph
node: plasticFlaps
- type: entity - type: entity
id: PlasticFlapsOpaque id: PlasticFlapsOpaque
parent: PlasticFlapsClear parent: PlasticFlapsBase
name: plastic flaps name: plastic flaps
suffix: Opaque suffix: Opaque
description: Heavy duty, plastic flaps. Definitely can't get past those. No way. description: Heavy duty, plastic flaps. Definitely can't get past those. No way.
@@ -72,7 +78,7 @@
- type: entity - type: entity
id: PlasticFlapsAirtightClear id: PlasticFlapsAirtightClear
parent: PlasticFlapsClear parent: PlasticFlapsBase
name: airtight plastic flaps 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. description: Heavy duty, slightly stronger, airtight plastic flaps. Definitely can't get past those. No way.
@@ -86,15 +92,12 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: ["Destruction"] acts: ["Destruction"]
- type: Airtight - type: Airtight
- type: Construction
graph: PlasticFlapsGraph
node: airtightFlaps
- type: StaticPrice - type: StaticPrice
price: 100 price: 100
- type: entity - type: entity
id: PlasticFlapsAirtightOpaque id: PlasticFlapsAirtightOpaque
parent: PlasticFlapsOpaque parent: PlasticFlapsBase
name: airtight plastic flaps 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. description: Heavy duty, slightly stronger, airtight plastic flaps. Definitely can't get past those. No way.
@@ -108,8 +111,5 @@
- !type:DoActsBehavior - !type:DoActsBehavior
acts: ["Destruction"] acts: ["Destruction"]
- type: Airtight - type: Airtight
- type: Construction
graph: PlasticFlapsGraph
node: airtightopaqueFlaps
- type: StaticPrice - type: StaticPrice
price: 100 price: 100

View File

@@ -33,16 +33,6 @@
- tool: Welding - tool: Welding
doAfter: 5 doAfter: 5
- to: airtightFlaps
completed:
- !type:SnapToGrid { }
steps:
- material: Plastic
amount: 5
doAfter: 5
- tool: Screwing
doAfter: 5
- node: opaqueFlaps - node: opaqueFlaps
entity: PlasticFlapsOpaque entity: PlasticFlapsOpaque
edges: edges:
@@ -54,44 +44,3 @@
steps: steps:
- tool: Anchoring - tool: Anchoring
doAfter: 10 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

@@ -1625,23 +1625,6 @@
conditions: conditions:
- !type:TileNotBlocked - !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 - type: construction
name: opaque plastic flaps name: opaque plastic flaps
id: PlasticFlapsOpaque id: PlasticFlapsOpaque
@@ -1659,23 +1642,6 @@
conditions: conditions:
- !type:TileNotBlocked - !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 - type: construction
name: bananium clown statue name: bananium clown statue
id: BananiumClownStatue id: BananiumClownStatue