This commit is contained in:
Fluffy
2023-12-24 11:18:41 +00:00
committed by GitHub
parent 5f9e01fd27
commit 51a96cb43e
19 changed files with 88 additions and 38 deletions
@@ -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]")