Summary:
This is a Modified BaseVendor.cs that will allow all your vendor's to say random things when a player bumps into them....I set it for 15 second speech delay to reduce spam...Just a little idea to add life to a shard =]
Description:
***Can edit what they say***
Code:
string[] kfcsay = new string[]
{
"Come see my stuff!!!",
"Best prices in the lands!!!",
etc...etc...etc...
***Can edit what range they respond at***
Code:
public override void OnMovement( Mobile m, Point3D oldLocation )
{
if( m_Talked == false )
{
if ( m.InRange( this, 1 ) )
***Can edit there speech delay***
Code:
private class SpamTimer : Timer
{
public SpamTimer() : base( TimeSpan.FromSeconds( 15 ) )
Installation:
Just replace the distro BaseVendor.cs with one attached...Enjoy!!!