This commit is contained in:
Fluffy
2024-03-27 09:02:06 +00:00
committed by GitHub
parent a6bf5798e4
commit 995dbaf430
27 changed files with 80 additions and 39 deletions
+3 -3
View File
@@ -192,20 +192,20 @@
O.maptext_x = -10
O.maptext_width = 72
O.maptext_height = 32
playsound(C, 'sound/items/goggles_charge.ogg')
playsound(C, 'sound/items/goggles_charge.ogg', 70)
C.visible_message(SPAN_DANGER("[usr] engages the targeting systems, acquiring a lock on the target!"))
if(istype(O, /obj/effect/overmap/visitable/ship))
var/obj/effect/overmap/visitable/ship/S = O
for(var/obj/machinery/computer/ship/SH in S.consoles)
if(istype(SH, /obj/machinery/computer/ship/sensors))
playsound(SH, 'sound/effects/ship_weapons/locked_on.ogg')
playsound(SH, 'sound/effects/ship_weapons/locked_on.ogg', 70)
SH.visible_message(SPAN_DANGER("<font size=4>\The [SH] beeps alarmingly, signaling an enemy lock-on!</font>"))
else
C.targeting = FALSE
/obj/effect/overmap/visitable/proc/detarget(var/obj/effect/overmap/O, var/obj/machinery/computer/C)
if(C)
playsound(C, 'sound/items/rfd_interrupt.ogg')
playsound(C, 'sound/items/rfd_interrupt.ogg', 70)
if(O)
O.cut_overlay(O.targeted_overlay)
O.maptext = null