Merge pull request #51806 from coiax/nanite-wounds

Add Wound option to nanite Host Scan program
This commit is contained in:
Jordan Brown
2020-06-25 17:56:27 -04:00
committed by GitHub
2 changed files with 9 additions and 3 deletions
+6 -2
View File
@@ -441,8 +441,12 @@ GENE 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, ""))