405 lines
11 KiB
C#
405 lines
11 KiB
C#
using System;
|
|
using Server.Items;
|
|
|
|
namespace Server.Engines.Quests
|
|
{
|
|
public class ImpressivePlaidQuest : BaseQuest
|
|
{
|
|
public ImpressivePlaidQuest()
|
|
: base()
|
|
{
|
|
this.AddObjective(new ObtainObjective(typeof(Kilt), "kilts", 10, 0x1537));
|
|
|
|
this.AddReward(new BaseReward(typeof(TailorsCraftsmanSatchel), 1074282));
|
|
}
|
|
|
|
/* An Impressive Plaid */
|
|
public override object Title
|
|
{
|
|
get
|
|
{
|
|
return 1074044;
|
|
}
|
|
}
|
|
/* I do not believe humans are so ridiculous as to wear something called a "kilt". Bring for me some of these
|
|
kilts, if they truly exist, and I will offer you meager reward. */
|
|
public override object Description
|
|
{
|
|
get
|
|
{
|
|
return 1074138;
|
|
}
|
|
}
|
|
/* Fine then, I'm shall find another to run my errands then. */
|
|
public override object Refuse
|
|
{
|
|
get
|
|
{
|
|
return 1074063;
|
|
}
|
|
}
|
|
/* Hurry up! I don't have all day to wait for you to bring what I desire! */
|
|
public override object Uncomplete
|
|
{
|
|
get
|
|
{
|
|
return 1074064;
|
|
}
|
|
}
|
|
/* These human made goods are laughable! It offends so -- I must show you what elven skill is capable of! */
|
|
public override object Complete
|
|
{
|
|
get
|
|
{
|
|
return 1074065;
|
|
}
|
|
}
|
|
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 NiceShirtQuest : BaseQuest
|
|
{
|
|
public NiceShirtQuest()
|
|
: base()
|
|
{
|
|
this.AddObjective(new ObtainObjective(typeof(FancyShirt), "fancy shirt", 10, 0x1EFD));
|
|
|
|
this.AddReward(new BaseReward(typeof(TailorsCraftsmanSatchel), 1074282));
|
|
}
|
|
|
|
/* A Nice Shirt */
|
|
public override object Title
|
|
{
|
|
get
|
|
{
|
|
return 1074045;
|
|
}
|
|
}
|
|
/* Humans call that a fancy shirt? I would wager the ends are frayed, the collar worn, the buttons loosely
|
|
stitched. Bring me fancy shirts and I will demonstrate the many ways in which they are inferior. */
|
|
public override object Description
|
|
{
|
|
get
|
|
{
|
|
return 1074139;
|
|
}
|
|
}
|
|
/* Fine then, I'm shall find another to run my errands then. */
|
|
public override object Refuse
|
|
{
|
|
get
|
|
{
|
|
return 1074063;
|
|
}
|
|
}
|
|
/* Hurry up! I don't have all day to wait for you to bring what I desire! */
|
|
public override object Uncomplete
|
|
{
|
|
get
|
|
{
|
|
return 1074064;
|
|
}
|
|
}
|
|
/* These human made goods are laughable! It offends so -- I must show you what elven skill is capable of! */
|
|
public override object Complete
|
|
{
|
|
get
|
|
{
|
|
return 1074065;
|
|
}
|
|
}
|
|
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 LeatherAndLaceQuest : BaseQuest
|
|
{
|
|
public LeatherAndLaceQuest()
|
|
: base()
|
|
{
|
|
this.AddObjective(new ObtainObjective(typeof(StuddedBustierArms), "studded bustiers", 10, 0x1C0C));
|
|
|
|
this.AddReward(new BaseReward(typeof(TailorsCraftsmanSatchel), 1074282));
|
|
}
|
|
|
|
/* Leather and Lace */
|
|
public override object Title
|
|
{
|
|
get
|
|
{
|
|
return 1074047;
|
|
}
|
|
}
|
|
/* No self respecting elf female would ever wear a studded bustier! I will prove it - bring me such clothing and I
|
|
will show you how ridiculous they are! */
|
|
public override object Description
|
|
{
|
|
get
|
|
{
|
|
return 1074141;
|
|
}
|
|
}
|
|
/* Fine then, I'm shall find another to run my errands then. */
|
|
public override object Refuse
|
|
{
|
|
get
|
|
{
|
|
return 1074063;
|
|
}
|
|
}
|
|
/* Hurry up! I don't have all day to wait for you to bring what I desire! */
|
|
public override object Uncomplete
|
|
{
|
|
get
|
|
{
|
|
return 1074064;
|
|
}
|
|
}
|
|
/* These human made goods are laughable! It offends so -- I must show you what elven skill is capable of! */
|
|
public override object Complete
|
|
{
|
|
get
|
|
{
|
|
return 1074065;
|
|
}
|
|
}
|
|
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 FeyHeadgearQuest : BaseQuest
|
|
{
|
|
public FeyHeadgearQuest()
|
|
: base()
|
|
{
|
|
this.AddObjective(new ObtainObjective(typeof(FlowerGarland), "flower garlands", 10, 0x2306));
|
|
|
|
this.AddReward(new BaseReward(typeof(TailorsCraftsmanSatchel), 1074282));
|
|
}
|
|
|
|
/* Fey Headgear */
|
|
public override object Title
|
|
{
|
|
get
|
|
{
|
|
return 1074043;
|
|
}
|
|
}
|
|
/* Humans do not deserve to wear a thing such as a flower garland. Help me prevent such things from falling into the
|
|
clumsy hands of humans -- bring me flower garlands! */
|
|
public override object Description
|
|
{
|
|
get
|
|
{
|
|
return 1074137;
|
|
}
|
|
}
|
|
/* Fine then, I'm shall find another to run my errands then. */
|
|
public override object Refuse
|
|
{
|
|
get
|
|
{
|
|
return 1074063;
|
|
}
|
|
}
|
|
/* Hurry up! I don't have all day to wait for you to bring what I desire! */
|
|
public override object Uncomplete
|
|
{
|
|
get
|
|
{
|
|
return 1074064;
|
|
}
|
|
}
|
|
/* These human made goods are laughable! It offends so -- I must show you what elven skill is capable of! */
|
|
public override object Complete
|
|
{
|
|
get
|
|
{
|
|
return 1074065;
|
|
}
|
|
}
|
|
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 NewCloakQuest : BaseQuest
|
|
{
|
|
public NewCloakQuest()
|
|
: base()
|
|
{
|
|
this.AddObjective(new ObtainObjective(typeof(GrobusFur), "grobu's fur", 1));
|
|
|
|
this.AddReward(new BaseReward(typeof(TailorsCraftsmanSatchel), 1074282));
|
|
}
|
|
|
|
/* New Cloak */
|
|
public override object Title
|
|
{
|
|
get
|
|
{
|
|
return 1074684;
|
|
}
|
|
}
|
|
/* I have created a masterpiece! And all I need to finish it off is the soft fur of a wolf. But not just
|
|
ANY wolf -- oh no, no, that wouldn't do. I've heard tales of a mighty beast, Grobu, who is bonded to the
|
|
leader of the troglodytes. Only Grobu's fur will do. Will you retrieve it for me? */
|
|
public override object Description
|
|
{
|
|
get
|
|
{
|
|
return 1074685;
|
|
}
|
|
}
|
|
/* Perhaps I thought too highly of you. */
|
|
public override object Refuse
|
|
{
|
|
get
|
|
{
|
|
return 1074655;
|
|
}
|
|
}
|
|
/* I've told you all I know of the creature. Until you return with Grobu's fur I can't finish my cloak. */
|
|
public override object Uncomplete
|
|
{
|
|
get
|
|
{
|
|
return 1074686;
|
|
}
|
|
}
|
|
/* Ah! So soft, so supple. What a wonderful texture. Here you are ... my thanks. */
|
|
public override object Complete
|
|
{
|
|
get
|
|
{
|
|
return 1074687;
|
|
}
|
|
}
|
|
public override bool CanOffer()
|
|
{
|
|
return MondainsLegacy.PaintedCaves;
|
|
}
|
|
|
|
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 Tallinin : MondainQuester
|
|
{
|
|
[Constructable]
|
|
public Tallinin()
|
|
: base("Tallinin", "the cloth weaver")
|
|
{
|
|
}
|
|
|
|
public Tallinin(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override Type[] Quests
|
|
{
|
|
get
|
|
{
|
|
return new Type[]
|
|
{
|
|
typeof(ImpressivePlaidQuest),
|
|
typeof(NiceShirtQuest),
|
|
typeof(LeatherAndLaceQuest),
|
|
typeof(FeyHeadgearQuest),
|
|
typeof(ScaleArmorQuest),
|
|
typeof(NewCloakQuest)
|
|
};
|
|
}
|
|
}
|
|
public override void InitBody()
|
|
{
|
|
this.InitStats(100, 100, 25);
|
|
|
|
this.Female = false;
|
|
this.CantWalk = true;
|
|
this.Race = Race.Elf;
|
|
|
|
this.Hue = 0x876C;
|
|
this.HairItemID = 0x2FC0;
|
|
this.HairHue = 0x26B;
|
|
}
|
|
|
|
public override void InitOutfit()
|
|
{
|
|
this.AddItem(new ElvenBoots(0x901));
|
|
this.AddItem(new Tunic(0x62));
|
|
this.AddItem(new Cloak(0x71E));
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|