mob/Login()
usr.icon='guy.dmi'
usr.icon_state = "guy"
density = 1
switch(input("What hair style would you like?", text) in list ("Mushroom","Spikey","Long","None"))
if("Mushroom")
del usr.hair
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'Hair.dmi'
icon_state = "Mushroom_Hair"
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("Spikey")
del usr.hair
var/hairred = input("How much red do you want to put into your hair?") as num
var/hairblue = input("How much blue do you want to put into your hair?") as num
var/hairgreen = input("How much green do you want to put into your hair?") as num
var/hairover = 'Hair.dmi'
icon_state = "Spikey_Hair"
hairover += rgb(hairred,hairgreen,hairblue)
usr.hair = hairover
usr.overlays += usr.hair
if("None")
del usr.hair
usr.loc=locate(1,1,1)
Its deleting, and i dont want that to happen !_!
and create Overlays() proc
for exmple
mob
proc
Overlays()
usr.overlays = null
usr.overlays += usr.hair
usr.overlays += any other overlays should be added
this will remove all the overlays and re-add them to the player
you will be able to fix overlays more easly that way you might want to add that proc when players login, also XD yeah dont chagne the hair icon state...