SphereServer BugTracker - SphereServer
View Issue Details
0001726SphereServerexecutable - genericpublic28-02-10 07:4924-03-13 21:00
Coruja 
RanXerox 
normalminorhave not tried
resolvedfixed 
 
 
09-09-2008
None
None
0001726: Beard color reseting on vendor sell
If you buy some hair on a npc barber, the new hair will come in the same color of the old char hair.
But if you buy a new beard on the same barber npc, the item always will come in gray color (color=0)
No tags attached.
Issue History
28-02-10 07:49CorujaNew Issue
28-02-10 07:49CorujaNightly Version => 09-09-2008
28-02-10 07:49CorujaExperimental Flags => None
28-02-10 07:49CorujaOption Flags => None
24-03-13 21:00RanXeroxNote Added: 0001525
24-03-13 21:00RanXeroxStatusnew => resolved
24-03-13 21:00RanXeroxResolutionopen => fixed
24-03-13 21:00RanXeroxAssigned To => RanXerox

Notes
(0001525)
RanXerox   
24-03-13 21:00   
There are numerous solutions to this, here are a couple:

The default script pack doesn't have a barber that sells these items so I presume it is something you decided to do.

If you want to sell those items from vendors, then edit the ITEMDEF for all the hair and beard items and add an @Equip trigger to set the color based on what color the player already has in their current hair or beard...

Alternatively, don't sell i_hair or i_beard items directly (instead, barbers could have a custom dialog for players to choose style and color.)