ID:167929
 
obj/Heads/SlimeTop
icon = 'pics/person.dmi'
icon_state = "SlimeTop"
density = 1
layer = MOB_LAYER+1
Getable = 0
New()
pixel_y = 32

if(ele == "element")
new_mob = new/mob/players/BlueSlime()
new_mob.overlays += new /obj/Heads/SlimeTop/
if(g == "Male")
new_mob.Gender = "Male"
new_mob.Spells.Add("Refresh")

etc...

This works fine and dandy but...

Stat()
statpanel("Stats")
stat(src)
stat(src.overlays)
stat("Element:",Element)

etc...

In the display of their character in the panels below the window they two (head and body) overlap as if they are the same little sqaure thingy.

am i doing somthing wrong? if you can see what the problem is please let me know :D
Pixel offsets have no effect for overlays in the statpanel, so you're stuck with that.

~~> Unknown Person
In response to Unknown Person
O
In response to Newen
So when it assigns teh sprite to the character i had it put that info into two separate vaibles head and body

new_mob = new/mob/players/Newen()
new_mob.overlays += new /obj/Heads/HNewen/
new_mob.head = /obj/Heads/HNewen/
new_mob.body = /mob/players/Newen/


so now later in the stat panel i have...

statpanel("Stats")
stat(new src.head)
stat(new src.body)
stat("Element:",Element)

and when i start up the game thingy it works, the character has his person on teh panel, but theres a small line between the body and the head, as if they the stat() mubo puts a little space between them. Is there a way to fix this? or a different way of assigning the images in the panel so there wont a be a little line?
In response to Newen
Unfortunately, no. I don't think there is a way around this...
In response to XxDohxX
drat, thanks for your comments :D