]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add cryogenic gas tanks (#19864)
authorKevin Zheng <kevinz5000@gmail.com>
Thu, 14 Sep 2023 03:37:13 +0000 (19:37 -0800)
committerGitHub <noreply@github.com>
Thu, 14 Sep 2023 03:37:13 +0000 (19:37 -0800)
Resources/Locale/en-US/prototypes/catalog/cargo/cargo-atmospherics.ftl
Resources/Locale/en-US/prototypes/entities/structures/storage/canisters/gas-canisters.ftl
Resources/Prototypes/Catalog/Cargo/cargo_atmospherics.yml
Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml

index 911f777e28a421c45d029e8a1d5bf3ef3485352c..a8ea5cfb0fd5c3f9477a2209ad9d7f0bb0018238 100644 (file)
@@ -9,3 +9,12 @@ ent-AtmosphericsNitrogen = { ent-NitrogenCanister }
 
 ent-AtmosphericsCarbonDioxide = { ent-CarbonDioxideCanister }
     .desc = { ent-CarbonDioxideCanister.desc }
+
+ent-AtmosphericsLiquidOxygen = { ent-LiquidOxygenCanister }
+    .desc = { ent-LiquidOxygenCanister.desc }
+
+ent-AtmosphericsLiquidNitrogen = { ent-LiquidNitrogenCanister }
+    .desc = { ent-LiquidNitrogenCanister.desc }
+
+ent-AtmosphericsLiquidCarbonDioxide = { ent-LiquidCarbonDioxideCanister }
+    .desc = { ent-LiquidCarbonDioxideCanister.desc }
index d2592c2c33f531167d4d5903803a1e1534527976..43358e3e6cc97980741e46cd6ff79c948449e696 100644 (file)
@@ -10,12 +10,21 @@ ent-AirCanister = Air canister
 ent-OxygenCanister = Oxygen canister
     .desc = A canister that can contain any type of gas. This one is supposed to contain oxygen. It can be attached to connector ports using a wrench.
 
+ent-LiquidOxygenCanister = Liquid oxygen canister
+    .desc = A canister that can contain any type of gas. This one is supposed to contain liquid oxygen. It can be attached to connector ports using a wrench.
+
 ent-NitrogenCanister = Nitrogen canister
     .desc = A canister that can contain any type of gas. This one is supposed to contain nitrogen. It can be attached to connector ports using a wrench.
 
+ent-LiquidNitrogenCanister = Liquid nitrogen canister
+    .desc = A canister that can contain any type of gas. This one is supposed to contain liquid nitrogen. It can be attached to connector ports using a wrench.
+
 ent-CarbonDioxideCanister = Carbon dioxide canister
     .desc = A canister that can contain any type of gas. This one is supposed to contain carbon dioxide. It can be attached to connector ports using a wrench.
 
+ent-LiquidCarbonDioxideCanister = Liquid carbon dioxide canister
+    .desc = A canister that can contain any type of gas. This one is supposed to contain liquid carbon dioxide. It can be attached to connector ports using a wrench.
+
 ent-PlasmaCanister = Plasma canister
     .desc = A canister that can contain any type of gas. This one is supposed to contain plasma. It can be attached to connector ports using a wrench.
 
index a4f6bdd90b5d6a730d293941453b7df29423862a..aad858db2dae77ebbbb23c1eca921256f269b6ef 100644 (file)
   category: Atmospherics
   group: market
 
+- type: cargoProduct
+  id: AtmosphericsLiquidOxygen
+  icon:
+    sprite: Structures/Storage/canister.rsi
+    state: blue
+  product: LiquidOxygenCanister
+  cost: 2500
+  category: Atmospherics
+  group: market
+
 - type: cargoProduct
   id: AtmosphericsNitrogen
   icon:
   category: Atmospherics
   group: market
 
+- type: cargoProduct
+  id: AtmosphericsLiquidNitrogen
+  icon:
+    sprite: Structures/Storage/canister.rsi
+    state: red
+  product: LiquidNitrogenCanister
+  cost: 2500
+  category: Atmospherics
+  group: market
+
 - type: cargoProduct
   id: AtmosphericsCarbonDioxide
   icon:
   category: Atmospherics
   group: market
 
+- type: cargoProduct
+  id: AtmosphericsLiquidCarbonDioxide
+  icon:
+    sprite: Structures/Storage/canister.rsi
+    state: black
+  product: LiquidCarbonDioxideCanister
+  cost: 4000
+  category: Atmospherics
+  group: market
+
 - type: cargoProduct
   id: AtmosphericsStorage
   icon:
index 6d4e7a29a4845e25ad4be293d007a05a9feadf3b..ee726083b67712e1b6ebec7f71148e4094494418 100644 (file)
         acts: [ "Destruction" ]
       - !type:DumpCanisterBehavior
 
+- type: entity
+  id: LiquidOxygenCanister
+  parent: OxygenCanister
+  components:
+  - type: GasCanister
+    gasMixture:
+      volume: 1000
+      moles:
+        - 18710.71051 # oxygen
+      temperature: 72
+  - type: AccessReader
+    access: [["Atmospherics"]]
+
 - type: entity
   parent: GasCanister
   id: NitrogenCanister
           acts: [ "Destruction" ]
         - !type:DumpCanisterBehavior
 
+- type: entity
+  id: LiquidNitrogenCanister
+  parent: NitrogenCanister
+  components:
+  - type: GasCanister
+    gasMixture:
+      volume: 1000
+      moles:
+        - 0 # oxygen
+        - 18710.71051 # nitrogen
+      temperature: 72
+  - type: AccessReader
+    access: [["Atmospherics"]]
+
 - type: entity
   parent: GasCanister
   id: CarbonDioxideCanister
     - type: Lock
       locked: true
 
+- type: entity
+  id: LiquidCarbonDioxideCanister
+  parent: CarbonDioxideCanister
+  components:
+  - type: GasCanister
+    gasMixture:
+      volume: 1000
+      moles:
+        - 0 # oxygen
+        - 0 # nitrogen
+        - 18710.71051 # CO2
+      temperature: 72
+  - type: AccessReader
+    access: [["Atmospherics"]]
+
 - type: entity
   parent: GasCanister
   id: PlasmaCanister