From: Kevin Zheng Date: Thu, 14 Sep 2023 03:37:13 +0000 (-0800) Subject: Add cryogenic gas tanks (#19864) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=e54a62bca924b3350b7fc6cc56411f79f334b249;p=space-station-14.git Add cryogenic gas tanks (#19864) --- diff --git a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-atmospherics.ftl b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-atmospherics.ftl index 911f777e28..a8ea5cfb0f 100644 --- a/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-atmospherics.ftl +++ b/Resources/Locale/en-US/prototypes/catalog/cargo/cargo-atmospherics.ftl @@ -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 } diff --git a/Resources/Locale/en-US/prototypes/entities/structures/storage/canisters/gas-canisters.ftl b/Resources/Locale/en-US/prototypes/entities/structures/storage/canisters/gas-canisters.ftl index d2592c2c33..43358e3e6c 100644 --- a/Resources/Locale/en-US/prototypes/entities/structures/storage/canisters/gas-canisters.ftl +++ b/Resources/Locale/en-US/prototypes/entities/structures/storage/canisters/gas-canisters.ftl @@ -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. diff --git a/Resources/Prototypes/Catalog/Cargo/cargo_atmospherics.yml b/Resources/Prototypes/Catalog/Cargo/cargo_atmospherics.yml index a4f6bdd90b..aad858db2d 100644 --- a/Resources/Prototypes/Catalog/Cargo/cargo_atmospherics.yml +++ b/Resources/Prototypes/Catalog/Cargo/cargo_atmospherics.yml @@ -18,6 +18,16 @@ 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: @@ -28,6 +38,16 @@ 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: @@ -38,6 +58,16 @@ 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: diff --git a/Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml b/Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml index 6d4e7a29a4..ee726083b6 100644 --- a/Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml +++ b/Resources/Prototypes/Entities/Structures/Storage/Canisters/gas_canisters.yml @@ -219,6 +219,19 @@ 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 @@ -257,6 +270,20 @@ 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 @@ -298,6 +325,21 @@ - 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