Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
279
Scripts/Mobiles/NPCs/Salaenih.cs
Normal file
279
Scripts/Mobiles/NPCs/Salaenih.cs
Normal file
@@ -0,0 +1,279 @@
|
||||
using System;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class ShakingThingsUpQuest : BaseQuest
|
||||
{
|
||||
public ShakingThingsUpQuest()
|
||||
: base()
|
||||
{
|
||||
this.AddObjective(new SlayObjective(typeof(RedSolenWarrior), "red solen warriors", 10));
|
||||
this.AddObjective(new SlayObjective(typeof(BlackSolenWarrior), "black solen warriors", 10));
|
||||
|
||||
this.AddReward(new BaseReward(typeof(TreasureBag), 1072583));
|
||||
}
|
||||
|
||||
public override bool AllObjectives
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
/* Shaking Things Up */
|
||||
public override object Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073083;
|
||||
}
|
||||
}
|
||||
/* A Solen hive is a fascinating piece of ecology. It's put together like a finely crafted clock. Who knows
|
||||
what happens if you remove something? So let's find out. Exterminate a few of the warriors and I'll make it
|
||||
worth your while. */
|
||||
public override object Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073573;
|
||||
}
|
||||
}
|
||||
/* I hope you'll reconsider. Until then, farwell. */
|
||||
public override object Refuse
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073580;
|
||||
}
|
||||
}
|
||||
/* I don't think you've gotten their attention yet -- you need to kill at least 10 Solen Warriors. */
|
||||
public override object Uncomplete
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073593;
|
||||
}
|
||||
}
|
||||
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 ArachnophobiaQuest : BaseQuest
|
||||
{
|
||||
public ArachnophobiaQuest()
|
||||
: base()
|
||||
{
|
||||
this.AddObjective(new SlayObjective(typeof(GiantBlackWidow), "giant black widows", 12));
|
||||
|
||||
this.AddReward(new BaseReward(typeof(TreasureBag), 1072583));
|
||||
}
|
||||
|
||||
/* Arachnophobia */
|
||||
public override object Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073079;
|
||||
}
|
||||
}
|
||||
/* I've seen them hiding in their webs among the woods. Glassy eyes, spindly legs, poisonous fangs. Monsters,
|
||||
I say! Deadly horrors, these black widows. Someone must exterminate the abominations! If only I could find a
|
||||
worthy hero for such a task, then I could give them this considerable reward. */
|
||||
public override object Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073569;
|
||||
}
|
||||
}
|
||||
/* I hope you'll reconsider. Until then, farwell. */
|
||||
public override object Refuse
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073580;
|
||||
}
|
||||
}
|
||||
/* You've got a good start, but to stop the black-eyed fiends, you need to kill a dozen. */
|
||||
public override object Uncomplete
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073589;
|
||||
}
|
||||
}
|
||||
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 MiniSwampThingQuest : BaseQuest
|
||||
{
|
||||
public MiniSwampThingQuest()
|
||||
: base()
|
||||
{
|
||||
this.AddObjective(new SlayObjective(typeof(Bogling), "boglings", 20));
|
||||
|
||||
this.AddReward(new BaseReward(typeof(TreasureBag), 1072583));
|
||||
}
|
||||
|
||||
/* Mini Swamp Thing */
|
||||
public override object Title
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073072;
|
||||
}
|
||||
}
|
||||
/* Some say killing a boggling brings good luck. I don't place much stock in old wives' tales, but I can say a few
|
||||
dead bogglings would certainly be lucky for me! Help me out and I can reward you for your efforts. */
|
||||
public override object Description
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073562;
|
||||
}
|
||||
}
|
||||
/* I hope you'll reconsider. Until then, farwell. */
|
||||
public override object Refuse
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073580;
|
||||
}
|
||||
}
|
||||
/* Go back and kill all 20 bogglings! */
|
||||
public override object Uncomplete
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073582;
|
||||
}
|
||||
}
|
||||
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 Salaenih : MondainQuester
|
||||
{
|
||||
[Constructable]
|
||||
public Salaenih()
|
||||
: base("Salaenih", "the expeditionist")
|
||||
{
|
||||
this.SetSkill(SkillName.Meditation, 60.0, 83.0);
|
||||
this.SetSkill(SkillName.Focus, 60.0, 83.0);
|
||||
}
|
||||
|
||||
public Salaenih(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override Type[] Quests
|
||||
{
|
||||
get
|
||||
{
|
||||
return new Type[]
|
||||
{
|
||||
typeof(WarriorCasteQuest),
|
||||
typeof(ShakingThingsUpQuest),
|
||||
typeof(ArachnophobiaQuest),
|
||||
typeof(SquishyQuest),
|
||||
typeof(BigJobQuest),
|
||||
typeof(VoraciousPlantsQuest),
|
||||
typeof(SpecimensQuest),
|
||||
typeof(ColdHeartedQuest),
|
||||
typeof(MiniSwampThingQuest),
|
||||
typeof(AnimatedMonstrosityQuest)
|
||||
};
|
||||
}
|
||||
}
|
||||
public override void InitBody()
|
||||
{
|
||||
this.InitStats(100, 100, 25);
|
||||
|
||||
this.Female = true;
|
||||
this.Race = Race.Elf;
|
||||
|
||||
this.Hue = 0x851D;
|
||||
this.HairItemID = 0x2FCD;
|
||||
this.HairHue = 0x324;
|
||||
}
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
this.AddItem(new ElvenBoots());
|
||||
this.AddItem(new WarCleaver());
|
||||
|
||||
Item item;
|
||||
|
||||
item = new WoodlandLegs();
|
||||
item.Hue = 0x1BB;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new WoodlandArms();
|
||||
item.Hue = 0x1BB;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new WoodlandChest();
|
||||
item.Hue = 0x1BB;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new WoodlandBelt();
|
||||
item.Hue = 0x597;
|
||||
this.AddItem(item);
|
||||
|
||||
item = new VultureHelm();
|
||||
item.Hue = 0x1BB;
|
||||
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