]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Gas recycler tweaks (#39212)
authorMDuch369 <109352266+MDuch369@users.noreply.github.com>
Fri, 24 Oct 2025 00:56:15 +0000 (02:56 +0200)
committerGitHub <noreply@github.com>
Fri, 24 Oct 2025 00:56:15 +0000 (00:56 +0000)
* allows gas recycler to be rotated

* Add Gas Recycler guide .xml

* Add Gas Recycler to engineereing guidebook yaml

* add loc

* add guide help component

* expanded guidebook entry

* recycler now can rotate pipe ports while keeping the rest in the same orientation

* guidebook edits

* added  teg arrows for recycler

* guidebook tweaks

Resources/Locale/en-US/guidebook/guides.ftl
Resources/Prototypes/Entities/Structures/Piping/Atmospherics/binary.yml
Resources/Prototypes/Guidebook/engineering.yml
Resources/ServerInfo/Guidebook/Engineering/GasRecycling.xml [new file with mode: 0644]

index 2990f91d7802953280511ed294240cbc05fa752b..e7558d1e97be12ffeaf0e5c32926ad5dd42a2d65 100644 (file)
@@ -25,6 +25,7 @@ guide-entry-mixingandfiltering = Mixing and Filtering
 guide-entry-gascanisters = Gas Canisters
 guide-entry-thermomachines = Thermomachines
 guide-entry-gascondensing = Gas Condensing
+guide-entry-gasrecycling = Gas Recycling
 guide-entry-radiators = Radiators
 guide-entry-atmosphericssystems = Atmospherics Systems
 guide-entry-pipenetworks = Pipe Networks
index 0ac2d9a35be78ebd16b66a4094adac5b6460308c..15e52a6048831e705325383ad9a57f7bf8cbb6fa 100644 (file)
   components:
   - type: Sprite
     sprite: Structures/Machines/gasrecycler.rsi
+    snapCardinals: true
+    granularLayersRendering: true
     layers:
     - sprite: Structures/Piping/Atmospherics/pipe.rsi
       state: pipeBinaryConnectors
       map: [ "enum.PipeVisualLayers.Pipe" ]
+      renderingStrategy: Default
     - state: running
     - state: unlit
       shader: unshaded
     board: GasRecyclerMachineCircuitboard
   - type: AtmosMonitoringConsoleDevice
     navMapBlip: GasValve
+  - type: Transform
+    noRot: false
+  - type: GuideHelp
+    guides:
+    - GasRecycling
+  - type: TegCirculator
 
 - type: entity
   parent: GasBinaryBase
index 24dc623086fba0e7468a488b58af651aa45201e5..f26d587d0dbc65d909dc5cfa3ff3f085e674f3fa 100644 (file)
@@ -64,6 +64,7 @@
   - GasCanisters
   - Thermomachines
   - GasCondensing
+  - GasRecycling
 
 - type: guideEntry
   id: Pipes
   name: guide-entry-gascondensing
   text: "/ServerInfo/Guidebook/Engineering/GasCondensing.xml"
 
+- type: guideEntry
+  id: GasRecycling
+  name: guide-entry-gasrecycling
+  text: "/ServerInfo/Guidebook/Engineering/GasRecycling.xml"
+
 - type: guideEntry
   id: Radiators
   name: guide-entry-radiators
diff --git a/Resources/ServerInfo/Guidebook/Engineering/GasRecycling.xml b/Resources/ServerInfo/Guidebook/Engineering/GasRecycling.xml
new file mode 100644 (file)
index 0000000..1c9d83e
--- /dev/null
@@ -0,0 +1,25 @@
+<Document>
+  # Gas Recycling
+  Gas recycler is a machine that converts waste gasses into breathable ones.
+
+  <Box>
+    <GuideEntityEmbed Entity="GasRecycler"/>
+  </Box>
+  Specificaly it can recycle Carbon Dioxide and Nitrous Oxide into Oxygen and Nitrogen.
+
+  The machine has a two [textlink="pipenet" link="PipeNetworks"] connections, for gas input and output.
+
+  For recycler to work, tha gas needs to be pressurized to [color=#a4885c]3000 kPa[/color] heated to [color=#a4885c]573,15K[/color], and the pressure at the inlet needs to be higher than outlet.
+  If these conditions are not met, the gases will just pass through without getting recycled (as will unrecyclable gases).
+
+  <Box>
+    <GuideEntityEmbed Entity="GasRecyclerMachineCircuitboard" Caption="Gas recycler circuit board"/>
+  </Box>
+
+  The machine can be constructed using a circuit board, which can be made at a circuit imprinter.
+  It first needs to be researched by [textlink="science" link="Science"] though.
+
+  Gas recycling can be used as an alternative to gas miners, or as a backup to build a redundancy in the atmospheric system.
+  [color=#a4885c]Just don't forget to cool the gas before releasing it into the station![/color]
+
+</Document>