This commit is contained in:
commit
47711d616e
2644 changed files with 479454 additions and 0 deletions
49
Scripts/Mobiles/Vendors/NPC/Rancher.cs
Normal file
49
Scripts/Mobiles/Vendors/NPC/Rancher.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using Server;
|
||||
using Server.Gumps;
|
||||
using Server.Items;
|
||||
using Server.Network;
|
||||
using Server.Targeting;
|
||||
using Server.ContextMenus;
|
||||
|
||||
namespace Server.Mobiles
|
||||
{
|
||||
public class Rancher : BaseVendor
|
||||
{
|
||||
private ArrayList m_SBInfos = new ArrayList();
|
||||
protected override ArrayList SBInfos{ get { return m_SBInfos; } }
|
||||
|
||||
[Constructable]
|
||||
public Rancher() : base( "the rancher" )
|
||||
{
|
||||
SetSkill( SkillName.AnimalLore, 55.0, 78.0 );
|
||||
SetSkill( SkillName.AnimalTaming, 55.0, 78.0 );
|
||||
SetSkill( SkillName.Herding, 64.0, 100.0 );
|
||||
SetSkill( SkillName.Veterinary, 60.0, 83.0 );
|
||||
}
|
||||
|
||||
public override void InitSBInfo()
|
||||
{
|
||||
m_SBInfos.Add( new SBRancher() );
|
||||
}
|
||||
|
||||
public Rancher( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
|
||||
writer.Write( (int) 0 ); // version
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
|
||||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue