Misc Synthetic Code Cleanup & Minor Tweaks (#3307)

Mostly synthetic code cleanup, some tweaks to human examine and ID cards too.

changes:

Synthetic sprint procs have been compressed down to one proc for all machine subspecies vs. one per subspecies.
Synthetic sprint now only stuns synthetics with empty cells for 30 seconds for all types.
Refactored synthetic limb roboticization.
Changed how a lot of synthetic/industrial checks work.
ID portraits are now 128x128, and scaled without blurring.
Species can now specify an examine text color (for their species name) that differs from their flesh color.
Fixed some eye checks not respecting species.vision_organ.
Examine pulse-checking now uses do_mob & has a progress bar.
This commit is contained in:
Lohikar
2017-08-29 23:21:29 +03:00
committed by Erki
parent ff3b59f67f
commit c80d893e71
31 changed files with 218 additions and 424 deletions
+8 -4
View File
@@ -17,11 +17,15 @@
if(istype(user, /mob/living/carbon/human))
//Save the users active hand
var/mob/living/carbon/human/H = user
var/obj/item/organ/E = H.internal_organs_by_name["eyes"]
user << "<span class='warning'>You stare deep into the abyss. . . and the abyss stares back.</span>"
var/obj/item/organ/E = H.get_eyes(no_synthetic = TRUE)
if (!E)
user << "<span class='notice'>You stare deep into the abyss... and nothing happens. What a letdown.</span>"
return
user << "<span class='warning'>You stare deep into the abyss... and the abyss stares back.</span>"
sleep(10)
user << "<span class='warning'>Your eyes fill with painful light, and you feel a sharp burning sensation in your head!</span>"
user.show_message("<b>[user]</b> screams in horror!",2)
user << "<span class='warning'>Your [E.name] fill with painful light, and you feel a sharp burning sensation in your head!</span>"
user.custom_emote(2, "screams in horror!")
playsound(user, 'sound/hallucinations/far_noise.ogg', 40, 1)
user.drop_item()
user.visible_message("<span class='danger'>Ashes pour out of [user]'s eye sockets!</span>")