Hair help.

Screw up game balance and fix bugs by creating more bugs. Now you too can join the discussion. This is where the magic happens. Sometimes actual magic.

Hair help.

Postby antsnap2 » Wed Feb 10, 2016 12:21 pm

Howdy,

I'm working on implementing the slime people race. Anyone know where in the code hairstyles are handled? Only option available right now is bald for the new race. Skeleton custom race likely has the same issue (although probably intentional for them).

I know it's not in station.dm, where new races are declared.

EDIT: Found it. It's in module\mob\new_player\sprite_accessories.dm . This file allows you to add species to hair/whatever allowed lists.

Make sure to add an entry for them in in module\mod\living\carbon\human\species\station\station.dm and in \carbon\human\human_species.dm first though.
Antsy Coder. Characters: Muffy (drider), Jaslene (naga), Susan (slime), Miki (oni), Alythess (Demon)
User avatar
antsnap2
 
Posts: 97
Joined: Mon Oct 12, 2015 2:25 pm

Re: Hair help.

Postby orbisa » Wed Feb 10, 2016 4:56 pm

Check this commit..

https://github.com/SpadesNeil/VOREstati ... 3cec019cb7

the file is: code/modules/mob/new_player/sprite_accessories.dm
RetiredEnslaved Coder
User avatar
orbisa
 
Posts: 300
Joined: Thu Aug 06, 2015 5:48 pm


Return to Coding

Who is online

Users browsing this forum: No registered users and 2 guests

cron