mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
tweaks again
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user