mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 02:16:05 +00:00
ez (#37529)
This commit is contained in:
@@ -86,6 +86,12 @@
|
||||
canister_color = "green"
|
||||
can_label = 0
|
||||
|
||||
/obj/machinery/portable_atmospherics/canister/cryotheum // see above
|
||||
name = "Canister \[O2<4F>\]"
|
||||
icon_state = "cyan"
|
||||
canister_color = "cyan"
|
||||
can_label = 0
|
||||
|
||||
/obj/machinery/portable_atmospherics/canister/update_icon()
|
||||
if(destroyed)
|
||||
icon_state = "[canister_color]-1"
|
||||
@@ -406,6 +412,7 @@
|
||||
"\[Air\]" = "grey", \
|
||||
"\[CAUTION\]" = "yellow", \
|
||||
"\[Rn\]" = "green", \
|
||||
"\[O2<4F>\]" = "cyan", \
|
||||
)
|
||||
var/label = input("Choose canister label", "Gas canister") as null|anything in colors
|
||||
if (label)
|
||||
@@ -459,6 +466,12 @@
|
||||
air_contents.adjust_gas(GAS_RADON, (maximum_pressure * filled) * air_contents.volume / (R_IDEAL_GAS_EQUATION * air_contents.temperature))
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/portable_atmospherics/canister/cryotheum/New(loc)
|
||||
..(loc)
|
||||
air_contents.adjust_gas(GAS_CRYOTHEUM, (maximum_pressure * filled) * air_contents.volume / (R_IDEAL_GAS_EQUATION * air_contents.temperature))
|
||||
update_icon()
|
||||
|
||||
|
||||
/obj/machinery/portable_atmospherics/canister/proc/weld(var/obj/item/tool/weldingtool/WT, var/mob/user)
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 36 KiB |
Reference in New Issue
Block a user