Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
145
Scripts/Mobiles/NPCs/Kashiel.cs
Normal file
145
Scripts/Mobiles/NPCs/Kashiel.cs
Normal file
@@ -0,0 +1,145 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class ShotAnArrowIntoTheAirQuest : BaseQuest
|
||||
{
|
||||
public ShotAnArrowIntoTheAirQuest()
|
||||
: base()
|
||||
{
|
||||
this.AddObjective(new SlayObjective(typeof(Sheep), "sheep", 10));
|
||||
|
||||
this.AddReward(new BaseReward(typeof(TrinketBag), 1072341)); // A bag of trinkets.
|
||||
}
|
||||
|
||||
/* I Shot an Arrow Into the Air... */
|
||||
public override object Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075486;
|
||||
}
|
||||
}
|
||||
/* Truth be told, the only way to get a feel for the bow is to shoot one and there's no better practice target than a
|
||||
sheep. If ye can shoot ten of them I think ye will have proven yer abilities. Just grab a bow and make sure to take
|
||||
enough ammunition. Bows tend to use arrows and crossbows use bolts. Ye can buy 'em or have someone craft 'em. How
|
||||
about it then? Come back here when ye are done. */
|
||||
public override object Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075482;
|
||||
}
|
||||
}
|
||||
/* Fair enough, the bow isn't for everyone. Good day then. */
|
||||
public override object Refuse
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075483;
|
||||
}
|
||||
}
|
||||
/* Return once ye have killed ten sheep with a bow and not a moment before. */
|
||||
public override object Uncomplete
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075484;
|
||||
}
|
||||
}
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
public class Kashiel : MondainQuester
|
||||
{
|
||||
[Constructable]
|
||||
public Kashiel()
|
||||
: base("Kashiel", "the archer")
|
||||
{
|
||||
}
|
||||
|
||||
public Kashiel(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override Type[] Quests
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Type[]
|
||||
{
|
||||
typeof(ShotAnArrowIntoTheAirQuest)
|
||||
};
|
||||
}
|
||||
}
|
||||
public override void InitBody()
|
||||
{
|
||||
this.InitStats(100, 100, 25);
|
||||
|
||||
this.Female = false;
|
||||
this.CantWalk = true;
|
||||
this.Race = Race.Human;
|
||||
|
||||
this.Hue = 0x83FE;
|
||||
this.HairItemID = 0x2045;
|
||||
this.HairHue = 0x1;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
this.AddItem(new Backpack());
|
||||
this.AddItem(new Boots(0x1BB));
|
||||
|
||||
Item item;
|
||||
|
||||
item = new LeatherLegs();
|
||||
item.Hue = 0x901;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new LeatherGloves();
|
||||
item.Hue = 0x1BB;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new LeatherChest();
|
||||
item.Hue = 0x1BB;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new LeatherArms();
|
||||
item.Hue = 0x901;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new CompositeBow();
|
||||
item.Hue = 0x606;
|
||||
this.AddItem(item);
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user