Skip to content

Commit

Permalink
Ports & GAGS-ifies gas canisters from Yogstation (tgstation#64678)
Browse files Browse the repository at this point in the history
Ports canister sprites made by Partheo & Tex from Yogstation.
  • Loading branch information
Wallemations authored Feb 6, 2022
1 parent 1a7873f commit d0be066
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/modules/atmospherics/machinery/portable/canister.dm
Original file line number Diff line number Diff line change
Expand Up @@ -403,13 +403,17 @@ GLOBAL_LIST_INIT(gas_id_to_canister, init_gas_id_to_canister())
switch(air_pressure)
if((40 * ONE_ATMOSPHERE) to INFINITY)
. += mutable_appearance(canister_overlay_file, "can-3")
. += emissive_appearance(canister_overlay_file, "can-3-light", alpha = src.alpha)
if((10 * ONE_ATMOSPHERE) to (40 * ONE_ATMOSPHERE))
. += mutable_appearance(canister_overlay_file, "can-2")
. += emissive_appearance(canister_overlay_file, "can-2-light", alpha = src.alpha)
if((5 * ONE_ATMOSPHERE) to (10 * ONE_ATMOSPHERE))
. += mutable_appearance(canister_overlay_file, "can-1")
. += emissive_appearance(canister_overlay_file, "can-1-light", alpha = src.alpha)
if((10) to (5 * ONE_ATMOSPHERE))
. += mutable_appearance(canister_overlay_file, "can-0")

. += emissive_appearance(canister_overlay_file, "can-0-light", alpha = src.alpha)

update_window()

/obj/machinery/portable_atmospherics/canister/update_greyscale()
Expand Down
Binary file modified icons/obj/atmos.dmi
Binary file not shown.
Binary file modified icons/obj/atmospherics/canisters.dmi
Binary file not shown.

0 comments on commit d0be066

Please sign in to comment.