ID:144801
 
Code:
mob/var/hair
mob/var/wearing=0

mob/Login()
usr<<"This game was inspired by the hit Japanese Anime Bouken Ou Beet. Welcome to the Dark Century, where all of this takes place..."
usr.icon='Default Busters.dmi'
usr.icon_state="gender"
var/login = input("Hair Style","Hair Style") in list ("Spikey Style","Short Style","Beet Style")
if(login=="Spikey Style")
var/red = input("How much Red do you want?","Hair Color") as num
var/green = input("How much Green do you want?","Hair Color") as num
var/blue = input("How much Blue do you want?","Hair Color") as num
var/hairer = 'hairs.dmi'
usr.icon_state="Male Spikey"
hairer += rgb(red,green,blue)
usr.hair= hairer
usr.overlays+= usr.hair
if(login=="Short Style")
var/red = input("How much Red do you want?","Hair Color") as num
var/green = input("How much Green do you want?","Hair Color") as num
var/blue = input("How much Blue do you want?","Hair Color") as num
var/hairer = 'hairs.dmi'
usr.icon_state="Male Short"
hairer += rgb(red,green,blue)
usr.hair= hairer
usr.overlays+= usr.hair
if(login=="Beet Style")
var/red = input("How much Red do you want?","Hair Color") as num
var/green = input("How much Green do you want?","Hair Color") as num
var/blue = input("How much Blue do you want?","Hair Color") as num
var/hairer = 'hairs.dmi'
usr.icon_state="Beet"
hairer += rgb(red,green,blue)
usr.hair= hairer
usr.overlays+= usr.hair
usr.Move(locate(1,1,1))


Problem Description:
Heres the problem... I got all the icons loaded and checked, and when I run it, the Base Mob icon won't show up on the map. Only the hair overlays. Can someone help me with this?
Blech... no one wants to help lil ol me? D=
In response to FuzionG
I change the usr to src, and where you had usr.icon_state="(hair icon state)" You were changing the users state not the hair..

mob/Login()
src<<"This game was inspired by the hit Japanese Anime Bouken Ou Beet. Welcome to the Dark Century, where all of this takes place..."
src.icon='Default Busters.dmi'
src.icon_state="gender"
var/login = input("Hair Style","Hair Style") in list ("Spikey Style","Short Style","Beet Style")
if(login=="Spikey Style")
var/red = input("How much Red do you want?","Hair Color") as num
var/green = input("How much Green do you want?","Hair Color") as num
var/blue = input("How much Blue do you want?","Hair Color") as num
var/hairer = 'hairs.dmi'
hairer.icon_state="Male Spikey"
hairer += rgb(red,green,blue)
src.hair=hairer
src.overlays+=src.hair
if(login=="Short Style")
var/red = input("How much Red do you want?","Hair Color") as num
var/green = input("How much Green do you want?","Hair Color") as num
var/blue = input("How much Blue do you want?","Hair Color") as num
var/hairer = 'hairs.dmi'
hairer.icon_state="Male Short"
hairer += rgb(red,green,blue)
src.hair=hairer
src.overlays+=src.hair
if(login=="Beet Style")
var/red = input("How much Red do you want?","Hair Color") as num
var/green = input("How much Green do you want?","Hair Color") as num
var/blue = input("How much Blue do you want?","Hair Color") as num
var/hairer = 'hairs.dmi'
hairer.icon_state="Beet"
hairer += rgb(red,green,blue)
src.hair=hairer
src.overlays+=src.hair
src.Move(locate(1,1,1))
In response to Kore2
Kore2 wrote:
I change the usr to src, and where you had usr.icon_state="(hair icon state)" You were changing the users state not the hair..

mob/Login()
> src<<"This game was inspired by the hit Japanese Anime Bouken Ou Beet. Welcome to the Dark Century, where all of this takes place..."
> src.icon='Default Busters.dmi'
> src.icon_state="gender"
> var/login = input("Hair Style","Hair Style") in list ("Spikey Style","Short Style","Beet Style")
> if(login=="Spikey Style")
> var/red = input("How much Red do you want?","Hair Color") as num
> var/green = input("How much Green do you want?","Hair Color") as num
> var/blue = input("How much Blue do you want?","Hair Color") as num
> var/hairer = 'hairs.dmi'
> hairer.icon_state="Male Spikey"
> hairer += rgb(red,green,blue)
> src.hair=hairer
> src.overlays+=src.hair
> if(login=="Short Style")
> var/red = input("How much Red do you want?","Hair Color") as num
> var/green = input("How much Green do you want?","Hair Color") as num
> var/blue = input("How much Blue do you want?","Hair Color") as num
> var/hairer = 'hairs.dmi'
> hairer.icon_state="Male Short"
> hairer += rgb(red,green,blue)
> src.hair=hairer
> src.overlays+=src.hair
> if(login=="Beet Style")
> var/red = input("How much Red do you want?","Hair Color") as num
> var/green = input("How much Green do you want?","Hair Color") as num
> var/blue = input("How much Blue do you want?","Hair Color") as num
> var/hairer = 'hairs.dmi'
> hairer.icon_state="Beet"
> hairer += rgb(red,green,blue)
> src.hair=hairer
> src.overlays+=src.hair
> src.Move(locate(1,1,1))


What he's saying is you don't have the mob's icon defined, only the icon state.