mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Merge pull request #11095 from Fox-McCloud/new-gas
Adds Unidentified Gas in Deep Space
This commit is contained in:
@@ -1060,6 +1060,16 @@
|
||||
/obj/structure/girder,
|
||||
/turf/simulated/floor/plating/airless,
|
||||
/area/AIsattele)
|
||||
"gw" = (
|
||||
/obj/machinery/atmospherics/unary/portables_connector{
|
||||
dir = 1
|
||||
},
|
||||
/turf/simulated/floor/plating/airless,
|
||||
/area/AIsattele)
|
||||
"AV" = (
|
||||
/obj/machinery/atmospherics/unary/tank/oxygen_agent_b,
|
||||
/turf/simulated/floor/plating/airless,
|
||||
/area/AIsattele)
|
||||
|
||||
(1,1,1) = {"
|
||||
aa
|
||||
@@ -55476,8 +55486,8 @@ aa
|
||||
ay
|
||||
em
|
||||
em
|
||||
er
|
||||
eB
|
||||
AV
|
||||
gw
|
||||
eG
|
||||
em
|
||||
em
|
||||
|
||||
@@ -4065,6 +4065,16 @@
|
||||
/obj/structure/girder,
|
||||
/turf/simulated/floor/plating/airless,
|
||||
/area/AIsattele)
|
||||
"we" = (
|
||||
/obj/machinery/atmospherics/unary/portables_connector{
|
||||
dir = 1
|
||||
},
|
||||
/turf/simulated/floor/plating/airless,
|
||||
/area/AIsattele)
|
||||
"LU" = (
|
||||
/obj/machinery/atmospherics/unary/tank/oxygen_agent_b,
|
||||
/turf/simulated/floor/plating/airless,
|
||||
/area/AIsattele)
|
||||
|
||||
(1,1,1) = {"
|
||||
aa
|
||||
@@ -58481,8 +58491,8 @@ aa
|
||||
aT
|
||||
iF
|
||||
iF
|
||||
iK
|
||||
iT
|
||||
LU
|
||||
we
|
||||
iW
|
||||
iF
|
||||
iF
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
if(!istype(T))
|
||||
return
|
||||
add_underlay(T, node, dir)
|
||||
|
||||
|
||||
/obj/machinery/atmospherics/unary/tank/attackby(obj/item/W, mob/user, params)
|
||||
if(istype(W, /obj/item/analyzer))
|
||||
atmosanalyzer_scan(air_contents, user)
|
||||
@@ -94,4 +94,18 @@
|
||||
trace_gas.moles = (25*ONE_ATMOSPHERE)*(air_contents.volume)/(R_IDEAL_GAS_EQUATION*air_contents.temperature)
|
||||
|
||||
air_contents.trace_gases += trace_gas
|
||||
|
||||
|
||||
/obj/machinery/atmospherics/unary/tank/oxygen_agent_b
|
||||
name = "Unidentified Gas Tank"
|
||||
desc = "A large vessel containing an unknown pressurized gas."
|
||||
icon_state = "agent_b_map"
|
||||
|
||||
/obj/machinery/atmospherics/unary/tank/oxygen_agent_b/New()
|
||||
..()
|
||||
icon_state = "agent_b"
|
||||
air_contents.volume = volume
|
||||
air_contents.temperature = T20C
|
||||
|
||||
var/datum/gas/oxygen_agent_b/trace_gas = new
|
||||
trace_gas.moles = (50 * ONE_ATMOSPHERE) * (air_contents.volume) / (R_IDEAL_GAS_EQUATION * air_contents.temperature)
|
||||
air_contents.trace_gases += trace_gas
|
||||
@@ -117,7 +117,7 @@ What are the archived variables for?
|
||||
|
||||
trace_gas.moles -= reaction_rate*0.05
|
||||
|
||||
temperature -= (reaction_rate*20000)/heat_capacity()
|
||||
temperature += (reaction_rate*20000)/heat_capacity()
|
||||
|
||||
reacting = 1
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user