Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
168
Scripts/Mobiles/NPCs/Asandos.cs
Normal file
168
Scripts/Mobiles/NPCs/Asandos.cs
Normal file
@@ -0,0 +1,168 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class BakersDozenQuest : BaseQuest
|
||||
{
|
||||
public BakersDozenQuest()
|
||||
: base()
|
||||
{
|
||||
this.AddObjective(new ObtainObjective(typeof(CookieMix), "cookie mix", 5, 0x103F));
|
||||
|
||||
this.AddReward(new BaseReward(typeof(ChefsSatchel), 1074282)); // Craftsman's Satchel
|
||||
}
|
||||
|
||||
/* Baker's Dozen */
|
||||
public override object Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075478;
|
||||
}
|
||||
}
|
||||
/* You there! Do you know much about the ways of cooking? If you help me out, I'll show you a thing or two about
|
||||
how it's done. Bring me some cookie mix, about 5 batches will do it, and I will reward you. Although, I don't
|
||||
think you can buy it, you can make some in a snap! First get a rolling pin or frying pan or even a flour sifter.
|
||||
Then you mix one pinch of flour with some water and you've got some dough! Take that dough and add one dollop of
|
||||
honey and you've got sweet dough. add one more drop of honey and you've got cookie mix. See? Nothing to it! Now
|
||||
get to work! */
|
||||
public override object Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075479;
|
||||
}
|
||||
}
|
||||
/* Argh, I absolutely must have more of these 'cookies!' Come back if you change your mind. */
|
||||
public override object Refuse
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075480;
|
||||
}
|
||||
}
|
||||
/* You're not quite done yet. Get back to work! */
|
||||
public override object Uncomplete
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1072271;
|
||||
}
|
||||
}
|
||||
/* Thank you! I haven't been this excited about food in months! */
|
||||
public override object Complete
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1075481;
|
||||
}
|
||||
}
|
||||
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 Asandos : MondainQuester
|
||||
{
|
||||
[Constructable]
|
||||
public Asandos()
|
||||
: base("Asandos", "the chef")
|
||||
{
|
||||
}
|
||||
|
||||
public Asandos(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override Type[] Quests
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Type[]
|
||||
{
|
||||
typeof(BakersDozenQuest)
|
||||
};
|
||||
}
|
||||
}
|
||||
public override void InitBody()
|
||||
{
|
||||
this.InitStats(100, 100, 25);
|
||||
|
||||
this.Female = false;
|
||||
this.CantWalk = true;
|
||||
this.Race = Race.Human;
|
||||
|
||||
this.Hue = 0x83FF;
|
||||
this.HairItemID = 0x2044;
|
||||
this.HairHue = 0x1;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
this.AddItem(new Backpack());
|
||||
this.AddItem(new Boots(0x901));
|
||||
this.AddItem(new ShortPants());
|
||||
this.AddItem(new Shirt());
|
||||
this.AddItem(new Cap());
|
||||
this.AddItem(new HalfApron(0x28));
|
||||
}
|
||||
|
||||
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 ChefsSatchel : Backpack
|
||||
{
|
||||
[Constructable]
|
||||
public ChefsSatchel()
|
||||
: base()
|
||||
{
|
||||
this.Hue = BaseReward.SatchelHue();
|
||||
|
||||
this.AddItem(new SackFlour());
|
||||
this.AddItem(new Skillet());
|
||||
}
|
||||
|
||||
public ChefsSatchel(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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user