]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Bended radiator (#34251)
authorjustdie12 <125140938+justdie12@users.noreply.github.com>
Sat, 11 Jan 2025 20:03:04 +0000 (23:03 +0300)
committerGitHub <noreply@github.com>
Sat, 11 Jan 2025 20:03:04 +0000 (21:03 +0100)
Resources/Prototypes/Entities/Structures/Piping/Atmospherics/binary.yml
Resources/Prototypes/Recipes/Construction/Graphs/utilities/atmos_binary.yml
Resources/Prototypes/Recipes/Construction/utilities.yml

index 8327937ba8656c4d2fc43386b8b217343bc4d9d5..c8727fab933cdd568a602d269047476ad3ef8313 100644 (file)
     node: radiator
   - type: AtmosMonitoringConsoleDevice
     navMapBlip: Thermoregulator
+
+- type: entity
+  parent: HeatExchanger
+  id: HeatExchangerBend
+  suffix: Bend
+  components:
+    - type: Sprite
+      layers:
+      - sprite: Structures/Piping/Atmospherics/pipe.rsi
+        state: pipeBend
+        map: [ "enum.PipeVisualLayers.Pipe" ]
+      - state: heBend
+        map: [ "enum.SubfloorLayers.FirstLayer" ]
+    - type: NodeContainer
+      nodes:
+        inlet:
+          !type:PipeNode
+          nodeGroupID: Pipe
+          pipeDirection: South
+        outlet:
+          !type:PipeNode
+          nodeGroupID: Pipe
+          pipeDirection: West
+    - type: Construction
+      graph: GasBinary
+      node: bendradiator
index 63ae3249100b52eb0bb11900987f46b12dd8082f..aed91671789fdad5593b72caabe4c663f12deab1 100644 (file)
         amount: 2
         doAfter: 1
 
+    - to: bendradiator
+      steps:
+      - material: Steel
+        amount: 2
+        doAfter: 1
+
   - node: pressurepump
     entity: GasPressurePump
     edges:
         doAfter: 1
       - tool: Welding
         doAfter: 1
+
+  - node: bendradiator
+    entity: HeatExchangerBend
+    edges:
+    - to: start
+      conditions:
+      - !type:EntityAnchored
+        anchored: false
+      completed:
+      - !type:SpawnPrototype
+        prototype: SheetSteel1
+        amount: 2
+      - !type:DeleteEntity
+      steps:
+      - tool: Screwing
+        doAfter: 1
+      - tool: Welding
+        doAfter: 1
index 2dec0e4a7d5ab7eb31c587861c0718be06ddd2f7..92bea76ffdaa6afef4c9fb742a6574ce393a330f 100644 (file)
     sprite: Structures/Piping/Atmospherics/heatexchanger.rsi
     state: heStraight
 
+- type: construction
+  id: HeatExchangerBend
+  name: radiator bend
+  description: Transfers heat between the pipe and its surroundings.
+  graph: GasBinary
+  startNode: start
+  targetNode: bendradiator
+  category: construction-category-utilities
+  placementMode: SnapgridCenter
+  canBuildInImpassable: false
+  icon:
+    sprite: Structures/Piping/Atmospherics/heatexchanger.rsi
+    state: heBend
+
 # ATMOS TRINARY
 - type: construction
   id: GasFilter