mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -23,17 +23,14 @@
|
||||
|
||||
if(istype(I, /obj/item/weapon/evidencebag))
|
||||
to_chat(user, "<span class='notice'>You find putting an evidence bag in another evidence bag to be slightly absurd.</span>")
|
||||
|
||||
return 1 //now this is podracing
|
||||
|
||||
if(I.w_class > 3)
|
||||
to_chat(user, "<span class='notice'>[I] won't fit in [src].</span>")
|
||||
|
||||
return
|
||||
|
||||
if(contents.len)
|
||||
to_chat(user, "<span class='notice'>[src] already has something inside it.</span>")
|
||||
|
||||
return
|
||||
|
||||
if(!isturf(I.loc)) //If it isn't on the floor. Do some checks to see if it's in our hands or a box. Otherwise give up.
|
||||
@@ -81,7 +78,6 @@
|
||||
|
||||
else
|
||||
to_chat(user, "[src] is empty.")
|
||||
|
||||
icon_state = "evidenceobj"
|
||||
return
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
if(log.len && !scanning)
|
||||
scanning = 1
|
||||
to_chat(user, "<span class='notice'>Printing report, please wait...</span>")
|
||||
|
||||
playsound(loc, "sound/goonstation/machines/printer_thermal.ogg", 50, 1)
|
||||
spawn(100)
|
||||
|
||||
@@ -35,14 +34,12 @@
|
||||
M.put_in_hands(P)
|
||||
to_chat(M, "<span class='notice'>Report printed. Log cleared.<span>")
|
||||
|
||||
|
||||
// Clear the logs
|
||||
log = list()
|
||||
scanning = 0
|
||||
else
|
||||
to_chat(user, "<span class='notice'>The scanner has no logs or is in use.</span>")
|
||||
|
||||
|
||||
/obj/item/device/detective_scanner/attack(mob/living/M as mob, mob/user as mob)
|
||||
return
|
||||
|
||||
@@ -65,7 +62,6 @@
|
||||
to_chat(user, "<span class='notice'>You scan \the [A]. The scanner is now analysing the results...</span>")
|
||||
|
||||
|
||||
|
||||
// GATHER INFORMATION
|
||||
|
||||
//Make our lists
|
||||
@@ -157,12 +153,10 @@
|
||||
add_log("<I># No forensic traces found #</I>", 0) // Don't display this to the holder user
|
||||
if(holder)
|
||||
to_chat(holder, "<span class='notice'>Unable to locate any fingerprints, materials, fibers, or blood on \the [target_name]!</span>")
|
||||
|
||||
else
|
||||
if(holder)
|
||||
to_chat(holder, "<span class='notice'>You finish scanning \the [target_name].</span>")
|
||||
|
||||
|
||||
add_log("---------------------------------------------------------", 0)
|
||||
scanning = 0
|
||||
return
|
||||
@@ -172,7 +166,6 @@
|
||||
if(broadcast && ismob(loc))
|
||||
var/mob/M = loc
|
||||
to_chat(M, msg)
|
||||
|
||||
log += " [msg]"
|
||||
else
|
||||
CRASH("[src] \ref[src] is adding a log when it was never put in scanning mode!")
|
||||
|
||||
Reference in New Issue
Block a user