Page 1 of 1
Dyetub Reset
Posted: Mon Jan 26, 2009 8:12 am
by Cree A'dor
I think it would be cool if you could double click a dye tub and target the tub to set it's hue back to 0. There is no way of doing this unless you have a GM come and set the hue back for you. Sometimes, you just want a regular colored something or another.

Thanks.
Re: Dyetub Reset
Posted: Wed Feb 04, 2009 6:02 pm
by +Solomon
I have scripted this. I hope that +Colibri will implement it in the server soon to suit the players needs. Enjoy.
Re: Dyetub Reset
Posted: Wed Feb 04, 2009 6:18 pm
by +Colibri
Will be in at server version 36.12
Actual code added:
Code: Select all
if ( item is DyeTub )
{
if ( !item.IsChildOf( from.Backpack ) )
{
from.SendLocalizedMessage( 1042001 ); // That must be in your pack for you to use it.
}
else if ( m_Tub.Redyable )
{
m_Tub.DyedHue = 0;
from.PlaySound( 0x23E );
}
else
{
from.SendMessage( "That dyetub cannot be rehued." );
}
}
else if ( item is IDyable && m_Tub.AllowDyables )
Thank you for research and the idea
