tweaks again

This commit is contained in:
Aurorablade
2017-12-07 21:31:53 -05:00
parent 25fd1858db
commit 58924dee5b
+3 -7
View File
@@ -94,9 +94,6 @@
if(!(M in view(1)))
..()
return
if(!Adjacent(user))
..()
return
if(ishuman(M))
var/mob/living/carbon/human/H = M
var/dye_list = list("hair", "alt. hair theme")
@@ -109,12 +106,11 @@
dye_list += "body"
var/what_to_dye = input(user, "Choose an area to apply the dye", "Dye Application") in dye_list
if(!Adjacent(user))
to_chat(user, "You are too far away!")
return
user.visible_message("<span class='notice'>[user] starts dying [M]'s [what_to_dye]!</span>", "<span class='notice'>You start dying [M]'s [what_to_dye]!</span>")
if(do_after(user, 50, target = H))
if(!Adjacent(H))
to_chat(user, "You are too far away!")
return
switch(what_to_dye)
if("hair")
H.change_hair_color(dye_color)