Add cryogenic gas tanks (#19864)

This commit is contained in:
Kevin Zheng 2023-09-13 19:37:13 -08:00 committed by Debug
parent 3c60ef8b91
commit bce6ae72bd
4 changed files with 90 additions and 0 deletions

View 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 }

View 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.

View File

@ -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:

View File

@ -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