more changes

This commit is contained in:
Timothy Teakettle
2020-07-17 23:23:47 +01:00
parent 0bc16c7a37
commit 93b4570f8d
12 changed files with 73 additions and 21 deletions
+6 -2
View File
@@ -542,8 +542,12 @@ GENETICS SCANNER
render_list += "</span>"
if(render_list == "")
playsound(scanner, 'sound/machines/ping.ogg', 50, FALSE)
to_chat(user, "<span class='notice'>\The [scanner] makes a happy ping and briefly displays a smiley face with several exclamation points! It's really excited to report that [patient] has no wounds!</span>")
if(istype(scanner))
// Only emit the cheerful scanner message if this scan came from a scanner
playsound(scanner, 'sound/machines/ping.ogg', 50, FALSE)
to_chat(user, "<span class='notice'>\The [scanner] makes a happy ping and briefly displays a smiley face with several exclamation points! It's really excited to report that [patient] has no wounds!</span>")
else
to_chat(user, "<span class='notice ml-1'>No wounds detected in subject.</span>")
else
to_chat(user, jointext(render_list, ""))