
Dyetub Reset
- Cree A'dor
- Journeyman Scribe
- Posts: 29
- Joined: Thu Jan 01, 2009 10:51 pm
Dyetub Reset
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
I have scripted this. I hope that +Colibri will implement it in the server soon to suit the players needs. Enjoy.
Re: Dyetub Reset
Will be in at server version 36.12
Actual code added:
Thank you for research and the idea 
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 )

+Colibri, Administrator of UO Excelsior Shard
Don't know what the purpose of your life is? Well then make something up!
(Old Colibrian proverb)
Don't know what the purpose of your life is? Well then make something up!

(Old Colibrian proverb)