mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
sfad (#18021)
This commit is contained in:
@@ -128,7 +128,7 @@
|
||||
QDEL_IN(record, 2 SECOND) // Need to restart the search if you've lost contact with the object.
|
||||
if(contact.scannable) // Scannable objects are the only ones that give off notifications to prevent spam
|
||||
visible_message(SPAN_NOTICE("\The [src] states, \"Contact lost with [record.name].\""))
|
||||
playsound(loc, "sound/machines/sensors/contact_lost.ogg", 30, 1)
|
||||
playsound(loc, 'sound/machines/sensors/contact_lost.ogg', 30, 1)
|
||||
objects_in_view -= contact
|
||||
continue
|
||||
|
||||
@@ -152,12 +152,12 @@
|
||||
objects_in_view[contact] += round(sensors.sensor_strength**2)
|
||||
if(!muted)
|
||||
visible_message(SPAN_NOTICE("<b>\The [src]</b> states, \"Contact '[contact.unknown_id]' tracing [objects_in_view[contact]]% complete, bearing [bearing_estimate], error +/- [bearing_variability].\""))
|
||||
playsound(loc, "sound/machines/sensors/contactgeneric.ogg", 10, 1) //Let players know there's something nearby.
|
||||
playsound(loc, 'sound/machines/sensors/contactgeneric.ogg', 10, 1) //Let players know there's something nearby.
|
||||
if(objects_in_view[contact] >= 100) // Identification complete.
|
||||
record = new /datum/overmap_contact(src, contact)
|
||||
contact_datums[contact] = record
|
||||
if(contact.scannable)
|
||||
playsound(loc, "sound/machines/sensors/newcontact.ogg", 30, 1)
|
||||
playsound(loc, 'sound/machines/sensors/newcontact.ogg', 30, 1)
|
||||
visible_message(SPAN_NOTICE("<b>\The [src]</b> states, \"New contact identified, designation [record.name], bearing [bearing].\""))
|
||||
record.show()
|
||||
animate(record.marker, alpha=255, 2 SECOND, 1, LINEAR_EASING)
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
contact_details = null
|
||||
if("print")
|
||||
if(contact_details)
|
||||
playsound(loc, "sound/machines/dotprinter.ogg", 30, 1)
|
||||
playsound(loc, 'sound/machines/dotprinter.ogg', 30, 1)
|
||||
new/obj/item/paper/(get_turf(src), contact_details, "paper (Sensor Scan - [contact_name])")
|
||||
return TRUE
|
||||
|
||||
@@ -321,7 +321,7 @@
|
||||
var/obj/effect/overmap/O = locate(params["scan"])
|
||||
if(istype(O) && !QDELETED(O))
|
||||
if((O in view(7,linked))|| (O in contact_datums))
|
||||
playsound(loc, "sound/machines/dotprinter.ogg", 30, 1)
|
||||
playsound(loc, 'sound/machines/dotprinter.ogg', 30, 1)
|
||||
LAZYSET(last_scan, "data", O.get_scan_data(usr))
|
||||
LAZYSET(last_scan, "location", "[O.x],[O.y]")
|
||||
LAZYSET(last_scan, "name", "[O]")
|
||||
|
||||
Reference in New Issue
Block a user