numerous fixes for Aquariums

world item, non-osi tool "webstone" added
Aquarium how-to book added
This commit is contained in:
xavier 2011-10-29 07:49:02 +00:00
parent 7d8bbffd5f
commit 216824a9b4
5 changed files with 171 additions and 20 deletions

View file

@ -20,8 +20,7 @@ namespace Server.Items
{
Weight = 1.0;
if ( 0.01 > Utility.RandomDouble() )
Hue = Utility.RandomList( m_Hues );
Hue = ( 0.01 > Utility.RandomDouble() ) ? Utility.RandomList( m_Hues ) : 0x240;
}
public AquariumFishingNet( Serial serial ) : base( serial )
@ -172,6 +171,7 @@ namespace Server.Items
{
if ( !bowl.Deleted && bowl.Empty )
{
fish.StopTimer();
bowl.AddItem( fish );
bowl.InvalidateProperties();
m_Player.SendLocalizedMessage( 1074489 ); // A live creature jumps into the fish bowl in your pack!