]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Remove airtight flaps from the construction menu (#27619)
authorVasilis <vasilis@pikachu.systems>
Thu, 2 May 2024 14:49:53 +0000 (17:49 +0300)
committerGitHub <noreply@github.com>
Thu, 2 May 2024 14:49:53 +0000 (10:49 -0400)
They are meant to be mapping only items.

Resources/Prototypes/Entities/Structures/plastic_flaps.yml
Resources/Prototypes/Recipes/Construction/Graphs/structures/plastic_flaps.yml
Resources/Prototypes/Recipes/Construction/structures.yml

index 4439c11d6899ca995836cf0e6459b4d47b937326..d418feefff37193344f49a68ca50482db37de71a 100644 (file)
@@ -1,9 +1,7 @@
 - type: entity
-  id: PlasticFlapsClear
+  id: PlasticFlapsBase
   parent: BaseStructureDynamic
-  name: plastic flaps
-  suffix: Clear
-  description: Heavy duty, plastic flaps. Definitely can't get past those. No way.
+  abstract: true
   placement:
     mode: SnapgridCenter
   components:
   - type: IconSmooth
     key: walls
     mode: NoSprite
+  - type: StaticPrice
+    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: StaticPrice
-    price: 83
 
 - type: entity
   id: PlasticFlapsOpaque
-  parent: PlasticFlapsClear
+  parent: PlasticFlapsBase
   name: plastic flaps
   suffix: Opaque
   description: Heavy duty, plastic flaps. Definitely can't get past those. No way.
@@ -72,7 +78,7 @@
 
 - type: entity
   id: PlasticFlapsAirtightClear
-  parent: PlasticFlapsClear
+  parent: PlasticFlapsBase
   name: airtight plastic flaps
   suffix: Airtight, Clear
   description: Heavy duty, slightly stronger, airtight plastic flaps. Definitely can't get past those. No way.
       - !type:DoActsBehavior
         acts: ["Destruction"]
   - type: Airtight
-  - type: Construction
-    graph: PlasticFlapsGraph
-    node: airtightFlaps
   - type: StaticPrice
     price: 100
 
 - type: entity
   id: PlasticFlapsAirtightOpaque
-  parent: PlasticFlapsOpaque
+  parent: PlasticFlapsBase
   name: airtight plastic flaps
   suffix: Airtight, Opaque
   description: Heavy duty, slightly stronger, airtight plastic flaps. Definitely can't get past those. No way.
       - !type:DoActsBehavior
         acts: ["Destruction"]
   - type: Airtight
-  - type: Construction
-    graph: PlasticFlapsGraph
-    node: airtightopaqueFlaps
   - type: StaticPrice
     price: 100
index 776c1491a6333c4db82c68bd9b370dfaa7b15a11..781dd4aa871656fe442c661505dc5717b88bf2fd 100644 (file)
           - 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:
         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
index 46f61807f3fdc9514d3b5509e430b26df7bd3d33..86c0002996025e7b9d9a26d65c210a428092b546 100644 (file)
   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
   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