mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 21:19:00 +01:00
Expanded ghost gas analyzer (#22914)
* Please don't shoot me this time * Added descriptor * This one actually works, please don't shoot me * Spacing fix * proper documentation
This commit is contained in:
@@ -91,3 +91,12 @@
|
||||
/obj/effect/portal/attack_ghost(mob/user as mob)
|
||||
if(target)
|
||||
user.forceMove(get_turf(target))
|
||||
|
||||
/obj/machinery/atmospherics/attack_ghost(mob/dead/observer/user)
|
||||
if(user.gas_analyzer)
|
||||
if(istype(src, /obj/machinery/atmospherics/pipe))
|
||||
var/obj/machinery/atmospherics/pipe/T = src
|
||||
atmosanalyzer_scan(T.parent.air, user, T)
|
||||
else if(istype(src, /obj/machinery/atmospherics/unary))
|
||||
var/obj/machinery/atmospherics/unary/T = src
|
||||
atmosanalyzer_scan(T.air_contents, user, T)
|
||||
|
||||
Reference in New Issue
Block a user