Initial commit
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
//=================================================
|
||||
//This script was created by Gizmo's Uo Quest Maker
|
||||
//This script was created on 1/6/2020 7:12:32 PM
|
||||
//=================================================
|
||||
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class Kill100EElementals : BaseQuest
|
||||
{
|
||||
//The player will have a delay before they can redo quest again
|
||||
public override TimeSpan RestartDelay { get { return TimeSpan.FromMinutes(1440); } }
|
||||
|
||||
//This is the Quest Title the player sees at the top of the Gump
|
||||
public override object Title{ get{ return "Kill 100 Earth Elementals Daily Quest"; } }
|
||||
//This tells the story of the quest
|
||||
public override object Description { get { return "Hail Adventurer!<BR><BR>Kill 100 Earth Elementals and return to me for your reward!<BR>"; } }
|
||||
//This decides how the npc reacts in text the player refusing the quest
|
||||
public override object Refuse{ get{ return "Awe! scared of few Earth Elementals? Then off with you!"; } }
|
||||
//This is what the npc says when the player returns without completing the objective(s)
|
||||
public override object Uncomplete{ get{ return "You need to kill more elementals!"; } }
|
||||
//This is what the Quest Giver says when the player completes the quest.
|
||||
public override object Complete{ get{ return "Good Job Adventurer! Heres Your Reward!"; } }
|
||||
|
||||
public Kill100EElementals() : base()
|
||||
{
|
||||
//Slay Objective #1
|
||||
AddObjective(new SlayObjective(typeof(EarthElemental),"Earth Elemental",100));
|
||||
|
||||
//AddReward( new BaseReward( typeof( GoldenQuestTicket ), 25, "Daily Golden Quest Ticket" ) );
|
||||
AddReward(new BaseReward(typeof(HeritageSovereign), 100, "Sovereigns"));
|
||||
}
|
||||
|
||||
public override void GiveRewards()
|
||||
{
|
||||
base.GiveRewards();
|
||||
}
|
||||
|
||||
public override bool CanOffer()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
//=================================================
|
||||
//This script was created by Gizmo's Uo Quest Maker
|
||||
//This script was created on 1/6/2020 7:14:32 PM
|
||||
//=================================================
|
||||
using System;
|
||||
using Server;
|
||||
using Server.Items;
|
||||
using Server.Mobiles;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Server.Engines.Quests
|
||||
{
|
||||
public class Omerc : MondainQuester
|
||||
{
|
||||
private List<SBInfo> m_SBInfos = new List<SBInfo>();
|
||||
protected override List<SBInfo> SBInfos{ get { return m_SBInfos; } }
|
||||
public override bool DisallowAllMoves{ get{ return true; } }
|
||||
|
||||
public override Type[] Quests
|
||||
{
|
||||
get{ return new Type[]
|
||||
{
|
||||
typeof( Kill100EElementals )
|
||||
};}
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Omerc() : base("Omerc", "The Elemental Slayer [?]")
|
||||
{
|
||||
new Horse().Rider = this;
|
||||
InitBody();
|
||||
}
|
||||
public Omerc(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();
|
||||
}
|
||||
|
||||
public override void InitBody()
|
||||
{
|
||||
InitStats(100, 100, 100);
|
||||
Female = false;
|
||||
Race = Race.Human;
|
||||
base.InitBody();
|
||||
}
|
||||
public override void InitOutfit()
|
||||
{
|
||||
AddItem( new DragonChest() );
|
||||
AddItem( new DragonArms() );
|
||||
AddItem( new DragonGloves() );
|
||||
AddItem( new DragonLegs() );
|
||||
AddItem( new Cloak() );
|
||||
AddItem( new ThighBoots() );
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user