🦴 Add Wound option to nanite Host Scan program

🆑 coiax
add: The Nanite Host Scan program can now scan the host for wounds.
/🆑

You can scan for two out of the three things a medical scanner can scan
for, why not also determine how broken your leg is?
This commit is contained in:
Jack Edge
2020-06-23 13:37:39 +01:00
parent 0b45f5903c
commit fd51a8a409
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, ""))