mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-30 15:38:02 +01:00
QoL stuffs (#19285)
This commit is contained in:
@@ -120,18 +120,17 @@
|
||||
return
|
||||
|
||||
/obj/effect/anomaly/attackby(obj/item/I, mob/user)
|
||||
if(istype(I, /obj/item/analyzer))
|
||||
if(istype(I, /obj/item/analyzer) || (istype(I, /obj/item/anomaly_scanner) && !stats))
|
||||
if(anomaly_core)
|
||||
to_chat(user, span_notice("Analyzing... [src]'s stabilized field is fluctuating along frequency [format_frequency(anomaly_core.frequency)], code [anomaly_core.code]."))
|
||||
return TRUE
|
||||
if(istype(I, /obj/item/anomaly_scanner))
|
||||
if(istype(I, /obj/item/anomaly_scanner) && stats)
|
||||
var/obj/item/anomaly_scanner/scanner = I
|
||||
if(stats)
|
||||
if(!do_after(user, 1 SECOND, src))
|
||||
return
|
||||
scanner.buffered_anomaly = WEAKREF(src)
|
||||
scanner.tgui_interact(user)
|
||||
return TRUE
|
||||
if(!do_after(user, 1 SECOND, src))
|
||||
return
|
||||
scanner.buffered_anomaly = WEAKREF(src)
|
||||
scanner.tgui_interact(user)
|
||||
return TRUE
|
||||
return ..()
|
||||
|
||||
/obj/effect/anomaly/bullet_act(obj/item/projectile/proj)
|
||||
|
||||
Reference in New Issue
Block a user