This commit is contained in:
AffectedArc07
2020-05-23 18:58:40 +01:00
parent 5eafd48525
commit a943dc45c1
@@ -121,6 +121,9 @@
return
if(!robohead.is_monitor) //If they've got a prosthetic head and it isn't a monitor, they've no screen to adjust. Instead, let them change the colour of their optics!
var/optic_colour = input(H, "Select optic colour", H.m_colours["head"]) as color|null
if(H.incapacitated(TRUE, TRUE, TRUE, use_default_checks=FALSE))
to_chat(H, "<span class='warning'>You were interrupted while changing the colour of your optics.</span>")
return
if(optic_colour)
H.change_markings(optic_colour, "head")
@@ -146,6 +149,10 @@
var/new_style = input(H, "Select a monitor display", "Monitor Display", head_organ.h_style) as null|anything in hair
var/new_color = input("Please select hair color.", "Monitor Color", head_organ.hair_colour) as null|color
if(H.incapacitated(TRUE, TRUE, TRUE, use_default_checks=FALSE))
to_chat(H, "<span class='warning'>You were interrupted while changing your monitor display.</span>")
return
if(new_style)
H.change_hair(new_style, 1) // The 1 is to enable custom sprites
if(new_color)