ID:1277049
 
(See the best response by LordAndrew.)
just to make things shorter, because it seems really messy to type in /obj/hair/messy or whatever is there a way that i can turn it into a name like messy hair usin variables or some bollocks
In code, yes. Using variables or definitions.
but hoooooow
In response to Bumblemore
Best response
You could do:

hair
parent_type = /obj

item
parent_type = /obj

entity
parent_type = /mob

// etc.


Which can shorten the path up to just /hair, /item, and so forth.