Add DefaultName property to Mobiles & Items (#18)

This commit is contained in:
Kamron Batman 2018-08-09 17:18:41 -07:00 committed by GitHub
parent b06f5bf60d
commit 8ee42c8ea2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
713 changed files with 5112 additions and 4987 deletions

View file

@ -16,12 +16,12 @@ namespace Server.Items
set { m_Cut = value; }
}
public override string DefaultName => "a plague beast mutation core";
[Constructible]
public PlagueBeastMutationCore() : base( 0x1CF0 )
{
m_Cut = true;
Name = "a plague beast mutation core";
Weight = 1.0;
Hue = 0x480;
}
@ -36,7 +36,7 @@ namespace Server.Items
Movable = true;
from.AddToBackpack( this );
from.LocalOverheadMessage( MessageType.Regular, 0x34, 1071906 ); // * You remove the plague mutation core from the plague beast, causing it to dissolve into a pile of goo *
from.LocalOverheadMessage( MessageType.Regular, 0x34, 1071906 ); // * You remove the plague mutation core from the plague beast, causing it to dissolve into a pile of goo *
if ( owner != null )
Timer.DelayCall<PlagueBeastLord>( TimeSpan.FromSeconds( 1 ), new TimerStateCallback<PlagueBeastLord>( KillParent ), owner );